2021-06-21 17:34:01 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module",
|
|
|
|
"modules": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"prettier",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react-hooks/recommended"
|
|
|
|
],
|
|
|
|
"plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
|
|
|
|
"rules": {
|
|
|
|
"prettier/prettier": ["error"],
|
2021-06-22 14:08:48 +00:00
|
|
|
"@typescript-eslint/no-unused-vars": "error",
|
2021-06-24 22:15:18 +00:00
|
|
|
"react/react-in-jsx-scope": "off",
|
2021-08-16 16:07:26 +00:00
|
|
|
"react/prop-types": "off",
|
2021-08-16 16:08:31 +00:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
2021-09-18 17:25:56 +00:00
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
2021-06-21 17:34:01 +00:00
|
|
|
},
|
2021-09-02 16:41:15 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
2021-10-13 13:26:56 +00:00
|
|
|
"files": ["playwright/**/*.{js,jsx,tsx,ts}"],
|
2021-09-02 16:41:15 +00:00
|
|
|
"rules": {
|
2021-10-13 13:26:56 +00:00
|
|
|
"no-undef": "off",
|
2021-10-18 21:07:06 +00:00
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-implicit-any": "off"
|
2021-09-02 16:41:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2021-06-21 17:34:01 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2021-06-24 22:15:18 +00:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2021-06-21 17:34:01 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|