-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
47 lines (47 loc) · 990 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
40
41
42
43
44
45
46
47
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"import/no-extraneous-dependencies": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js"] }]
},
"parser": "babel-eslint",
"settings": {
"import/resolver": {
"alias": {
"map": [
["@ui", "./src/UI"],
["@config", "./src/config"],
["@utils", "./src/utils"],
["@shared", "./src/shared"],
["@events", "./src/events"],
["@reducers", "./src/reducers"],
["@electron-store", "./src/electron-store"]
]
}
}
}
}