forked from quran/quran.com-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
53 lines (53 loc) · 1.03 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
43
44
45
46
47
48
49
50
51
52
53
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"comma-dangle": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 1,
"import/extensions": 0,
"import/no-unresolved": 0,
"property": 0,
"no-mixed-operators": 0,
"strict": 0
},
"ecmaFeatures": {
"classes": true,
"jsx": true
},
"plugins": [
"react",
"mocha"
],
"settings": {
"import/resolver": "webpack"
},
"parserOptions":{
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"globals": {
"__DEVELOPMENT__": true,
"__CLIENT__": true,
"__SERVER__": true,
"__DISABLE_SSR__": true,
"__DEVTOOLS__": true,
"socket": true,
"webpackIsomorphicTools": true,
ga: true,
Raven: true,
mixpanel: true,
"expect": true,
"browser": true,
"import": true,
"FB": true,
"window": true,
sinon: true
},
"env": {
"mocha": true,
"amd": true
}
}