forked from madfish-solutions/templewallet-extension
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
32 lines (32 loc) · 800 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
{
"extends": ["react-app", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript"],
"plugins": ["import", "prettier"],
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"import/no-named-as-default": 0,
"prettier/prettier": "error",
"import/order": [
"error",
{
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"],
"groups": [["external", "builtin"], "internal", ["parent", "sibling", "index"]],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"newlines-between": "always"
}
]
}
}