-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.02 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
41
42
{
"plugins": ["eslint-plugin-import-helpers"],
"extends": ["airbnb-base", "prettier"],
"rules": {
"no-undef": 0,
"no-continue": 0,
"no-restricted-syntax": 0,
"global-require": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always",
"groups": [
"module",
["/^app/", "/^lib/", "/^config/", "/^src/", "/^ui/"],
["/^$/", "/^&/"],
["/^@shared/", "/^@app/", "/^@back/", "/^@front/"],
["parent", "sibling", "index"]
],
"alphabetize": {
"order": "ignore",
"ignoreCase": true
}
}
]
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"legacyDecorators": true
},
"ecmaVersion": 2018,
"sourceType": "module"
}
}