Skip to content

Commit

Permalink
chore(deps-dev): bump oxlint from 0.2.13 to 0.2.14 (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 21, 2024
1 parent 6022766 commit a870e1c
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 31 deletions.
48 changes: 48 additions & 0 deletions __snapshots__/rules.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ exports[`contains all the oxlint rules 1`] = `
"getter-return": [
"off",
],
"guard-for-in": [
"off",
],
"import/default": [
"off",
],
Expand All @@ -98,6 +101,9 @@ exports[`contains all the oxlint rules 1`] = `
"import/no-cycle": [
"off",
],
"import/no-default-export": [
"off",
],
"import/no-deprecated": [
"off",
],
Expand Down Expand Up @@ -188,9 +194,21 @@ exports[`contains all the oxlint rules 1`] = `
"jest/prefer-equality-matcher": [
"off",
],
"jest/prefer-expect-resolves": [
"off",
],
"jest/prefer-spy-on": [
"off",
],
"jest/prefer-strict-equal": [
"off",
],
"jest/prefer-to-be": [
"off",
],
"jest/prefer-to-contain": [
"off",
],
"jest/prefer-to-have-length": [
"off",
],
Expand Down Expand Up @@ -287,6 +305,12 @@ exports[`contains all the oxlint rules 1`] = `
"jsx-a11y/tabindex-no-positive": [
"off",
],
"max-lines": [
"off",
],
"max-params": [
"off",
],
"nextjs/google-font-display": [
"off",
],
Expand Down Expand Up @@ -374,6 +398,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-constant-condition": [
"off",
],
"no-continue": [
"off",
],
"no-control-regex": [
"off",
],
Expand Down Expand Up @@ -407,6 +434,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-empty-static-block": [
"off",
],
"no-eq-null": [
"off",
],
"no-eval": [
"off",
],
Expand Down Expand Up @@ -452,6 +482,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-obj-calls": [
"off",
],
"no-proto": [
"off",
],
"no-prototype-builtins": [
"off",
],
Expand Down Expand Up @@ -479,6 +512,12 @@ exports[`contains all the oxlint rules 1`] = `
"no-sparse-arrays": [
"off",
],
"no-template-curly-in-string": [
"off",
],
"no-ternary": [
"off",
],
"no-this-before-super": [
"off",
],
Expand Down Expand Up @@ -506,12 +545,18 @@ exports[`contains all the oxlint rules 1`] = `
"no-useless-escape": [
"off",
],
"no-useless-rename": [
"off",
],
"no-var": [
"off",
],
"no-void": [
"off",
],
"no-with": [
"off",
],
"react-perf/jsx-no-jsx-as-prop": [
"off",
],
Expand Down Expand Up @@ -584,6 +629,9 @@ exports[`contains all the oxlint rules 1`] = `
"require-yield": [
"off",
],
"tree-shaking/no-side-effects-in-initialization": [
"off",
],
"unicorn/catch-error-name": [
"off",
],
Expand Down
54 changes: 27 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 23 additions & 2 deletions rules.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ const eslintRules = {
"eqeqeq": "off",
"for-direction": "off",
"getter-return": "off",
"guard-for-in": "off",
"max-lines": "off",
"max-params": "off",
"no-ternary": "off",
"no-this-before-super": "off",
"no-template-curly-in-string": "off",
"no-array-constructor": "off",
"no-async-promise-executor": "off",
"no-bitwise": "off",
Expand All @@ -21,6 +26,7 @@ const eslintRules = {
"no-const-assign": "off",
"no-constant-binary-expression": "off",
"no-constant-condition": "off",
"no-continue": "off",
"no-control-regex": "off",
"no-debugger": "off",
"no-delete-var": "off",
Expand All @@ -35,6 +41,7 @@ const eslintRules = {
"no-eval": "off",
"no-ex-assign": "off",
"no-extra-boolean-cast": "off",
"no-eq-null": "off",
"no-fallthrough": "off",
"no-func-assign": "off",
"no-global-assign": "off",
Expand All @@ -47,6 +54,7 @@ const eslintRules = {
"no-new-wrappers": "off",
"no-nonoctal-decimal-escape": "off",
"no-obj-calls": "off",
"no-proto": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
"no-regex-spaces": "off",
Expand All @@ -64,8 +72,10 @@ const eslintRules = {
"no-unused-private-class-members": "off",
"no-useless-catch": "off",
"no-useless-escape": "off",
"no-useless-rename": "off",
"no-var": "off",
"no-void": "off",
"no-with": "off",
"require-yield": "off",
"use-isnan": "off",
"valid-typeof": "off"
Expand Down Expand Up @@ -120,7 +130,11 @@ const jestRules = {
"jest/no-test-return-statement": "off",
"jest/prefer-called-with": "off",
"jest/prefer-equality-matcher": "off",
"jest/prefer-expect-resolves": "off",
"jest/prefer-spy-on": "off",
"jest/prefer-strict-equal": "off",
"jest/prefer-to-be": "off",
"jest/prefer-to-contain": "off",
"jest/prefer-to-have-length": "off",
"jest/prefer-todo": "off",
"jest/require-to-throw-message": "off",
Expand Down Expand Up @@ -255,7 +269,8 @@ const importRules = {
"import/no-self-import": "off",
"import/no-unresolved": "off",
"import/no-unused-modules": "off",
"import/no-duplicates": "off"
"import/no-duplicates": "off",
"import/no-default-export": "off"
}


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


const treeShakingRules = {
"tree-shaking/no-side-effects-in-initialization": "off"
}

module.exports = {
eslintRules,
typescriptRules,
Expand All @@ -318,5 +338,6 @@ module.exports = {
reactPerfRules,
importRules,
jsxA11yRules,
nextjsRules
nextjsRules,
treeShakingRules
}
Loading

0 comments on commit a870e1c

Please sign in to comment.