-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
27 lines (27 loc) · 891 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended"],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/no-empty-function": "warn",
"react/react-in-jsx-scope": "off",
"react/prop-types": "warn",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-interface": "warn",
"no-empty": "warn",
"no-empty-pattern": "warn",
"react/no-unescaped-entities": "warn",
"no-useless-escape": "off",
"react/display-name": "warn",
"no-prototype-builtins": "warn",
"prefer-const": "warn",
"no-case-declarations": "off"
}
}