forked from zendesk/sunshine-conversations-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (50 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
{
"parser": "babel-eslint",
"rules": {
"quotes": [
2,
"single"
],
"jsx-quotes": [
2,
"prefer-single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"react/jsx-uses-vars": 2,
"react/jsx-uses-react": 2,
"react/jsx-no-undef": 2,
"no-unused-vars": 1,
"no-extra-boolean-cast": 0,
"no-console": 0,
"no-constant-condition": 0,
"no-redeclare": 0,
"prefer-const": 2,
"arrow-parens": [2, "always"],
"mocha/no-exclusive-tests": "error",
"mocha/handle-done-callback": "error"
},
"env": {
"es6": true,
"node": true,
"commonjs": true,
"browser": true
},
"globals": {
"VERSION": true
},
"plugins": [
"react",
"mocha"
],
"ecmaFeatures": {
"jsx": true
},
"extends": "eslint:recommended"
}