-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc
34 lines (34 loc) · 1010 Bytes
/
.eslintrc
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
28
29
30
31
32
33
34
{
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["react", "@typescript-eslint"],
"env": {
"browser": true
},
"rules": {
"prettier/prettier": "off",
"indent": ["error", 2, { "SwitchCase": 1 } ],
"semi": ["error", "always"],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"function-call-argument-newline": ["error", "consistent"],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/prop-types": ["error", { "ignore": ["dispatch"], "skipUndeclared":true }],
"react/react-in-jsx-scope": "off",
"react/jsx-uses-react": "off"
}
}