forked from wikimedia/wikidata-query-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
115 lines (114 loc) · 2.72 KB
/
.eslintrc.yaml
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
113
114
115
{
root: true,
extends: [
wikimedia/client,
wikimedia/jquery,
wikimedia/mediawiki
],
globals: {
QUnit: readonly,
jQuery: readonly,
sinon: readonly
},
plugins: [
promise,
compat
],
rules: {
# compat/compat: error,
# indent: [
# error,
# tab,
# {
# CallExpression: {
# arguments: first
# }
# }
# ],
no-jquery/no-global-selector: off,
no-underscore-dangle: off,
# no-use-before-define: [
# error,
# nofunc
# ],
max-len: off,
one-var: off,
operator-linebreak: off,
promise/no-native: error,
valid-jsdoc: off,
vars-on-top: off,
wrap-iife: off,
# rules deactivated because they conflict with the current code
array-bracket-spacing: off,
array-callback-return: off,
block-spacing: off,
comma-dangle: off,
comma-spacing: off,
computed-property-spacing: off,
es/no-math-trunc: off,
eqeqeq: off,
indent: off,
key-spacing: off,
keyword-spacing: off,
max-statements-per-line: off,
mediawiki/class-doc: off,
new-cap: off,
new-parens: off,
no-console: off,
no-control-regex: off,
no-empty-character-class: off,
no-fallthrough: off,
no-implicit-globals: off,
no-misleading-character-class: off,
no-mixed-spaces-and-tabs: off,
no-multi-spaces: off,
no-multi-str: off,
no-multiple-empty-lines: off,
no-new: off,
no-prototype-builtins: off,
no-redeclare: off,
no-restricted-syntax: off,
no-restricted-properties: off,
no-tabs: off,
no-undef: off,
no-use-before-define: off,
no-useless-call: off,
no-useless-concat: off,
no-useless-escape: off,
no-unreachable: off,
no-unused-vars: off,
no-whitespace-before-property: off,
object-curly-spacing: off,
quotes: off,
quote-props: off,
space-before-blocks: off,
spaced-comment: off,
semi-spacing: off,
switch-colon-spacing: off,
semi: off,
space-infix-ops: off,
space-before-function-paren: off,
space-in-parens: off,
jsdoc/require-param: off,
jsdoc/require-returns: off,
jsdoc/check-types: off,
jsdoc/no-undefined-types: off,
jsdoc/newline-after-description: off,
jsdoc/check-alignment: off,
jsdoc/check-tag-names: off,
jsdoc/valid-types: off,
no-jquery/no-proxy: off,
no-jquery/no-each-util: off,
no-jquery/no-event-shorthand: off,
no-jquery/no-parse-html-literal: off,
no-jquery/variable-pattern: off,
no-jquery/no-error: off,
no-jquery/no-unique: off,
no-jquery/no-sizzle: off,
no-jquery/no-bind: off,
no-jquery/no-now: off,
no-jquery/no-fade: off,
no-jquery/no-map-util: off,
no-jquery/no-class-state: off,
}
}