Skip to content

Commit a870e1c

Browse files
chore(deps-dev): bump oxlint from 0.2.13 to 0.2.14 (#37)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 6022766 commit a870e1c

File tree

4 files changed

+121
-31
lines changed

4 files changed

+121
-31
lines changed

__snapshots__/rules.spec.ts.snap

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ exports[`contains all the oxlint rules 1`] = `
8080
"getter-return": [
8181
"off",
8282
],
83+
"guard-for-in": [
84+
"off",
85+
],
8386
"import/default": [
8487
"off",
8588
],
@@ -98,6 +101,9 @@ exports[`contains all the oxlint rules 1`] = `
98101
"import/no-cycle": [
99102
"off",
100103
],
104+
"import/no-default-export": [
105+
"off",
106+
],
101107
"import/no-deprecated": [
102108
"off",
103109
],
@@ -188,9 +194,21 @@ exports[`contains all the oxlint rules 1`] = `
188194
"jest/prefer-equality-matcher": [
189195
"off",
190196
],
197+
"jest/prefer-expect-resolves": [
198+
"off",
199+
],
200+
"jest/prefer-spy-on": [
201+
"off",
202+
],
191203
"jest/prefer-strict-equal": [
192204
"off",
193205
],
206+
"jest/prefer-to-be": [
207+
"off",
208+
],
209+
"jest/prefer-to-contain": [
210+
"off",
211+
],
194212
"jest/prefer-to-have-length": [
195213
"off",
196214
],
@@ -287,6 +305,12 @@ exports[`contains all the oxlint rules 1`] = `
287305
"jsx-a11y/tabindex-no-positive": [
288306
"off",
289307
],
308+
"max-lines": [
309+
"off",
310+
],
311+
"max-params": [
312+
"off",
313+
],
290314
"nextjs/google-font-display": [
291315
"off",
292316
],
@@ -374,6 +398,9 @@ exports[`contains all the oxlint rules 1`] = `
374398
"no-constant-condition": [
375399
"off",
376400
],
401+
"no-continue": [
402+
"off",
403+
],
377404
"no-control-regex": [
378405
"off",
379406
],
@@ -407,6 +434,9 @@ exports[`contains all the oxlint rules 1`] = `
407434
"no-empty-static-block": [
408435
"off",
409436
],
437+
"no-eq-null": [
438+
"off",
439+
],
410440
"no-eval": [
411441
"off",
412442
],
@@ -452,6 +482,9 @@ exports[`contains all the oxlint rules 1`] = `
452482
"no-obj-calls": [
453483
"off",
454484
],
485+
"no-proto": [
486+
"off",
487+
],
455488
"no-prototype-builtins": [
456489
"off",
457490
],
@@ -479,6 +512,12 @@ exports[`contains all the oxlint rules 1`] = `
479512
"no-sparse-arrays": [
480513
"off",
481514
],
515+
"no-template-curly-in-string": [
516+
"off",
517+
],
518+
"no-ternary": [
519+
"off",
520+
],
482521
"no-this-before-super": [
483522
"off",
484523
],
@@ -506,12 +545,18 @@ exports[`contains all the oxlint rules 1`] = `
506545
"no-useless-escape": [
507546
"off",
508547
],
548+
"no-useless-rename": [
549+
"off",
550+
],
509551
"no-var": [
510552
"off",
511553
],
512554
"no-void": [
513555
"off",
514556
],
557+
"no-with": [
558+
"off",
559+
],
515560
"react-perf/jsx-no-jsx-as-prop": [
516561
"off",
517562
],
@@ -584,6 +629,9 @@ exports[`contains all the oxlint rules 1`] = `
584629
"require-yield": [
585630
"off",
586631
],
632+
"tree-shaking/no-side-effects-in-initialization": [
633+
"off",
634+
],
587635
"unicorn/catch-error-name": [
588636
"off",
589637
],

pnpm-lock.yaml

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rules.cjs

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ const eslintRules = {
88
"eqeqeq": "off",
99
"for-direction": "off",
1010
"getter-return": "off",
11+
"guard-for-in": "off",
12+
"max-lines": "off",
13+
"max-params": "off",
14+
"no-ternary": "off",
1115
"no-this-before-super": "off",
16+
"no-template-curly-in-string": "off",
1217
"no-array-constructor": "off",
1318
"no-async-promise-executor": "off",
1419
"no-bitwise": "off",
@@ -21,6 +26,7 @@ const eslintRules = {
2126
"no-const-assign": "off",
2227
"no-constant-binary-expression": "off",
2328
"no-constant-condition": "off",
29+
"no-continue": "off",
2430
"no-control-regex": "off",
2531
"no-debugger": "off",
2632
"no-delete-var": "off",
@@ -35,6 +41,7 @@ const eslintRules = {
3541
"no-eval": "off",
3642
"no-ex-assign": "off",
3743
"no-extra-boolean-cast": "off",
44+
"no-eq-null": "off",
3845
"no-fallthrough": "off",
3946
"no-func-assign": "off",
4047
"no-global-assign": "off",
@@ -47,6 +54,7 @@ const eslintRules = {
4754
"no-new-wrappers": "off",
4855
"no-nonoctal-decimal-escape": "off",
4956
"no-obj-calls": "off",
57+
"no-proto": "off",
5058
"no-prototype-builtins": "off",
5159
"no-redeclare": "off",
5260
"no-regex-spaces": "off",
@@ -64,8 +72,10 @@ const eslintRules = {
6472
"no-unused-private-class-members": "off",
6573
"no-useless-catch": "off",
6674
"no-useless-escape": "off",
75+
"no-useless-rename": "off",
6776
"no-var": "off",
6877
"no-void": "off",
78+
"no-with": "off",
6979
"require-yield": "off",
7080
"use-isnan": "off",
7181
"valid-typeof": "off"
@@ -120,7 +130,11 @@ const jestRules = {
120130
"jest/no-test-return-statement": "off",
121131
"jest/prefer-called-with": "off",
122132
"jest/prefer-equality-matcher": "off",
133+
"jest/prefer-expect-resolves": "off",
134+
"jest/prefer-spy-on": "off",
123135
"jest/prefer-strict-equal": "off",
136+
"jest/prefer-to-be": "off",
137+
"jest/prefer-to-contain": "off",
124138
"jest/prefer-to-have-length": "off",
125139
"jest/prefer-todo": "off",
126140
"jest/require-to-throw-message": "off",
@@ -255,7 +269,8 @@ const importRules = {
255269
"import/no-self-import": "off",
256270
"import/no-unresolved": "off",
257271
"import/no-unused-modules": "off",
258-
"import/no-duplicates": "off"
272+
"import/no-duplicates": "off",
273+
"import/no-default-export": "off"
259274
}
260275

261276

@@ -309,6 +324,11 @@ const nextjsRules = {
309324
"nextjs/no-before-interactive-script-outside-document": "off"
310325
}
311326

327+
328+
const treeShakingRules = {
329+
"tree-shaking/no-side-effects-in-initialization": "off"
330+
}
331+
312332
module.exports = {
313333
eslintRules,
314334
typescriptRules,
@@ -318,5 +338,6 @@ module.exports = {
318338
reactPerfRules,
319339
importRules,
320340
jsxA11yRules,
321-
nextjsRules
341+
nextjsRules,
342+
treeShakingRules
322343
}

0 commit comments

Comments
 (0)