-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 849 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
35
36
37
38
39
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"simple-import-sort"
],
"extends": [
"standard",
"standard-jsx"
],
"env": {
"jest": true
},
"rules": {
"no-new": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"one-var": "off",
"react/jsx-key": "off",
"import/no-absolute-path": "off",
"react/no-children-prop": "off",
"comma-dangle": ["error", "always-multiline"],
"react/jsx-closing-bracket-location": ["error", {
"nonEmpty": "after-props"
}],
"simple-import-sort/imports": ["error", {
"groups": [
["^\\u0000"],
["^innet$", "^@?\\w"],
["^"],
["^\\.+(/[^/.]+|/[^.]+/[^/.]+)$"],
["^\\..+"],
["^\\.$"],
["^\\..+.s?css$"]
]
}]
}
}