zeno-config 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,330 @@
1
+ const getStylisticPluginRules = () => {
2
+ return {
3
+ // https://eslint.style/rules/array-bracket-newline
4
+ '@stylistic/array-bracket-newline': 'off', // conflicts with prettier
5
+
6
+ // https://eslint.style/rules/array-bracket-spacing
7
+ '@stylistic/array-bracket-spacing': 'off', // conflicts with prettier
8
+
9
+ // https://eslint.style/rules/array-element-newline
10
+ '@stylistic/array-element-newline': 'off', // conflicts with prettier
11
+
12
+ // https://eslint.style/rules/arrow-parens
13
+ '@stylistic/arrow-parens': 'off', // conflicts with prettier
14
+
15
+ // https://eslint.style/rules/arrow-spacing
16
+ '@stylistic/arrow-spacing': 'off', // conflicts with prettier
17
+
18
+ // https://eslint.style/rules/block-spacing
19
+ '@stylistic/block-spacing': 'off', // conflicts with prettier
20
+
21
+ // https://eslint.style/rules/brace-style
22
+ '@stylistic/brace-style': 'off', // conflicts with prettier
23
+
24
+ // https://eslint.style/rules/comma-dangle
25
+ '@stylistic/comma-dangle': 'off', // conflicts with prettier
26
+
27
+ // https://eslint.style/rules/comma-spacing
28
+ '@stylistic/comma-spacing': 'off', // conflicts with prettier
29
+
30
+ // https://eslint.style/rules/comma-style
31
+ '@stylistic/comma-style': 'off', // conflicts with prettier
32
+
33
+ // https://eslint.style/rules/computed-property-spacing
34
+ '@stylistic/computed-property-spacing': 'off', // conflicts with prettier
35
+
36
+ // https://eslint.style/rules/curly-newline
37
+ '@stylistic/curly-newline': 'off', // conflicts with prettier
38
+
39
+ // https://eslint.style/rules/dot-location
40
+ '@stylistic/dot-location': 'off', // conflicts with prettier
41
+
42
+ // https://eslint.style/rules/eol-last
43
+ '@stylistic/eol-last': 'off', // conflicts with prettier
44
+
45
+ // https://eslint.style/rules/function-call-argument-newline
46
+ '@stylistic/function-call-argument-newline': 'off', // conflicts with prettier
47
+
48
+ // https://eslint.style/rules/function-call-spacing
49
+ '@stylistic/function-call-spacing': 'off', // conflicts with prettier
50
+
51
+ // https://eslint.style/rules/function-paren-newline
52
+ '@stylistic/function-paren-newline': 'off', // conflicts with prettier
53
+
54
+ // https://eslint.style/rules/generator-star-spacing
55
+ '@stylistic/generator-star-spacing': 'off', // conflicts with prettier
56
+
57
+ // https://eslint.style/rules/implicit-arrow-linebreak
58
+ '@stylistic/implicit-arrow-linebreak': 'off', // conflicts with prettier
59
+
60
+ // https://eslint.style/rules/indent
61
+ '@stylistic/indent': 'off', // conflicts with prettier
62
+
63
+ // https://eslint.style/rules/indent-binary-ops
64
+ '@stylistic/indent-binary-ops': 'off', // conflicts with prettier
65
+
66
+ // https://eslint.style/rules/jsx-child-element-spacing
67
+ '@stylistic/jsx-child-element-spacing': 'off', // conflicts with prettier
68
+
69
+ // https://eslint.style/rules/jsx-closing-bracket-location
70
+ '@stylistic/jsx-closing-bracket-location': 'off', // conflicts with prettier
71
+
72
+ // https://eslint.style/rules/jsx-closing-tag-location
73
+ '@stylistic/jsx-closing-tag-location': 'off', // conflicts with prettier
74
+
75
+ // https://eslint.style/rules/jsx-curly-brace-presence
76
+ '@stylistic/jsx-curly-brace-presence': 'off', // conflicts with react/jsx-curly-brace-presence
77
+
78
+ // https://eslint.style/rules/jsx-curly-newline
79
+ '@stylistic/jsx-curly-newline': 'off', // conflicts with prettier
80
+
81
+ // https://eslint.style/rules/jsx-curly-spacing
82
+ '@stylistic/jsx-curly-spacing': 'off', // conflicts with prettier
83
+
84
+ // https://eslint.style/rules/jsx-equals-spacing
85
+ '@stylistic/jsx-equals-spacing': 'off', // conflicts with prettier
86
+
87
+ // https://eslint.style/rules/jsx-first-prop-new-line
88
+ '@stylistic/jsx-first-prop-new-line': 'off', // conflicts with prettier
89
+
90
+ // https://eslint.style/rules/jsx-function-call-newline
91
+ '@stylistic/jsx-function-call-newline': 'warn',
92
+
93
+ // https://eslint.style/rules/jsx-indent
94
+ '@stylistic/jsx-indent': 'off', // conflicts with prettier
95
+
96
+ // https://eslint.style/rules/jsx-indent-props
97
+ '@stylistic/jsx-indent-props': 'off', // conflicts with prettier
98
+
99
+ // https://eslint.style/rules/jsx-max-props-per-line
100
+ '@stylistic/jsx-max-props-per-line': 'off', // conflicts with prettier
101
+
102
+ // https://eslint.style/rules/jsx-newline
103
+ '@stylistic/jsx-newline': 'off', // conflicts with prettier
104
+
105
+ // https://eslint.style/rules/jsx-one-expression-per-line
106
+ '@stylistic/jsx-one-expression-per-line': 'off', // conflicts with prettier
107
+
108
+ // https://eslint.style/rules/jsx-pascal-case
109
+ '@stylistic/jsx-pascal-case': 'off', // conflicts with react/jsx-pascal-case
110
+
111
+ // https://eslint.style/rules/jsx-props-no-multi-spaces
112
+ '@stylistic/jsx-props-no-multi-spaces': 'off', // conflicts with prettier
113
+
114
+ // https://eslint.style/rules/jsx-quotes
115
+ '@stylistic/jsx-quotes': 'off', // conflicts with prettier
116
+
117
+ // https://eslint.style/rules/jsx-self-closing-comp
118
+ '@stylistic/jsx-self-closing-comp': 'off', // conflicts with react/self-closing-comp
119
+
120
+ // https://eslint.style/rules/jsx-sort-props
121
+ '@stylistic/jsx-sort-props': 'off', // conflicts with react/jsx-sort-props
122
+
123
+ // https://eslint.style/rules/jsx-tag-spacing
124
+ '@stylistic/jsx-tag-spacing': 'off', // conflicts with prettier
125
+
126
+ // https://eslint.style/rules/jsx-wrap-multilines
127
+ '@stylistic/jsx-wrap-multilines': 'off', // conflicts with prettier
128
+
129
+ // https://eslint.style/rules/key-spacing
130
+ '@stylistic/key-spacing': 'off', // conflicts with prettier
131
+
132
+ // https://eslint.style/rules/keyword-spacing
133
+ '@stylistic/keyword-spacing': 'off', // conflicts with prettier
134
+
135
+ // https://eslint.style/rules/line-comment-position
136
+ '@stylistic/line-comment-position': 'off',
137
+
138
+ // https://eslint.style/rules/linebreak-style
139
+ '@stylistic/linebreak-style': 'off', // conflicts with prettier
140
+
141
+ // https://eslint.style/rules/lines-around-comment
142
+ '@stylistic/lines-around-comment': 'off',
143
+
144
+ // https://eslint.style/rules/lines-between-class-members
145
+ '@stylistic/lines-between-class-members': [
146
+ 'error',
147
+ {
148
+ enforce: [{ blankLine: 'always', prev: 'method', next: '*' }],
149
+ },
150
+ { exceptAfterSingleLine: false },
151
+ ],
152
+
153
+ // experimental rule
154
+ // https://eslint.style/rules/list-style
155
+ // '@stylistic/list-style': 'error',
156
+
157
+ // https://eslint.style/rules/max-len
158
+ '@stylistic/max-len': 'off',
159
+
160
+ // https://eslint.style/rules/max-statements-per-line
161
+ '@stylistic/max-statements-per-line': 'off', // conflicts with prettier
162
+
163
+ // https://eslint.style/rules/member-delimiter-style
164
+ '@stylistic/member-delimiter-style': 'off', // conflicts with prettier
165
+
166
+ // https://eslint.style/rules/multiline-comment-style
167
+ '@stylistic/multiline-comment-style': 'off',
168
+
169
+ // https://eslint.style/rules/multiline-ternary
170
+ '@stylistic/multiline-ternary': 'off', // conflicts with prettier
171
+
172
+ // https://eslint.style/rules/new-parens
173
+ '@stylistic/new-parens': 'off', // conflicts with prettier
174
+
175
+ // https://eslint.style/rules/newline-per-chained-call
176
+ '@stylistic/newline-per-chained-call': 'off', // conflicts with prettier
177
+
178
+ // https://eslint.style/rules/no-confusing-arrow
179
+ '@stylistic/no-confusing-arrow': 'off', // conflicts with prettier
180
+
181
+ // https://eslint.style/rules/no-extra-parens
182
+ '@stylistic/no-extra-parens': 'off', // conflicts with prettier
183
+
184
+ // https://eslint.style/rules/no-extra-semi
185
+ '@stylistic/no-extra-semi': 'off', // conflicts with prettier
186
+
187
+ // https://eslint.style/rules/no-floating-decimal
188
+ '@stylistic/no-floating-decimal': 'off', // conflicts with prettier
189
+
190
+ // https://eslint.style/rules/no-mixed-operators
191
+ '@stylistic/no-mixed-operators': [
192
+ 'error',
193
+ {
194
+ groups: [
195
+ ['%', '**'],
196
+ ['%', '+'],
197
+ ['%', '-'],
198
+ ['%', '*'],
199
+ ['%', '/'],
200
+ ['/', '*'],
201
+ ['&', '|', '<<', '>>', '>>>'],
202
+ ['==', '!=', '===', '!=='],
203
+ ['&&', '||'],
204
+ ],
205
+ allowSamePrecedence: false,
206
+ },
207
+ ],
208
+
209
+ // https://eslint.style/rules/no-mixed-spaces-and-tabs
210
+ '@stylistic/no-mixed-spaces-and-tabs': 'off', // conflicts with prettier
211
+
212
+ // https://eslint.style/rules/no-multi-spaces
213
+ '@stylistic/no-multi-spaces': 'off', // conflicts with prettier
214
+
215
+ // https://eslint.style/rules/no-multiple-empty-lines
216
+ '@stylistic/no-multiple-empty-lines': 'off', // conflicts with prettier
217
+
218
+ // https://eslint.style/rules/no-tabs
219
+ '@stylistic/no-tabs': 'off',
220
+
221
+ // https://eslint.style/rules/no-trailing-spaces
222
+ '@stylistic/no-trailing-spaces': 'off', // conflicts with prettier
223
+
224
+ // https://eslint.style/rules/no-whitespace-before-property
225
+ '@stylistic/no-whitespace-before-property': 'off', // conflicts with prettier
226
+
227
+ // https://eslint.style/rules/nonblock-statement-body-position
228
+ '@stylistic/nonblock-statement-body-position': 'off', // conflicts with prettier
229
+
230
+ // https://eslint.style/rules/object-curly-newline
231
+ '@stylistic/object-curly-newline': 'off', // conflicts with prettier
232
+
233
+ // https://eslint.style/rules/object-curly-spacing
234
+ '@stylistic/object-curly-spacing': 'off', // conflicts with prettier
235
+
236
+ // https://eslint.style/rules/object-property-newline
237
+ '@stylistic/object-property-newline': 'off', // conflicts with prettier
238
+
239
+ // https://eslint.style/rules/one-var-declaration-per-line
240
+ '@stylistic/one-var-declaration-per-line': 'off', // conflicts with prettier
241
+
242
+ // https://eslint.style/rules/operator-linebreak
243
+ '@stylistic/operator-linebreak': 'off', // conflicts with prettier
244
+
245
+ // https://eslint.style/rules/padded-blocks
246
+ '@stylistic/padded-blocks': 'off', // conflicts with prettier
247
+
248
+ // https://eslint.style/rules/padding-line-between-statements
249
+ '@stylistic/padding-line-between-statements': 'off',
250
+
251
+ // https://eslint.style/rules/quote-props
252
+ '@stylistic/quote-props': 'off', // conflicts with prettier
253
+
254
+ // https://eslint.style/rules/quotes
255
+ '@stylistic/quotes': 'off', // can be enabled but conflicts with prettier in practice
256
+
257
+ // https://eslint.style/rules/rest-spread-spacing
258
+ '@stylistic/rest-spread-spacing': 'off', // conflicts with prettier
259
+
260
+ // https://eslint.style/rules/semi
261
+ '@stylistic/semi': 'off', // conflicts with prettier
262
+
263
+ // https://eslint.style/rules/semi-spacing
264
+ '@stylistic/semi-spacing': 'off', // conflicts with prettier
265
+
266
+ // https://eslint.style/rules/semi-style
267
+ '@stylistic/semi-style': 'off', // conflicts with prettier
268
+
269
+ // https://eslint.style/rules/space-before-blocks
270
+ '@stylistic/space-before-blocks': 'off', // conflicts with prettier
271
+
272
+ // https://eslint.style/rules/space-before-function-paren
273
+ '@stylistic/space-before-function-paren': 'off', // conflicts with prettier
274
+
275
+ // https://eslint.style/rules/space-in-parens
276
+ '@stylistic/space-in-parens': 'off', // conflicts with prettier
277
+
278
+ // https://eslint.style/rules/space-infix-ops
279
+ '@stylistic/space-infix-ops': 'off', // conflicts with prettier
280
+
281
+ // https://eslint.style/rules/space-unary-ops
282
+ '@stylistic/space-unary-ops': 'off', // conflicts with prettier
283
+
284
+ // https://eslint.style/rules/spaced-comment
285
+ '@stylistic/spaced-comment': [
286
+ 'error',
287
+ 'always',
288
+ {
289
+ line: {
290
+ exceptions: ['-', '+'],
291
+ markers: ['=', '!', '/'],
292
+ },
293
+ block: {
294
+ exceptions: ['-', '+'],
295
+ markers: ['=', '!', ':', '::'],
296
+ balanced: true,
297
+ },
298
+ },
299
+ ],
300
+
301
+ // https://eslint.style/rules/switch-colon-spacing
302
+ '@stylistic/switch-colon-spacing': 'off', // conflicts with prettier
303
+
304
+ // https://eslint.style/rules/template-curly-spacing
305
+ '@stylistic/template-curly-spacing': 'off', // conflicts with prettier
306
+
307
+ // https://eslint.style/rules/template-tag-spacing
308
+ '@stylistic/template-tag-spacing': 'off', // conflicts with prettier
309
+
310
+ // https://eslint.style/rules/type-annotation-spacing
311
+ '@stylistic/type-annotation-spacing': 'off', // conflicts with prettier
312
+
313
+ // https://eslint.style/rules/type-generic-spacing
314
+ '@stylistic/type-generic-spacing': 'off', // conflicts with prettier
315
+
316
+ // https://eslint.style/rules/type-named-tuple-spacing
317
+ '@stylistic/type-named-tuple-spacing': 'off', // conflicts with prettier
318
+
319
+ // https://eslint.style/rules/wrap-iife
320
+ '@stylistic/wrap-iife': 'off', // conflicts with prettier
321
+
322
+ // https://eslint.style/rules/wrap-regex
323
+ '@stylistic/wrap-regex': 'off', // conflicts with prettier
324
+
325
+ // https://eslint.style/rules/yield-star-spacing
326
+ '@stylistic/yield-star-spacing': 'off', // conflicts with prettier
327
+ };
328
+ };
329
+
330
+ export default getStylisticPluginRules;