-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc-fluid.json
112 lines (112 loc) · 2.63 KB
/
.eslintrc-fluid.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
106
107
108
109
110
111
112
{
"plugins": [
"@stylistic/js"
],
"env": {
"browser": true,
"jquery": true
},
"globals": {
"fluid": true
},
"rules": {
"block-scoped-var": "error",
"@stylistic/js/comma-dangle": [
"error",
"never"
],
"@stylistic/js/comma-style": [
"error",
"last"
],
"curly": [
"error",
"all"
],
"@stylistic/js/eol-last": "error",
"eqeqeq": [
"error",
"allow-null"
],
"@stylistic/js/indent": [
"error",
4
],
"@stylistic/js/keyword-spacing": "error",
"@stylistic/js/linebreak-style": ["error", "unix"],
"new-cap": [
"error",
{
"properties": false
}
],
"no-caller": "error",
"no-cond-assign": [
"error",
"except-parens"
],
"no-console": "error",
"no-debugger": "error",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-eval": "error",
"no-extend-native": "error",
"no-irregular-whitespace": "error",
"no-iterator": "error",
"no-loop-func": "error",
"no-multi-str": "error",
"no-new": "error",
"no-new-wrappers": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-script-url": "error",
"no-sequences": "error",
"@stylistic/js/no-trailing-spaces": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-with": "error",
"@stylistic/js/quotes": [
"error",
"double"
],
"@stylistic/js/semi": [
"error",
"always"
],
"@stylistic/js/space-before-blocks": [
"error",
"always"
],
"@stylistic/js/space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never"
}
],
"@stylistic/js/space-infix-ops": "error",
"@stylistic/js/space-unary-ops": [
"error",
{
"words": true,
"nonwords": false,
"overrides": {
"typeof": false
}
}
],
"strict": [
"error",
"safe"
],
"valid-typeof": "error",
"wrap-iife": [
"error",
"inside"
]
}
}