-
Notifications
You must be signed in to change notification settings - Fork 57
/
.eslintrc
77 lines (71 loc) · 1.29 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
env:
node: true
globals:
__resourceQuery: false
describe: false
describeSaga: false
describeEvent: false
describeCommand: false
before: false
it: false
xit: false
window : false
beforeEach : false
afterEach : false
after : false
before : false
beforeEachChapter: false
describeScenario: false
describeChapter: false
describeStep: false
document : false
window: false
File : false
FormData: false
QCodeDecoder: false
$: false
L: false
btoa: false
escape: false
angular: false
jQuery: false
rules:
# ERRORS
no-unused-vars: [2, {vars: all, args: none}]
curly: [2, "multi-line"]
# WARNINGS
semi-spacing: 1
no-empty: 1
handle-callback-err: 1
eqeqeq: 1
quotes: [1, 'single']
no-unused-expressions: 1
no-throw-literal: 1
semi: 1
block-scoped-var: 1
no-alert: 1
no-console: 1
new-cap: 1
# DISABLED
space-after-keywords: 0
dot-notation: 0
consistent-return: 0
brace-style: 0
no-multi-spaces: 0
no-underscore-dangle: 0
key-spacing: 0
comma-spacing: 0
no-shadow: 0
no-mixed-requires: 0
space-infix-ops: 0
strict: 0
camelcase: 0
no-wrap-func: 0
comma-dangle: 0
no-extra-semi: 0
no-use-before-define: [0, "nofunc"]
# AUTOMATED BY EDITORCONFIG
eol-last: 0
no-trailing-spaces: 0
indent: 0