.eslintrc.json
33 lines
| 919 B
| application/json
|
JsonLexer
/ playground / .eslintrc.json
cin
|
r107 | { | ||
"root": true, | ||||
"extends": [ | ||||
"plugin:react/recommended", | ||||
"eslint:recommended", | ||||
"plugin:@typescript-eslint/eslint-recommended", | ||||
"plugin:@typescript-eslint/recommended", | ||||
"plugin:@typescript-eslint/recommended-requiring-type-checking" | ||||
], | ||||
"parser": "@typescript-eslint/parser", | ||||
"parserOptions": { | ||||
"ecmaFeatures": { | ||||
"jsx": true | ||||
}, | ||||
"ecmaVersion": 5, | ||||
"tsconfigRootDir": "src", | ||||
"project": ["tsconfig.eslint.json", "*/tsconfig.json"] | ||||
}, | ||||
"plugins": [ | ||||
"@typescript-eslint" | ||||
], | ||||
"rules": { | ||||
"@typescript-eslint/no-empty-function": "off", | ||||
"max-classes-per-file": [ | ||||
"error", | ||||
{ "ignoreExpressions": true, "max": 1 } | ||||
], | ||||
"@typescript-eslint/prefer-readonly": ["error"], | ||||
"semi": "off", | ||||
"@typescript-eslint/semi": ["error"] | ||||
} | ||||
} | ||||