-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc
48 lines (48 loc) · 1.05 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
{
'extends': 'standard',
"rules": {
'semi': ['error', 'always' ],
'no-unused-vars': ['error', { 'varsIgnorePattern': 'apos', 'args': 'none', 'ignoreRestSiblings': true }],
"import/no-extraneous-dependencies": 1,
'no-var': 'error',
},
"overrides": [
{
"files": [ "**/public/**/*.js" ],
"globals": {
"window": true,
"document": true,
"location": true,
"apos": true,
"_": true,
"async": true,
"confirm": true,
"$": true,
"CKEDITOR_BASEPATH": true,
"CKEDITOR": true,
"alert": true,
"jQuery": true,
"sluggo": true,
"moog": true,
"Pikaday": true,
"moment": true
},
"rules": {
/* for bc with older browsers since this is not a Babel build */
'no-var': 0
}
},
{
"files": [ "test/**/*.js" ],
"globals": {
"describe": true,
"it": true,
"after": true,
"before": true
},
"rules": {
"no-console": 0
}
}
]
}