-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (53 loc) · 1.18 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
54
{
"env": {
"browser": false,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": 2,
"prefer-const": 1,
"no-extra-semi": 2,
"semi": 2,
"no-fallthrough": 2,
"no-empty": 2,
"no-var": 2,
"no-mixed-spaces-and-tabs": 2,
"no-redeclare": 2,
"prefer-arrow-callback": 1,
"no-this-before-super": 1,
"no-undef": 1,
"no-unreachable": 1,
"no-unused-vars": 2,
"no-use-before-define": 0,
"constructor-super": 1,
"curly": 2,
"eqeqeq": 2,
"func-names": 0,
"valid-typeof": 1
},
"globals": {
// global libraries
"process": true,
"_": true,
"require": true,
"module": true,
"sails": true,
"describe": true,
"it": true,
"before": true,
"beforeEach": true,
"after": true,
"expect": true,
"chai": true,
"sinon": true,
"PermissionsService": true
}
}