mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
31 lines
757 B
JSON
31 lines
757 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended-type-checked",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": ["tsconfig.json", "tsconfig.node.json"]
|
|
},
|
|
"plugins": [
|
|
"react-refresh",
|
|
"simple-import-sort",
|
|
"eslint-plugin-tsdoc"
|
|
],
|
|
"rules": {
|
|
"react-refresh/only-export-components": [
|
|
"off",
|
|
{ "allowConstantExport": true }
|
|
],
|
|
"simple-import-sort/imports": "warn",
|
|
"tsdoc/syntax": "warn"
|
|
}
|
|
}
|