forked from stefangabos/Zebra_Datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.json
105 lines (105 loc) · 3.2 KB
/
eslint.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"env": {
"browser": true
},
"globals": {
"$": true
},
"rules": {
"array-bracket-spacing": ["warn", "never"],
"block-scoped-var": 1,
"block-spacing": ["warn", "always"],
"brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
"comma-dangle": 1,
"comma-spacing": ["warn", {
"before": false,
"after": true
}],
"comma-style": ["warn", "last"],
"computed-property-spacing": ["warn", "never"],
"curly": ["warn", "multi"],
"dot-location": ["warn", "property"],
"eol-last": ["warn", "always"],
"indent": ["warn", 4, {"SwitchCase": 1}],
"keyword-spacing": ["warn", {
"before": true,
"after": true
}],
"func-call-spacing": ["warn", "never"],
"key-spacing": ["warn", {
"beforeColon": false,
"mode": "minimum"
}],
"lines-around-comment": ["warn", {
"beforeBlockComment": true,
"afterBlockComment": false
}],
"quotes": ["warn", "single"],
"newline-after-var": ["warn", "always"],
"newline-before-return": 1,
"no-console": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-else-return": 1,
"no-empty": 1,
"no-extra-semi": 1,
"no-fallthrough": 1,
"no-func-assign": 1,
"no-inner-declarations": ["warn", "functions"],
"no-irregular-whitespace": ["warn", {
"skipStrings": false,
"skipComments": false,
"skipRegExps": false,
"skipTemplates": false
}],
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": 1,
"no-multi-spaces": 1,
"no-multiple-empty-lines": ["warn", {
"max": 1,
"maxEOF": 1,
"maxBOF": 0
}],
"no-redeclare": 1,
"no-tabs": 1,
"no-trailing-spaces": ["warn", {
"skipBlankLines": false
}],
"no-unexpected-multiline": 1,
"no-unneeded-ternary": ["warn", {
"defaultAssignment": false
}],
"no-unused-vars": [1, {
"vars": "all",
"args": "after-used",
"varsIgnorePattern": "[$]this"
}],
"no-useless-concat": 1,
"no-whitespace-before-property": 1,
"object-curly-spacing": ["warn", "never"],
"object-property-newline": ["warn", {
"allowMultiplePropertiesPerLine": false
}],
"one-var": ["warn", "always"],
"radix": ["warn", "always"],
"semi-spacing": ["warn", {
"before": false,
"after": true
}],
"space-before-blocks": ["warn", "always"],
"space-before-function-paren": ["warn", "never"],
"space-in-parens": ["warn", "never"],
"space-infix-ops": 1,
"space-unary-ops": ["warn", {
"words": true,
"nonwords": false
}],
"spaced-comment": ["warn", "always", {
"exceptions": ["-", "+", "*", "=", "_"]
}],
"use-isnan": 1,
"valid-typeof": 1,
"wrap-iife": ["warn", "inside"]
}
}