forked from flatpickr/flatpickr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
71 lines (71 loc) · 1.31 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
{
"rules": {
"brace-style": [
"error",
"stroustrup"
],
"space-in-parens": 1,
"max-len": [
"error",
95,
{
"ignoreRegExpLiterals": true,
"ignoreComments": true,
"ignoreStrings": true
}
],
"no-extra-bind": 2,
"no-eq-null": 1,
"no-unreachable": 2,
"comma-dangle": [
"error",
"only-multiline"
],
"quotes": [
"error",
"double"
],
"space-infix-ops": "warn",
"no-prototype-builtins": "warn",
"no-invalid-regexp": 1,
"no-duplicate-case": 2,
"no-redeclare": 2,
"no-constant-condition": 2,
"no-undef": "warn",
"no-extra-semi": 2,
"no-dupe-keys": 2,
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"no-caller": 2,
"curly": [
"warn",
"multi-or-nest"
],
"no-global-assign": "warn",
"no-extra-boolean-cast": 1,
"no-ex-assign": 2,
"no-unused-expressions": "warn",
"no-mixed-spaces-and-tabs": 2,
"no-unsafe-negation": "warn",
"valid-typeof": 2,
"no-sparse-arrays": 2,
"no-fallthrough": 2
},
"parser": "babel-eslint",
"env": {
"jquery": true,
"es6": true,
"commonjs": true,
"browser": true,
"jest": true
},
"plugins": [
"flowtype",
"jest"
]
}