-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.json
43 lines (43 loc) · 1.06 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"airbnb-base",
"airbnb",
"plugin:unicorn/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2022
},
"plugins": ["react"],
"rules": {
"indent": ["error", "tab", {"SwitchCase": 1}],
"no-tabs": "off",
"quotes": ["error", "single"],
"semi": ["error", "always"],
"linebreak-style": "off",
"arrow-parens": ["error", "as-needed"],
"object-curly-spacing": ["error", "never"],
"import/extensions": ["error", "always"],
"max-len": "off",
"no-plusplus": "off",
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }],
"react/function-component-definition": "off",
"react/prop-types": "off",
"unicorn/filename-case": "off",
"unicorn/switch-case-braces": "off",
"import/no-unresolved": "off"
}
}