-
Notifications
You must be signed in to change notification settings - Fork 117
/
.eslintrc
34 lines (33 loc) · 704 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
env:
node: true
mocha: true
rules:
no-undef: 2
no-unused-vars: 2
no-use-before-define: 2
no-empty: 2
no-func-assign: 2
no-console: 2
callback-return: 2
global-require: 2
no-path-concat: 2
no-extra-semi: 2
no-trailing-spaces: 2
semi: 2
max-len: [2, 100, 4]
comma-style: [2, "last", { exceptions: { VariableDeclaration: true } }]
comma-spacing: 2
consistent-this: [2, "self"]
no-unneeded-ternary: 2
indent: [2, 2, { SwitchCase: 1 }]
no-shadow: 2
eqeqeq: 2
curly: 2
camelcase: 2
quotes: [2, "single", "avoid-escape"]
space-unary-ops: 2
space-infix-ops: 2
linebreak-style: 2
new-cap: 2
no-multiple-empty-lines: [2, { max: 2 }]
complexity: [2, 8]