@remotion/eslint-config 3.0.0-lambda.453 → 3.0.0-lambda.457

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,kBAwCE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6kBA,kBAoCE"}
package/dist/index.js CHANGED
@@ -1,20 +1,550 @@
1
1
  "use strict";
2
- const xo = require("eslint-config-xo/esnext");
3
- const xoReact = require("eslint-config-xo-react");
4
2
  const auto_import_rules_1 = require("./auto-import-rules");
5
- const baseExtends = ["eslint:recommended", "prettier"];
3
+ const patch_eslint_1 = require("./patch-eslint");
4
+ const baseExtends = ["eslint:recommended"];
6
5
  const getRules = (typescript) => {
7
6
  return {
8
- ...xo.rules,
9
- ...xoReact.rules,
10
- "react/jsx-no-constructed-context-values": "off",
7
+ // prettier
8
+ curly: 0,
9
+ "lines-around-comment": 0,
10
+ "max-len": 0,
11
+ "no-confusing-arrow": 0,
12
+ "no-mixed-operators": 0,
13
+ "no-tabs": 0,
14
+ "no-unexpected-multiline": 0,
15
+ quotes: 0,
16
+ "@typescript-eslint/quotes": 0,
17
+ "babel/quotes": 0,
18
+ "array-bracket-newline": "off",
19
+ "array-bracket-spacing": "off",
20
+ "array-element-newline": "off",
21
+ "arrow-parens": "off",
22
+ "arrow-spacing": "off",
23
+ "block-spacing": "off",
24
+ "brace-style": "off",
25
+ "comma-dangle": "off",
26
+ "comma-spacing": "off",
27
+ "comma-style": "off",
28
+ "computed-property-spacing": "off",
29
+ "dot-location": "off",
30
+ "eol-last": "off",
31
+ "func-call-spacing": "off",
32
+ "function-call-argument-newline": "off",
33
+ "function-paren-newline": "off",
34
+ "generator-star": "off",
35
+ "generator-star-spacing": "off",
36
+ "implicit-arrow-linebreak": "off",
37
+ indent: "off",
38
+ "jsx-quotes": "off",
39
+ "key-spacing": "off",
40
+ "keyword-spacing": "off",
41
+ "linebreak-style": "off",
42
+ "multiline-ternary": "off",
43
+ "newline-per-chained-call": "off",
44
+ "new-parens": "off",
45
+ "no-arrow-condition": "off",
46
+ "no-comma-dangle": "off",
47
+ "no-extra-parens": "off",
48
+ "no-extra-semi": "off",
49
+ "no-floating-decimal": "off",
50
+ "no-mixed-spaces-and-tabs": "off",
51
+ "no-multi-spaces": "off",
52
+ "no-multiple-empty-lines": "off",
53
+ "no-reserved-keys": "off",
54
+ "no-space-before-semi": "off",
55
+ "no-trailing-spaces": "off",
56
+ "no-whitespace-before-property": "off",
57
+ "no-wrap-func": "off",
58
+ "nonblock-statement-body-position": "off",
59
+ "object-curly-newline": "off",
60
+ "object-curly-spacing": "off",
61
+ "object-property-newline": "off",
62
+ "one-var-declaration-per-line": "off",
63
+ "operator-linebreak": "off",
64
+ "padded-blocks": "off",
65
+ "quote-props": "off",
66
+ "rest-spread-spacing": "off",
67
+ semi: "off",
68
+ "semi-spacing": "off",
69
+ "semi-style": "off",
70
+ "space-after-function-name": "off",
71
+ "space-after-keywords": "off",
72
+ "space-before-blocks": "off",
73
+ "space-before-function-paren": "off",
74
+ "space-before-function-parentheses": "off",
75
+ "space-before-keywords": "off",
76
+ "space-in-brackets": "off",
77
+ "space-in-parens": "off",
78
+ "space-infix-ops": "off",
79
+ "space-return-throw-case": "off",
80
+ "space-unary-ops": "off",
81
+ "space-unary-word-ops": "off",
82
+ "switch-colon-spacing": "off",
83
+ "template-curly-spacing": "off",
84
+ "template-tag-spacing": "off",
85
+ "unicode-bom": "off",
86
+ "wrap-iife": "off",
87
+ "wrap-regex": "off",
88
+ "yield-star-spacing": "off",
89
+ "@babel/object-curly-spacing": "off",
90
+ "@babel/semi": "off",
91
+ "@typescript-eslint/brace-style": "off",
92
+ "@typescript-eslint/comma-dangle": "off",
93
+ "@typescript-eslint/comma-spacing": "off",
94
+ "@typescript-eslint/func-call-spacing": "off",
95
+ "@typescript-eslint/indent": "off",
96
+ "@typescript-eslint/keyword-spacing": "off",
97
+ "@typescript-eslint/member-delimiter-style": "off",
98
+ "@typescript-eslint/no-extra-parens": "off",
99
+ "@typescript-eslint/no-extra-semi": "off",
100
+ "@typescript-eslint/object-curly-spacing": "off",
101
+ "@typescript-eslint/semi": "off",
102
+ "@typescript-eslint/space-before-function-paren": "off",
103
+ "@typescript-eslint/space-infix-ops": "off",
104
+ "@typescript-eslint/type-annotation-spacing": "off",
105
+ "babel/object-curly-spacing": "off",
106
+ "babel/semi": "off",
107
+ "flowtype/boolean-style": "off",
108
+ "flowtype/delimiter-dangle": "off",
109
+ "flowtype/generic-spacing": "off",
110
+ "flowtype/object-type-curly-spacing": "off",
111
+ "flowtype/object-type-delimiter": "off",
112
+ "flowtype/quotes": "off",
113
+ "flowtype/semi": "off",
114
+ "flowtype/space-after-type-colon": "off",
115
+ "flowtype/space-before-generic-bracket": "off",
116
+ "flowtype/space-before-type-colon": "off",
117
+ "flowtype/union-intersection-spacing": "off",
118
+ "react/jsx-child-element-spacing": "off",
119
+ "react/jsx-closing-bracket-location": "off",
120
+ "react/jsx-closing-tag-location": "off",
11
121
  "react/jsx-curly-newline": "off",
122
+ "react/jsx-curly-spacing": "off",
123
+ "react/jsx-equals-spacing": "off",
124
+ "react/jsx-first-prop-new-line": "off",
125
+ "react/jsx-indent": "off",
126
+ "react/jsx-indent-props": "off",
127
+ "react/jsx-max-props-per-line": "off",
128
+ "react/jsx-newline": "off",
129
+ "react/jsx-one-expression-per-line": "off",
130
+ "react/jsx-props-no-multi-spaces": "off",
131
+ "react/jsx-tag-spacing": "off",
132
+ "react/jsx-wrap-multilines": "off",
133
+ // xo config
134
+ "for-direction": "error",
135
+ "getter-return": "error",
136
+ "no-async-promise-executor": "error",
137
+ "no-await-in-loop": "error",
138
+ "no-compare-neg-zero": "error",
139
+ "no-cond-assign": "error",
140
+ "no-constant-condition": "error",
141
+ "no-control-regex": "error",
142
+ "no-debugger": "error",
143
+ "no-dupe-args": "error",
144
+ "no-dupe-else-if": "error",
145
+ "no-dupe-keys": "error",
146
+ "no-duplicate-case": "error",
147
+ "no-empty-character-class": "error",
148
+ "no-empty": [
149
+ "error",
150
+ {
151
+ allowEmptyCatch: true,
152
+ },
153
+ ],
154
+ "no-ex-assign": "error",
155
+ "no-extra-boolean-cast": "error",
156
+ // Disabled because of https://github.com/eslint/eslint/issues/6028
157
+ // 'no-extra-parens': [
158
+ // 'error',
159
+ // 'all',
160
+ // {
161
+ // conditionalAssign: false,
162
+ // nestedBinaryExpressions: false,
163
+ // ignoreJSX: 'multi-line'
164
+ // }
165
+ // ],
166
+ "no-func-assign": "error",
167
+ "no-import-assign": "error",
168
+ "no-inner-declarations": "error",
169
+ "no-invalid-regexp": "error",
170
+ "no-irregular-whitespace": "error",
171
+ "no-loss-of-precision": "error",
172
+ "no-misleading-character-class": "error",
173
+ "no-obj-calls": "error",
174
+ "no-promise-executor-return": "error",
175
+ "no-prototype-builtins": "error",
176
+ "no-regex-spaces": "error",
177
+ "no-setter-return": "error",
178
+ "no-sparse-arrays": "error",
179
+ "no-template-curly-in-string": "error",
180
+ "no-unreachable": "error",
181
+ "no-unreachable-loop": "error",
182
+ "no-unsafe-finally": "error",
183
+ "no-unsafe-negation": "error",
184
+ "no-unsafe-optional-chaining": [
185
+ "error",
186
+ {
187
+ disallowArithmeticOperators: true,
188
+ },
189
+ ],
190
+ "no-useless-backreference": "error",
191
+ "use-isnan": "error",
192
+ "valid-typeof": [
193
+ "error",
194
+ {
195
+ requireStringLiterals: false,
196
+ },
197
+ ],
198
+ "accessor-pairs": [
199
+ "error",
200
+ {
201
+ enforceForClassMembers: true,
202
+ },
203
+ ],
204
+ "array-callback-return": [
205
+ "error",
206
+ {
207
+ allowImplicit: true,
208
+ },
209
+ ],
210
+ "block-scoped-var": "error",
211
+ complexity: "warn",
212
+ "default-case": "error",
213
+ "default-case-last": "error",
214
+ "default-param-last": "error",
215
+ "dot-notation": "error",
216
+ eqeqeq: "error",
217
+ "grouped-accessor-pairs": ["error", "getBeforeSet"],
218
+ "guard-for-in": "error",
219
+ "no-alert": "error",
220
+ "no-caller": "error",
221
+ "no-case-declarations": "error",
222
+ "no-constructor-return": "error",
223
+ "no-else-return": [
224
+ "error",
225
+ {
226
+ allowElseIf: false,
227
+ },
228
+ ],
229
+ "no-empty-pattern": "error",
230
+ "no-eq-null": "error",
231
+ "no-eval": "error",
232
+ "no-extend-native": "error",
233
+ "no-extra-bind": "error",
234
+ "no-extra-label": "error",
235
+ "no-fallthrough": "error",
236
+ "no-global-assign": "error",
237
+ "no-implicit-coercion": "error",
238
+ "no-implicit-globals": "error",
239
+ "no-implied-eval": "error",
240
+ "no-iterator": "error",
241
+ "no-labels": "error",
242
+ "no-lone-blocks": "error",
243
+ "no-multi-str": "error",
244
+ "no-new-func": "error",
245
+ "no-new-wrappers": "error",
246
+ "no-nonoctal-decimal-escape": "error",
247
+ "no-new": "error",
248
+ "no-octal-escape": "error",
249
+ "no-octal": "error",
250
+ "no-proto": "error",
251
+ "no-redeclare": "error",
252
+ "no-return-assign": ["error", "always"],
253
+ "no-return-await": "error",
254
+ "no-script-url": "error",
255
+ "no-self-assign": [
256
+ "error",
257
+ {
258
+ props: true,
259
+ },
260
+ ],
261
+ "no-self-compare": "error",
262
+ "no-sequences": "error",
263
+ "no-throw-literal": "error",
264
+ "no-unmodified-loop-condition": "error",
265
+ "no-unused-expressions": [
266
+ "error",
267
+ {
268
+ enforceForJSX: true,
269
+ },
270
+ ],
271
+ "no-unused-labels": "error",
272
+ "no-useless-call": "error",
273
+ "no-useless-concat": "error",
274
+ "no-useless-escape": "error",
275
+ "no-useless-return": "error",
276
+ "no-void": "error",
277
+ "no-warning-comments": "warn",
278
+ "no-with": "error",
279
+ "prefer-promise-reject-errors": [
280
+ "error",
281
+ {
282
+ allowEmptyReject: true,
283
+ },
284
+ ],
285
+ "prefer-regex-literals": "error",
286
+ radix: "error",
287
+ // Disabled for now as it causes too much churn
288
+ // TODO: Enable it in the future when I have time to deal with
289
+ // the churn and the rule is stable and has an autofixer
290
+ // 'require-unicode-regexp': 'error',
291
+ yoda: "error",
292
+ "no-delete-var": "error",
293
+ "no-label-var": "error",
294
+ "no-restricted-globals": ["error", "event"],
295
+ "no-shadow-restricted-names": "error",
296
+ "no-undef-init": "error",
297
+ "no-undef": [
298
+ "error",
299
+ {
300
+ typeof: true,
301
+ },
302
+ ],
303
+ "no-unused-vars": [
304
+ "error",
305
+ {
306
+ vars: "all",
307
+ args: "after-used",
308
+ ignoreRestSiblings: true,
309
+ argsIgnorePattern: /^_/.source,
310
+ caughtErrors: "all",
311
+ caughtErrorsIgnorePattern: /^_$/.source,
312
+ },
313
+ ],
314
+ "no-buffer-constructor": "error",
315
+ "no-restricted-imports": [
316
+ "error",
317
+ "domain",
318
+ "freelist",
319
+ "smalloc",
320
+ "sys",
321
+ "colors",
322
+ ],
323
+ camelcase: [
324
+ "error",
325
+ {
326
+ properties: "always",
327
+ },
328
+ ],
329
+ "capitalized-comments": [
330
+ "error",
331
+ "always",
332
+ {
333
+ // You can also ignore this rule by wrapping the first word in quotes.
334
+ // c8 => https://github.com/bcoe/c8
335
+ ignorePattern: /pragma|ignore|prettier-ignore|webpack\w+:|c8/.source,
336
+ ignoreInlineComments: true,
337
+ ignoreConsecutiveComments: true,
338
+ },
339
+ ],
340
+ "func-name-matching": [
341
+ "error",
342
+ {
343
+ considerPropertyDescriptor: true,
344
+ },
345
+ ],
346
+ "func-names": ["error", "never"],
347
+ "lines-between-class-members": [
348
+ "error",
349
+ "always",
350
+ {
351
+ // Workaround to allow class fields to not have lines between them.
352
+ // TODO: Get ESLint to add an option to ignore class fields.
353
+ exceptAfterSingleLine: true,
354
+ },
355
+ ],
356
+ "max-depth": "warn",
357
+ "max-nested-callbacks": ["warn", 4],
358
+ "max-params": [
359
+ "warn",
360
+ {
361
+ max: 4,
362
+ },
363
+ ],
364
+ "max-statements-per-line": "error",
365
+ "no-array-constructor": "error",
366
+ "no-lonely-if": "error",
367
+ "no-multi-assign": "error",
368
+ "no-negated-condition": "error",
369
+ "no-new-object": "error",
370
+ "no-restricted-syntax": ["error", "WithStatement"],
371
+ "no-unneeded-ternary": "error",
372
+ // Disabled because of https://github.com/xojs/eslint-config-xo/issues/27
373
+ // 'object-property-newline': 'error',
374
+ "one-var": ["error", "never"],
375
+ "operator-assignment": ["error", "always"],
376
+ "padding-line-between-statements": [
377
+ "error",
378
+ {
379
+ blankLine: "always",
380
+ prev: "multiline-block-like",
381
+ next: "*",
382
+ },
383
+ ],
384
+ "prefer-exponentiation-operator": "error",
385
+ "spaced-comment": [
386
+ "error",
387
+ "always",
388
+ {
389
+ line: {
390
+ exceptions: ["-", "+", "*"],
391
+ markers: ["!", "/", "=>"],
392
+ },
393
+ block: {
394
+ exceptions: ["-", "+", "*"],
395
+ markers: ["!", "*"],
396
+ balanced: true,
397
+ },
398
+ },
399
+ ],
400
+ "constructor-super": "error",
401
+ "no-class-assign": "error",
402
+ "no-const-assign": "error",
403
+ "no-dupe-class-members": "error",
404
+ "no-new-symbol": "error",
405
+ "no-this-before-super": "error",
406
+ "no-useless-computed-key": [
407
+ "error",
408
+ {
409
+ enforceForClassMembers: true,
410
+ },
411
+ ],
412
+ "no-useless-constructor": "error",
413
+ "no-useless-rename": "error",
414
+ "require-yield": "error",
415
+ "symbol-description": "error",
416
+ "no-var": "error",
417
+ "object-shorthand": ["error", "always"],
418
+ "prefer-arrow-callback": [
419
+ "error",
420
+ {
421
+ allowNamedFunctions: true,
422
+ },
423
+ ],
424
+ "prefer-const": [
425
+ "error",
426
+ {
427
+ destructuring: "all",
428
+ },
429
+ ],
430
+ "prefer-numeric-literals": "error",
431
+ "prefer-rest-params": "error",
432
+ "prefer-spread": "error",
433
+ "prefer-object-spread": "error",
434
+ "prefer-destructuring": [
435
+ "error",
436
+ {
437
+ // `array` is disabled because it forces destructuring on
438
+ // stupid stuff like `foo.bar = process.argv[2];`
439
+ // TODO: Open ESLint issue about this
440
+ VariableDeclarator: {
441
+ array: false,
442
+ object: true,
443
+ },
444
+ AssignmentExpression: {
445
+ array: false,
446
+ // Disabled because object assignment destructuring requires parens wrapping:
447
+ // `let foo; ({foo} = object);`
448
+ object: false,
449
+ },
450
+ },
451
+ {
452
+ enforceForRenamedProperties: false,
453
+ },
454
+ ],
455
+ "no-useless-catch": "error",
456
+ // xo-react rules
457
+ "react/boolean-prop-naming": [
458
+ "error",
459
+ {
460
+ validateNested: true,
461
+ },
462
+ ],
463
+ "react/button-has-type": "error",
464
+ "react/default-props-match-prop-types": "error",
465
+ "react/function-component-definition": [
466
+ "error",
467
+ {
468
+ namedComponents: "arrow-function",
469
+ unnamedComponents: "arrow-function",
470
+ },
471
+ ],
472
+ "react/no-access-state-in-setstate": "error",
473
+ "react/no-children-prop": "error",
474
+ "react/no-danger": "error",
475
+ "react/no-danger-with-children": "error",
476
+ "react/no-deprecated": "error",
477
+ "react/no-did-update-set-state": "error",
478
+ "react/no-direct-mutation-state": "error",
479
+ "react/no-find-dom-node": "error",
480
+ "react/no-is-mounted": "error",
481
+ "react/no-redundant-should-component-update": "error",
482
+ "react/no-render-return-value": "error",
483
+ "react/no-typos": "error",
484
+ "react/no-string-refs": [
485
+ "error",
486
+ {
487
+ noTemplateLiterals: true,
488
+ },
489
+ ],
490
+ "react/no-this-in-sfc": "error",
491
+ "react/no-unescaped-entities": "error",
492
+ "react/no-unknown-property": "error",
493
+ "react/no-unsafe": "error",
494
+ "react/no-unused-prop-types": "error",
495
+ "react/no-unused-state": "error",
496
+ "react/prefer-read-only-props": "error",
497
+ "react/require-default-props": [
498
+ "error",
499
+ {
500
+ forbidDefaultForRequired: true,
501
+ ignoreFunctionalComponents: true,
502
+ },
503
+ ],
504
+ "react/self-closing-comp": "error",
505
+ "react/state-in-constructor": ["error", "never"],
506
+ "react/static-property-placement": "error",
507
+ "react/style-prop-object": "error",
508
+ "react/void-dom-elements-no-children": "error",
509
+ "react/jsx-boolean-value": "error",
510
+ "react/jsx-no-bind": [
511
+ "error",
512
+ {
513
+ allowArrowFunctions: true,
514
+ },
515
+ ],
516
+ "react/jsx-no-comment-textnodes": "error",
517
+ "react/jsx-no-duplicate-props": [
518
+ "error",
519
+ {
520
+ ignoreCase: true,
521
+ },
522
+ ],
523
+ "react/jsx-no-script-url": "error",
524
+ "react/jsx-no-undef": "error",
525
+ "react/jsx-curly-brace-presence": ["error", "never"],
526
+ "react/jsx-fragments": ["error", "syntax"],
527
+ "react/jsx-pascal-case": "error",
528
+ "react/jsx-sort-props": [
529
+ "error",
530
+ {
531
+ callbacksLast: true,
532
+ shorthandFirst: true,
533
+ noSortAlphabetically: true,
534
+ reservedFirst: true,
535
+ },
536
+ ],
537
+ "react/jsx-uses-react": "error",
538
+ "react/jsx-uses-vars": "error",
539
+ "react-hooks/rules-of-hooks": "error",
540
+ "react-hooks/exhaustive-deps": "warn",
541
+ // Turning off rules that are too strict or don't apply to Remotion
542
+ "react/jsx-no-constructed-context-values": "off",
12
543
  "no-console": "off",
13
544
  "10x/react-in-scope": "off",
14
545
  "react/react-in-jsx-scope": "off",
15
546
  "react/jsx-key": "off",
16
547
  "react/jsx-no-target-blank": "off",
17
- "react/jsx-tag-spacing": "off",
18
548
  "react/prop-types": "off",
19
549
  // The following rules are handled by typescript-eslint
20
550
  ...(typescript
@@ -48,27 +578,24 @@ const getRules = (typescript) => {
48
578
  "@typescript-eslint/explicit-module-boundary-types": "off",
49
579
  };
50
580
  };
581
+ (0, patch_eslint_1.allowESLintShareableConfig)();
51
582
  module.exports = {
52
583
  env: {
53
584
  browser: true,
54
585
  es6: true,
55
586
  jest: true,
56
587
  },
57
- globals: {
58
- Text: "off",
59
- StyleSheet: "off",
60
- },
61
588
  plugins: [
62
- ...xoReact.plugins,
63
- "@typescript-eslint/eslint-plugin",
64
589
  "react",
590
+ "react-hooks",
591
+ "@typescript-eslint/eslint-plugin",
65
592
  "10x",
66
593
  "@remotion",
67
594
  ],
68
595
  extends: baseExtends,
69
596
  parser: require.resolve("@typescript-eslint/parser"),
70
597
  parserOptions: {
71
- ecmaVersion: 2020,
598
+ ecmaVersion: 2021,
72
599
  sourceType: "module",
73
600
  ecmaFeatures: {
74
601
  jsx: true,
@@ -85,7 +612,7 @@ module.exports = {
85
612
  rules: getRules(false),
86
613
  settings: {
87
614
  react: {
88
- version: "17.0.0",
615
+ version: "detect",
89
616
  },
90
617
  },
91
618
  };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,8CAA+C;AAC/C,kDAAmD;AACnD,2DAAkD;AAElD,MAAM,WAAW,GAAG,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC;AAEvD,MAAM,QAAQ,GAAG,CAAC,UAAmB,EAAE,EAAE;IACvC,OAAO;QACL,GAAG,EAAE,CAAC,KAAK;QACX,GAAG,OAAO,CAAC,KAAK;QAChB,yCAAyC,EAAE,KAAK;QAChD,yBAAyB,EAAE,KAAK;QAChC,YAAY,EAAE,KAAK;QACnB,oBAAoB,EAAE,KAAK;QAC3B,0BAA0B,EAAE,KAAK;QACjC,eAAe,EAAE,KAAK;QACtB,2BAA2B,EAAE,KAAK;QAClC,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,uDAAuD;QACvD,GAAG,CAAC,UAAU;YACZ,CAAC,CAAC;gBACE,gBAAgB,EAAE,KAAK;gBACvB,UAAU,EAAE,KAAK;gBACjB,WAAW,EAAE,KAAK;gBAClB,2FAA2F;gBAC3F,oCAAoC,EAAE,KAAK;aAC5C;YACH,CAAC,CAAC,EAAE,CAAC;QACP,yEAAyE;QACzE,qFAAqF;QACrF,+BAA+B,EAAE,KAAK;QACtC,uFAAuF;QACvF,0BAA0B,EAAE,KAAK;QACjC,iBAAiB,EAAE;YACjB,OAAO;YACP;gBACE,OAAO,EAAE,+BAAW;aACrB;SACF;QACD,iCAAiC;QACjC,yBAAyB,EAAE,KAAK;QAChC,iCAAiC,EAAE,MAAM;QACzC,oCAAoC,EA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kCAAkC;QAClC,KAAK;QACL,WAAW;KACZ;IACD,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,2BAA2B,CAAC;IACpD,aAAa,EAAE;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,QAAQ;QACpB,YAAY,EAAE;YACZ,GAAG,EAAE,IAAI;SACV;KACF;IACD,SAAS,EAAE;QACT;YACE,KAAK,EAAE,CAAC,YAAY,CAAC;YACrB,OAAO,EAAE,CAAC,uCAAuC,EAAE,GAAG,WAAW,CAAC;YAClE,MAAM,EAAE,2BAA2B;YACnC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC;SACtB;KACF;IACD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC;IACtB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;SAClB;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const allowESLintShareableConfig: () => void;
2
+ //# sourceMappingURL=patch-eslint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-eslint.d.ts","sourceRoot":"","sources":["../src/patch-eslint.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,0BAA0B,YAgRtC,CAAC"}