-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
55 lines (55 loc) · 1.23 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
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": "react-app",
"plugins": ["@typescript-eslint", "import", "sort-destructure-keys"],
"env": {
"browser": true,
"es2020": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"prefer-template": "error",
"no-useless-concat": "error",
"arrow-body-style": "error",
"no-extra-boolean-cast": "error",
"curly": ["error", "multi", "consistent"],
"dot-notation": "error",
"eqeqeq": "error",
"prefer-const": "error",
"prefer-destructuring": "error",
"react/jsx-key": "error",
"import/no-unresolved": "off",
"import/order": [
"error",
{
"newlines-between": "always",
"alphabetize": {
"order": "asc"
},
"pathGroups": [
{
"pattern": "@hlsp/**",
"group": "internal"
},
{
"pattern": "./*",
"group": "internal"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"groups": [
"builtin",
"external",
"internal",
"unknown",
"parent",
"sibling",
"index"
]
}
]
}
}