mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
c60254aca1
Update core libraries.
36 lines
954 B
JSON
36 lines
954 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"prettier",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"ignorePatterns": [
|
|
"**/packages/mindplot/**/*",
|
|
"**/dist/**/*"
|
|
],
|
|
"plugins": [
|
|
"react",
|
|
"@typescript-eslint",
|
|
"react-hooks"
|
|
],
|
|
"rules": {
|
|
"@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
|
|
}
|
|
} |