wisemapping-frontend/packages/webapp/.eslintrc.json

36 lines
954 B
JSON
Raw Normal View History

2021-10-03 19:49:20 +02:00
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"prettier",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
2021-10-03 19:49:20 +02:00
],
"parser": "@typescript-eslint/parser",
2021-10-03 19:49:20 +02:00
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
2021-10-03 19:49:20 +02:00
},
2022-01-31 01:05:22 +01:00
"ignorePatterns": [
"**/packages/mindplot/**/*",
"**/dist/**/*"
],
"plugins": [
"react",
"@typescript-eslint",
"react-hooks"
],
2021-10-03 19:49:20 +02:00
"rules": {
2022-01-31 01:05:22 +01:00
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-unused-vars": "error",
"react-hooks/rules-of-hooks": "warn" // Checks rules of Hooks
// "react-hooks/exhaustive-deps": "warn" // Checks effect dependencies
2021-10-03 19:49:20 +02:00
}
2022-01-31 01:05:22 +01:00
}