-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (39 loc) · 1.05 KB
/
.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
35
36
37
38
39
40
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"import",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript"
],
"rules": {
"brace-style": ["error","1tbs"],
"comma-dangle": ["warn", "always-multiline"],
"curly": ["error","all"],
"eol-last": ["error", "always"],
"eqeqeq": "error",
"import/order": ["error", {
"groups": ["builtin", "external", "parent", "sibling", "index"],
"alphabetize": {
"order": "asc"
}
}],
"indent": "error",
"no-extend-native": "error",
"no-mixed-spaces-and-tabs": "error",
"no-tabs": "error",
"object-curly-spacing": ["error","always"],
"quotes": ["error","double"],
"react/react-in-jsx-scope": "off",
"react/display-name": "off",
"semi": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
}
}