-
Notifications
You must be signed in to change notification settings - Fork 47
/
.eslintrc
44 lines (44 loc) · 899 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
{
"extends": [
"eslint-config-kryfe","plugin:jsx-a11y/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"plugins": [ "react", "babel", "jest", "import", "prettier","jsx-a11y"],
"globals": {
"__DEV__": true,
"__SERVER__": true,
"__HT_LICENSE__": true,
"__PROD__": true,
"__LEGACY__": true,
"__TEST__": true,
"__HOST__": true,
"__MOCK_API__": true,
"__HOST_API__": true,
"__HOST_CDN__": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": {
"resolve": {
"extensions": ["", ".js", ".jsx"],
"modules": ["src", ".", "node_modules"]
}
}
}
}
}
}