forked from morr/jquery.appear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
79 lines (77 loc) · 1.23 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
env:
browser: true
jquery: true
extends:
- airbnb-base/legacy
rules:
quotes:
- error
- single
object-curly-spacing:
- error
- always
semi:
- error
- always
object-curly-newline: 0
arrow-body-style:
- 2
- as-needed
arrow-parens:
- 2
- as-needed
no-console: 0
no-alert: 0
no-trailing-spaces:
- error
no-return-assign: 0
no-param-reassign:
- 2
- props: false
no-underscore-dangle: 0
vars-on-top: 0
global-require: 0
no-unused-vars:
- error
- argsIgnorePattern: ^_
varsIgnorePattern: ^_
no-use-before-define: 0
no-mixed-operators: 0
no-new: 0
no-plusplus: 0
no-shadow:
- 2
- allow:
- '_'
function-paren-newline: 0
comma-dangle:
- warn
- never
max-len:
- warn
- 100
- ignoreComments: true
ignoreUrls: true
ignorePattern: "\\s*<"
indent:
- error
- 2
- ignoreComments: true
SwitchCase: 1
linebreak-style:
- error
- unix
func-names: 0
implicit-arrow-linebreak: 0
prefer-template: 0
class-methods-use-this: 0
radix: 0
operator-linebreak:
- 2
- after
keyword-spacing:
- error
- after: true
before: true
lines-between-class-members: 0