-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
45 lines (45 loc) · 839 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
45
{
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
modules: true
}
},
rules: {
indent: [2, 2, {"SwitchCase": 1}],
no-multi-spaces: 2,
no-underscore-dangle: 0,
no-use-before-define: [1, "nofunc"],
no-unused-expressions: 0,
no-empty-class: 0,
object-curly-spacing: [2, "always"],
quotes: [1, "single"],
space-in-parens: [2, "never"],
semi: [2, "always"]
},
env: {
node: true
},
globals: {
angular: true,
$: true,
jQuery: true,
moment: true,
window: true,
document: true,
Modernizr: true,
__TESTING__: true,
beforeEach: true,
expect: true,
describe: true,
it: true,
element: true,
by: true,
browser: true,
inject: true,
register: true,
sinon: true,
_: false
}
}