-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
89 lines (89 loc) · 1.38 KB
/
.eslintrc.json
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
78
79
80
81
82
83
84
85
86
87
88
89
{
"env":{
"browser": true
},
"globals": {
"PDFJS": false,
"localforage": false,
"moment": false,
"setPdfField": false,
"renderTimesheet": false,
"observedHolidays": false,
"userOperations": false
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"curly": [
2,
"all"
],
"guard-for-in": 2,
"no-extend-native": 2,
"block-scoped-var": 0,
"no-use-before-define": 2,
"no-caller": 2,
"no-sequences": 2,
"no-irregular-whitespace": 2,
"no-new": 2,
"no-extra-parens": 0,
"no-undef": 2,
"no-unused-vars": 2,
"dot-notation": [
1, {
"allowKeywords": true,
"allowPattern": "^[a-z]+(_[a-z]+)+$"
}
],
"no-empty": 2,
"no-implicit-coercion": [
2, {
"boolean": true,
"number": true,
"string": true
}
],
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 2,
"key-spacing": [
2, {
"beforeColon": false,
"afterColon": true
}
],
"comma-spacing": [
2, {
"before": false,
"after": true
}
],
"space-unary-ops": 0,
"semi-spacing": [
2, {
"before": false,
"after": true
}
],
"no-spaced-func": 2,
"comma-dangle": [
2,
"never"
],
"no-trailing-spaces": 2,
"eol-last": 2,
"semi": [
2,
"always"
],
"space-infix-ops": 2,
"consistent-this": [
1,
"self"
],
"linebreak-style": [
2,
"unix"
],
"quotes": [2, "double"]
}
}