-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 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": ["@typescript-eslint"],
"extends": [
"standard",
"standard-react",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "sibling", "parent"],
"newlines-between": "always",
"pathGroups": [
{
"pattern": "**",
"group": "internal"
}
]
}
],
"key-spacing": "off",
"react/jsx-no-bind": "off",
"jsx-quotes": [2, "prefer-double"],
"max-len": [2, 120, 2],
"object-curly-spacing": [2, "always"],
"indent": [2, 2, { "SwitchCase": 1 }],
"comma-dangle": "off",
"no-use-before-define": "off",
"no-console": "warn",
"react/jsx-boolean-value": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
}