forked from ci4s/knowlegegraph-studio
33 lines
958 B
Plaintext
33 lines
958 B
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react-refresh"
|
|
],
|
|
"rules": {
|
|
"no-control-regex": "off",
|
|
"no-useless-escape": "warn",
|
|
"no-prototype-builtins": "warn",
|
|
"react-refresh/only-export-components": "warn",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true }],
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-unnecessary-type-constraint": "warn",
|
|
"@typescript-eslint/ban-types": "warn",
|
|
"@typescript-eslint/consistent-type-definitions": "warn",
|
|
"react-hooks/exhaustive-deps": "off"
|
|
}
|
|
} |