.eslintrc.json
32 lines
| 896 B
| application/json
|
JsonLexer
|
|
r0 | { | ||
|
|
r1 | "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", | ||||
|
|
r0 | "parserOptions": { | ||
| "ecmaFeatures": { | ||||
| "jsx": true | ||||
| }, | ||||
|
|
r1 | "ecmaVersion": 5, | ||
| "tsconfigRootDir": "src", | ||||
| "project": ["tsconfig.eslint.json", "*/tsconfig.json"] | ||||
|
|
r0 | }, | ||
|
|
r1 | "plugins": [ | ||
| "@typescript-eslint" | ||||
| ], | ||||
|
|
r0 | "rules": { | ||
|
|
r1 | "@typescript-eslint/no-empty-function": "off", | ||
| "max-classes-per-file": [ | ||||
| "error", | ||||
| { "ignoreExpressions": true, "max": 1 } | ||||
| ], | ||||
| "@typescript-eslint/prefer-readonly": ["error"], | ||||
| "@typescript-eslint/semi": ["error"] | ||||
|
|
r0 | } | ||
|
|
r1 | } | ||
