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