ConceptPortal-public/rsconcept/frontend/.eslintrc.json
2023-09-21 14:58:01 +03:00

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"
}
}