@2digits/oxlint-config 0.6.5 → 0.6.7

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 @@
1
+ import{t as e}from"./types-Bni6efgj.mjs";import{ignorePatterns as t}from"@2digits/constants";const n=e({plugins:[`import`],rules:{"import/consistent-type-specifier-style":void 0,"import/default":`error`,"import/export":`error`,"import/exports-last":void 0,"import/extensions":void 0,"import/first":[`error`,`disable-absolute-first`],"import/group-exports":void 0,"import/max-dependencies":void 0,"import/named":void 0,"import/namespace":`error`,"import/no-absolute-path":`error`,"import/no-amd":`error`,"import/no-anonymous-default-export":`error`,"import/no-commonjs":void 0,"import/no-cycle":`error`,"import/no-default-export":void 0,"import/no-duplicates":`error`,"import/no-dynamic-require":`error`,"import/no-empty-named-blocks":`error`,"import/no-mutable-exports":void 0,"import/no-named-as-default":`error`,"import/no-named-as-default-member":`error`,"import/no-named-default":`error`,"import/no-named-export":void 0,"import/no-namespace":void 0,"import/no-nodejs-modules":void 0,"import/no-relative-parent-imports":void 0,"import/no-self-import":`error`,"import/no-unassigned-import":void 0,"import/no-webpack-loader-syntax":`error`,"import/prefer-default-export":void 0,"import/unambiguous":void 0}}),r=e({plugins:[`eslint`],rules:{"eslint/accessor-pairs":[`error`,{enforceForClassMembers:!0,setWithoutGet:!0}],"eslint/array-callback-return":`error`,"eslint/arrow-body-style":[`error`,`as-needed`,{requireReturnForObjectLiteral:!1}],"eslint/block-scoped-var":`error`,"eslint/capitalized-comments":`error`,"eslint/class-methods-use-this":void 0,"eslint/complexity":[`error`,{variant:`modified`,max:20}],"eslint/constructor-super":`error`,"eslint/curly":`error`,"eslint/default-case":void 0,"eslint/default-case-last":`error`,"eslint/default-param-last":`error`,"eslint/eqeqeq":[`error`,`smart`],"eslint/for-direction":`error`,"eslint/func-name-matching":void 0,"eslint/func-names":[`error`,`always`,{generators:`never`}],"eslint/func-style":[`error`,`declaration`,{allowTypeAnnotation:!0}],"eslint/getter-return":`error`,"eslint/grouped-accessor-pairs":`error`,"eslint/guard-for-in":`error`,"eslint/id-length":void 0,"eslint/init-declarations":void 0,"eslint/logical-assignment-operators":[`error`,`always`],"eslint/max-classes-per-file":void 0,"eslint/max-depth":void 0,"eslint/max-lines":void 0,"eslint/max-lines-per-function":void 0,"eslint/max-nested-callbacks":void 0,"eslint/max-params":void 0,"eslint/max-statements":void 0,"eslint/new-cap":[`error`,{capIsNew:!1,newIsCap:!0,properties:!0}],"eslint/no-alert":`error`,"eslint/no-array-constructor":`error`,"eslint/no-async-promise-executor":`error`,"eslint/no-await-in-loop":`error`,"eslint/no-bitwise":void 0,"eslint/no-caller":`error`,"eslint/no-case-declarations":`error`,"eslint/no-class-assign":`error`,"eslint/no-compare-neg-zero":`error`,"eslint/no-cond-assign":[`error`,`always`],"eslint/no-console":void 0,"eslint/no-const-assign":`error`,"eslint/no-constant-binary-expression":`error`,"eslint/no-constant-condition":[`error`,{checkLoops:`allExceptWhileTrue`}],"eslint/no-constructor-return":`error`,"eslint/no-continue":void 0,"eslint/no-control-regex":`error`,"eslint/no-debugger":`error`,"eslint/no-delete-var":`error`,"eslint/no-div-regex":`error`,"eslint/no-dupe-class-members":`error`,"eslint/no-dupe-else-if":`error`,"eslint/no-dupe-keys":`error`,"eslint/no-duplicate-case":`error`,"eslint/no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"eslint/no-else-return":[`error`,{allowElseIf:!1}],"eslint/no-empty":[`error`,{allowEmptyCatch:!0}],"eslint/no-empty-character-class":`error`,"eslint/no-empty-function":void 0,"eslint/no-empty-pattern":`error`,"eslint/no-empty-static-block":`error`,"eslint/no-eq-null":void 0,"eslint/no-eval":`error`,"eslint/no-ex-assign":`error`,"eslint/no-extend-native":`error`,"eslint/no-extra-bind":`error`,"eslint/no-extra-boolean-cast":[`error`,{enforceForInnerExpressions:!0}],"eslint/no-extra-label":`error`,"eslint/no-fallthrough":`error`,"eslint/no-func-assign":`error`,"eslint/no-global-assign":`error`,"eslint/no-implicit-coercion":void 0,"eslint/no-import-assign":`error`,"eslint/no-inline-comments":void 0,"eslint/no-inner-declarations":void 0,"eslint/no-invalid-regexp":`error`,"eslint/no-irregular-whitespace":`error`,"eslint/no-iterator":`error`,"eslint/no-label-var":`error`,"eslint/no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"eslint/no-lone-blocks":`error`,"eslint/no-lonely-if":`error`,"eslint/no-loop-func":`error`,"eslint/no-loss-of-precision":`error`,"eslint/no-magic-numbers":void 0,"eslint/no-misleading-character-class":`error`,"eslint/no-multi-assign":`error`,"eslint/no-multi-str":`error`,"eslint/no-negated-condition":`error`,"eslint/no-nested-ternary":void 0,"eslint/no-new":`error`,"eslint/no-new-func":`error`,"eslint/no-new-native-nonconstructor":`error`,"eslint/no-new-wrappers":`error`,"eslint/no-nonoctal-decimal-escape":`error`,"eslint/no-obj-calls":`error`,"eslint/no-object-constructor":`error`,"eslint/no-param-reassign":void 0,"eslint/no-plusplus":void 0,"eslint/no-promise-executor-return":void 0,"eslint/no-proto":`error`,"eslint/no-prototype-builtins":`error`,"eslint/no-redeclare":`error`,"eslint/no-regex-spaces":`error`,"eslint/no-restricted-exports":void 0,"eslint/no-restricted-globals":[`error`,{message:"Use `globalThis` instead.",name:`global`},{message:"Use `globalThis` instead.",name:`self`}],"eslint/no-restricted-imports":void 0,"eslint/no-restricted-properties":void 0,"eslint/no-return-assign":`error`,"eslint/no-script-url":`error`,"eslint/no-self-assign":[`error`,{props:!0}],"eslint/no-self-compare":`error`,"eslint/no-sequences":`error`,"eslint/no-setter-return":`error`,"eslint/no-shadow":void 0,"eslint/no-shadow-restricted-names":`error`,"eslint/no-sparse-arrays":`error`,"eslint/no-template-curly-in-string":`error`,"eslint/no-ternary":void 0,"eslint/no-this-before-super":`error`,"eslint/no-throw-literal":`off`,"eslint/no-unassigned-vars":`error`,"eslint/no-undef":void 0,"eslint/no-undefined":void 0,"eslint/no-underscore-dangle":void 0,"eslint/no-unexpected-multiline":`error`,"eslint/no-unmodified-loop-condition":`error`,"eslint/no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"eslint/no-unreachable":`error`,"eslint/no-unsafe-finally":`error`,"eslint/no-unsafe-negation":`error`,"eslint/no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"eslint/no-unused-expressions":[`error`,{allowShortCircuit:!0,allowTaggedTemplates:!0,allowTernary:!0}],"eslint/no-unused-labels":`error`,"eslint/no-unused-private-class-members":`error`,"eslint/no-unused-vars":[`error`,{args:`none`,caughtErrors:`none`,vars:`all`,argsIgnorePattern:`^_`,ignoreRestSiblings:!0,varsIgnorePattern:`^_`}],"eslint/no-use-before-define":void 0,"eslint/no-useless-assignment":void 0,"eslint/no-useless-backreference":`error`,"eslint/no-useless-call":`error`,"eslint/no-useless-catch":`error`,"eslint/no-useless-computed-key":`error`,"eslint/no-useless-concat":`error`,"eslint/no-useless-constructor":`error`,"eslint/no-useless-escape":`error`,"eslint/no-useless-rename":`error`,"eslint/no-useless-return":`error`,"eslint/no-var":`error`,"eslint/no-void":void 0,"eslint/no-warning-comments":void 0,"eslint/no-with":`error`,"eslint/object-shorthand":`error`,"eslint/operator-assignment":[`error`,`always`],"eslint/prefer-const":[`error`,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"eslint/prefer-destructuring":[`error`,{enforceForRenamedProperties:!0}],"eslint/prefer-exponentiation-operator":`error`,"eslint/prefer-numeric-literals":`error`,"eslint/prefer-object-has-own":`error`,"eslint/prefer-object-spread":`error`,"eslint/prefer-promise-reject-errors":`error`,"eslint/prefer-regex-literals":void 0,"eslint/prefer-rest-params":`error`,"eslint/prefer-spread":`error`,"eslint/prefer-template":`error`,"eslint/preserve-caught-error":`error`,"eslint/radix":`error`,"eslint/require-await":void 0,"eslint/require-unicode-regexp":void 0,"eslint/require-yield":`error`,"eslint/sort-imports":void 0,"eslint/sort-keys":void 0,"eslint/sort-vars":`error`,"eslint/symbol-description":`error`,"eslint/unicode-bom":[`error`,`never`],"eslint/use-isnan":[`error`,{enforceForIndexOf:!0,enforceForSwitchCase:!0}],"eslint/valid-typeof":[`error`,{requireStringLiterals:!0}],"eslint/vars-on-top":`error`,"eslint/yoda":[`error`,`never`]}}),i=e({plugins:[`jsdoc`],settings:{jsdoc:{}},rules:{"jsdoc/check-access":`error`,"jsdoc/check-property-names":`error`,"jsdoc/check-tag-names":[`error`,{typed:!0}],"jsdoc/empty-tags":`error`,"jsdoc/implements-on-classes":`error`,"jsdoc/no-defaults":`error`,"jsdoc/require-param":`error`,"jsdoc/require-param-name":`error`,"jsdoc/require-property":`error`,"jsdoc/require-property-description":`error`,"jsdoc/require-property-name":`error`,"jsdoc/require-returns-description":`error`,"jsdoc/require-yields":`error`}}),a=e({plugins:[`node`],rules:{"node/handle-callback-err":`error`,"node/no-exports-assign":`error`,"node/no-new-require":`error`,"node/no-path-concat":`error`}}),o=e({plugins:[`oxc`],rules:{"oxc/approx-constant":`error`,"oxc/bad-array-method-on-arguments":`error`,"oxc/bad-bitwise-operator":`error`,"oxc/bad-char-at-comparison":`error`,"oxc/bad-comparison-sequence":`error`,"oxc/bad-min-max-func":`error`,"oxc/bad-object-literal-comparison":`error`,"oxc/bad-replace-all-arg":`error`,"oxc/branches-sharing-code":`error`,"oxc/const-comparisons":`error`,"oxc/double-comparisons":`error`,"oxc/erasing-op":`error`,"oxc/misrefactored-assign-op":`error`,"oxc/missing-throw":`error`,"oxc/no-accumulating-spread":`error`,"oxc/no-async-await":void 0,"oxc/no-async-endpoint-handlers":void 0,"oxc/no-barrel-file":[`error`,{threshold:1e4}],"oxc/no-const-enum":`error`,"oxc/no-map-spread":void 0,"oxc/no-optional-chaining":void 0,"oxc/no-rest-spread-properties":void 0,"oxc/no-this-in-exported-function":`error`,"oxc/number-arg-out-of-range":`error`,"oxc/only-used-in-recursion":`error`,"oxc/uninvoked-array-callback":`error`}}),s=e({env:{browser:!0,node:!0},options:{denyWarnings:!0,reportUnusedDisableDirectives:`deny`},categories:{nursery:`off`,pedantic:`off`,correctness:`off`,perf:`off`,style:`off`,restriction:`off`,suspicious:`off`},extends:[r,e({plugins:[`unicorn`],rules:{"unicorn/catch-error-name":`error`,"unicorn/consistent-assert":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-function-scoping":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/custom-error-definition":void 0,"unicorn/empty-brace-spaces":void 0,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/filename-case":void 0,"unicorn/new-for-builtins":`error`,"unicorn/no-abusive-eslint-disable":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-callback-reference":void 0,"unicorn/no-array-for-each":`error`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-reduce":`error`,"unicorn/no-array-reverse":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-await-in-promise-methods":`error`,"unicorn/no-console-spaces":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-empty-file":`error`,"unicorn/no-hex-escape":`error`,"unicorn/no-immediate-mutation":`error`,"unicorn/no-instanceof-array":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-invalid-fetch-options":`error`,"unicorn/no-invalid-remove-event-listener":`error`,"unicorn/no-length-as-slice-end":`error`,"unicorn/no-lonely-if":`error`,"unicorn/no-magic-array-flat-depth":`error`,"unicorn/no-negated-condition":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-nested-ternary":void 0,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-null":`error`,"unicorn/no-object-as-default-parameter":`error`,"unicorn/no-process-exit":`error`,"unicorn/no-single-promise-in-promise-methods":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-thenable":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-unnecessary-array-flat-depth":`error`,"unicorn/no-unnecessary-array-splice-count":`error`,"unicorn/no-unnecessary-await":`error`,"unicorn/no-unnecessary-slice-end":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-useless-collection-argument":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-fallback-in-spread":`error`,"unicorn/no-useless-iterator-to-array":`error`,"unicorn/no-useless-length-check":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-spread":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/no-useless-undefined":[`error`,{checkArguments:!1,checkArrowFunctionBody:!1}],"unicorn/no-zero-fractions":`error`,"unicorn/number-literal-case":`error`,"unicorn/numeric-separators-style":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-index-of":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":[`error`,{checkAllIndexAccess:!1}],"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-code-point":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-dom-node-append":`error`,"unicorn/prefer-dom-node-dataset":`error`,"unicorn/prefer-dom-node-remove":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-event-target":`error`,"unicorn/prefer-global-this":`error`,"unicorn/prefer-import-meta-properties":void 0,"unicorn/prefer-includes":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-modern-dom-apis":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":void 0,"unicorn/prefer-native-coercion-functions":`error`,"unicorn/prefer-negative-index":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-from-entries":[`error`,{functions:[]}],"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-prototype-methods":`error`,"unicorn/prefer-query-selector":`error`,"unicorn/prefer-reflect-apply":`error`,"unicorn/prefer-regexp-test":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-set-size":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-starts-ends-with":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-structured-clone":[`error`,{functions:[]}],"unicorn/prefer-ternary":[`error`,`only-single-line`],"unicorn/prefer-top-level-await":void 0,"unicorn/prefer-type-error":`error`,"unicorn/relative-url-style":`error`,"unicorn/require-array-join-separator":`error`,"unicorn/require-module-attributes":`error`,"unicorn/require-module-specifiers":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-post-message-target-origin":void 0,"unicorn/switch-case-braces":[`error`,`always`],"unicorn/switch-case-break-position":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`error`}}),n,a,o,i],ignorePatterns:t});export{s as t};
package/dist/base.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as TypedOxlintConfig } from "./types-Dd1tbFEY.mjs";
1
+ import { n as TypedOxlintConfig } from "./types-Tm96NtAH.mjs";
2
2
 
3
3
  //#region src/base.d.ts
4
4
  declare const baseConfig: TypedOxlintConfig;
package/dist/base.mjs CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./base-vN2IXLZC.mjs";export{e as baseConfig};
1
+ import{t as e}from"./base-VU2GwQZ2.mjs";export{e as baseConfig};
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as RuleName, i as defineTypedConfig, n as TypedOxlintConfig, o as RuleOptions, r as TypedOxlintOverride, t as Rules } from "./types-Dd1tbFEY.mjs";
1
+ import { a as RuleName, i as defineTypedConfig, n as TypedOxlintConfig, o as RuleOptions, r as TypedOxlintOverride, t as Rules } from "./types-Tm96NtAH.mjs";
2
2
  import { OxlintConfig } from "oxlint";
3
3
 
4
4
  //#region src/config.d.ts
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./types-Bni6efgj.mjs";import{t}from"./base-vN2IXLZC.mjs";import{t as n}from"./typescript-JohfbQYF.mjs";import{defu as r}from"defu";const i=e(r(t,n));function a(...t){let[n,...a]=t;return e(r(n,...a,i))}export{a as default,a as withTwoDigits,i as twoDigits};
1
+ import{t as e}from"./types-Bni6efgj.mjs";import{t}from"./base-VU2GwQZ2.mjs";import{t as n}from"./typescript-8FIHWB16.mjs";import{defu as r}from"defu";const i=e(r(t,n));function a(...t){let[n,...a]=t;return e(r(n,...a,i))}export{a as default,a as withTwoDigits,i as twoDigits};
@@ -222,6 +222,16 @@ interface RuleOptions {
222
222
  * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/init-declarations.html
223
223
  */
224
224
  'eslint/init-declarations'?: DummyRule;
225
+ /**
226
+ * Logical assignment operators
227
+ *
228
+ * plugin: Eslint
229
+ * category: Style
230
+ * type-aware: false
231
+ *
232
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/logical-assignment-operators.html
233
+ */
234
+ 'eslint/logical-assignment-operators'?: DummyRule;
225
235
  /**
226
236
  * Max classes per file
227
237
  *
@@ -1072,6 +1082,16 @@ interface RuleOptions {
1072
1082
  * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-imports.html
1073
1083
  */
1074
1084
  'eslint/no-restricted-imports'?: DummyRule;
1085
+ /**
1086
+ * No restricted properties
1087
+ *
1088
+ * plugin: Eslint
1089
+ * category: Restriction
1090
+ * type-aware: false
1091
+ *
1092
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-properties.html
1093
+ */
1094
+ 'eslint/no-restricted-properties'?: DummyRule;
1075
1095
  /**
1076
1096
  * No return assign
1077
1097
  *
@@ -1592,6 +1612,16 @@ interface RuleOptions {
1592
1612
  * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.html
1593
1613
  */
1594
1614
  'eslint/prefer-promise-reject-errors'?: DummyRule;
1615
+ /**
1616
+ * Prefer regex literals
1617
+ *
1618
+ * plugin: Eslint
1619
+ * category: Style
1620
+ * type-aware: false
1621
+ *
1622
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-regex-literals.html
1623
+ */
1624
+ 'eslint/prefer-regex-literals'?: DummyRule;
1595
1625
  /**
1596
1626
  * Prefer rest params
1597
1627
  *
@@ -1652,6 +1682,16 @@ interface RuleOptions {
1652
1682
  * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-await.html
1653
1683
  */
1654
1684
  'eslint/require-await'?: DummyRule;
1685
+ /**
1686
+ * Require unicode regexp
1687
+ *
1688
+ * plugin: Eslint
1689
+ * category: Pedantic
1690
+ * type-aware: false
1691
+ *
1692
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-unicode-regexp.html
1693
+ */
1694
+ 'eslint/require-unicode-regexp'?: DummyRule;
1655
1695
  /**
1656
1696
  * Require yield
1657
1697
  *
@@ -3002,6 +3042,16 @@ interface RuleOptions {
3002
3042
  * @see https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.html
3003
3043
  */
3004
3044
  'jsx_a11y/img-redundant-alt'?: DummyRule;
3045
+ /**
3046
+ * Interactive supports focus
3047
+ *
3048
+ * plugin: Jsx_a11y
3049
+ * category: Correctness
3050
+ * type-aware: false
3051
+ *
3052
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/interactive-supports-focus.html
3053
+ */
3054
+ 'jsx_a11y/interactive-supports-focus'?: DummyRule;
3005
3055
  /**
3006
3056
  * Label has associated control
3007
3057
  *
@@ -3082,6 +3132,16 @@ interface RuleOptions {
3082
3132
  * @see https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.html
3083
3133
  */
3084
3134
  'jsx_a11y/no-distracting-elements'?: DummyRule;
3135
+ /**
3136
+ * No noninteractive element to interactive role
3137
+ *
3138
+ * plugin: Jsx_a11y
3139
+ * category: Correctness
3140
+ * type-aware: false
3141
+ *
3142
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-to-interactive-role.html
3143
+ */
3144
+ 'jsx_a11y/no-noninteractive-element-to-interactive-role'?: DummyRule;
3085
3145
  /**
3086
3146
  * No noninteractive tabindex
3087
3147
  *
@@ -5942,6 +6002,16 @@ interface RuleOptions {
5942
6002
  * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.html
5943
6003
  */
5944
6004
  'unicorn/no-magic-array-flat-depth'?: DummyRule;
6005
+ /**
6006
+ * No negated condition
6007
+ *
6008
+ * plugin: Unicorn
6009
+ * category: Pedantic
6010
+ * type-aware: false
6011
+ *
6012
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-negated-condition.html
6013
+ */
6014
+ 'unicorn/no-negated-condition'?: DummyRule;
5945
6015
  /**
5946
6016
  * No negation in equality check
5947
6017
  *
@@ -7092,6 +7162,66 @@ interface RuleOptions {
7092
7162
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-mocks-import.html
7093
7163
  */
7094
7164
  'vitest/no-mocks-import'?: DummyRule;
7165
+ /**
7166
+ * No restricted matchers
7167
+ *
7168
+ * plugin: Vitest
7169
+ * category: Style
7170
+ * type-aware: false
7171
+ *
7172
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-matchers.html
7173
+ */
7174
+ 'vitest/no-restricted-matchers'?: DummyRule;
7175
+ /**
7176
+ * No restricted vi methods
7177
+ *
7178
+ * plugin: Vitest
7179
+ * category: Style
7180
+ * type-aware: false
7181
+ *
7182
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-vi-methods.html
7183
+ */
7184
+ 'vitest/no-restricted-vi-methods'?: DummyRule;
7185
+ /**
7186
+ * No standalone expect
7187
+ *
7188
+ * plugin: Vitest
7189
+ * category: Correctness
7190
+ * type-aware: false
7191
+ *
7192
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-standalone-expect.html
7193
+ */
7194
+ 'vitest/no-standalone-expect'?: DummyRule;
7195
+ /**
7196
+ * No test prefixes
7197
+ *
7198
+ * plugin: Vitest
7199
+ * category: Style
7200
+ * type-aware: false
7201
+ *
7202
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-prefixes.html
7203
+ */
7204
+ 'vitest/no-test-prefixes'?: DummyRule;
7205
+ /**
7206
+ * No test return statement
7207
+ *
7208
+ * plugin: Vitest
7209
+ * category: Style
7210
+ * type-aware: false
7211
+ *
7212
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-return-statement.html
7213
+ */
7214
+ 'vitest/no-test-return-statement'?: DummyRule;
7215
+ /**
7216
+ * No unneeded async expect function
7217
+ *
7218
+ * plugin: Vitest
7219
+ * category: Style
7220
+ * type-aware: false
7221
+ *
7222
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-unneeded-async-expect-function.html
7223
+ */
7224
+ 'vitest/no-unneeded-async-expect-function'?: DummyRule;
7095
7225
  /**
7096
7226
  * Prefer called exactly once with
7097
7227
  *
@@ -7122,6 +7252,26 @@ interface RuleOptions {
7122
7252
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-times.html
7123
7253
  */
7124
7254
  'vitest/prefer-called-times'?: DummyRule;
7255
+ /**
7256
+ * Prefer called with
7257
+ *
7258
+ * plugin: Vitest
7259
+ * category: Style
7260
+ * type-aware: false
7261
+ *
7262
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-with.html
7263
+ */
7264
+ 'vitest/prefer-called-with'?: DummyRule;
7265
+ /**
7266
+ * Prefer comparison matcher
7267
+ *
7268
+ * plugin: Vitest
7269
+ * category: Style
7270
+ * type-aware: false
7271
+ *
7272
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-comparison-matcher.html
7273
+ */
7274
+ 'vitest/prefer-comparison-matcher'?: DummyRule;
7125
7275
  /**
7126
7276
  * Prefer describe function title
7127
7277
  *
@@ -7132,6 +7282,26 @@ interface RuleOptions {
7132
7282
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-describe-function-title.html
7133
7283
  */
7134
7284
  'vitest/prefer-describe-function-title'?: DummyRule;
7285
+ /**
7286
+ * Prefer each
7287
+ *
7288
+ * plugin: Vitest
7289
+ * category: Style
7290
+ * type-aware: false
7291
+ *
7292
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-each.html
7293
+ */
7294
+ 'vitest/prefer-each'?: DummyRule;
7295
+ /**
7296
+ * Prefer equality matcher
7297
+ *
7298
+ * plugin: Vitest
7299
+ * category: Style
7300
+ * type-aware: false
7301
+ *
7302
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-equality-matcher.html
7303
+ */
7304
+ 'vitest/prefer-equality-matcher'?: DummyRule;
7135
7305
  /**
7136
7306
  * Prefer expect assertions
7137
7307
  *
@@ -7142,6 +7312,16 @@ interface RuleOptions {
7142
7312
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-assertions.html
7143
7313
  */
7144
7314
  'vitest/prefer-expect-assertions'?: DummyRule;
7315
+ /**
7316
+ * Prefer expect resolves
7317
+ *
7318
+ * plugin: Vitest
7319
+ * category: Style
7320
+ * type-aware: false
7321
+ *
7322
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-resolves.html
7323
+ */
7324
+ 'vitest/prefer-expect-resolves'?: DummyRule;
7145
7325
  /**
7146
7326
  * Prefer expect type of
7147
7327
  *
@@ -7152,6 +7332,26 @@ interface RuleOptions {
7152
7332
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-type-of.html
7153
7333
  */
7154
7334
  'vitest/prefer-expect-type-of'?: DummyRule;
7335
+ /**
7336
+ * Prefer hooks in order
7337
+ *
7338
+ * plugin: Vitest
7339
+ * category: Style
7340
+ * type-aware: false
7341
+ *
7342
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-in-order.html
7343
+ */
7344
+ 'vitest/prefer-hooks-in-order'?: DummyRule;
7345
+ /**
7346
+ * Prefer hooks on top
7347
+ *
7348
+ * plugin: Vitest
7349
+ * category: Style
7350
+ * type-aware: false
7351
+ *
7352
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-on-top.html
7353
+ */
7354
+ 'vitest/prefer-hooks-on-top'?: DummyRule;
7155
7355
  /**
7156
7356
  * Prefer import in mock
7157
7357
  *
@@ -7172,6 +7372,56 @@ interface RuleOptions {
7172
7372
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-importing-vitest-globals.html
7173
7373
  */
7174
7374
  'vitest/prefer-importing-vitest-globals'?: DummyRule;
7375
+ /**
7376
+ * Prefer lowercase title
7377
+ *
7378
+ * plugin: Vitest
7379
+ * category: Style
7380
+ * type-aware: false
7381
+ *
7382
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-lowercase-title.html
7383
+ */
7384
+ 'vitest/prefer-lowercase-title'?: DummyRule;
7385
+ /**
7386
+ * Prefer mock promise shorthand
7387
+ *
7388
+ * plugin: Vitest
7389
+ * category: Style
7390
+ * type-aware: false
7391
+ *
7392
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-promise-shorthand.html
7393
+ */
7394
+ 'vitest/prefer-mock-promise-shorthand'?: DummyRule;
7395
+ /**
7396
+ * Prefer mock return shorthand
7397
+ *
7398
+ * plugin: Vitest
7399
+ * category: Style
7400
+ * type-aware: false
7401
+ *
7402
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-return-shorthand.html
7403
+ */
7404
+ 'vitest/prefer-mock-return-shorthand'?: DummyRule;
7405
+ /**
7406
+ * Prefer snapshot hint
7407
+ *
7408
+ * plugin: Vitest
7409
+ * category: Correctness
7410
+ * type-aware: false
7411
+ *
7412
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-snapshot-hint.html
7413
+ */
7414
+ 'vitest/prefer-snapshot-hint'?: DummyRule;
7415
+ /**
7416
+ * Prefer spy on
7417
+ *
7418
+ * plugin: Vitest
7419
+ * category: Style
7420
+ * type-aware: false
7421
+ *
7422
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-spy-on.html
7423
+ */
7424
+ 'vitest/prefer-spy-on'?: DummyRule;
7175
7425
  /**
7176
7426
  * Prefer strict boolean matchers
7177
7427
  *
@@ -7182,6 +7432,26 @@ interface RuleOptions {
7182
7432
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-boolean-matchers.html
7183
7433
  */
7184
7434
  'vitest/prefer-strict-boolean-matchers'?: DummyRule;
7435
+ /**
7436
+ * Prefer strict equal
7437
+ *
7438
+ * plugin: Vitest
7439
+ * category: Style
7440
+ * type-aware: false
7441
+ *
7442
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-equal.html
7443
+ */
7444
+ 'vitest/prefer-strict-equal'?: DummyRule;
7445
+ /**
7446
+ * Prefer to be
7447
+ *
7448
+ * plugin: Vitest
7449
+ * category: Style
7450
+ * type-aware: false
7451
+ *
7452
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be.html
7453
+ */
7454
+ 'vitest/prefer-to-be'?: DummyRule;
7185
7455
  /**
7186
7456
  * Prefer to be falsy
7187
7457
  *
@@ -7222,6 +7492,26 @@ interface RuleOptions {
7222
7492
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-contain.html
7223
7493
  */
7224
7494
  'vitest/prefer-to-contain'?: DummyRule;
7495
+ /**
7496
+ * Prefer to have been called times
7497
+ *
7498
+ * plugin: Vitest
7499
+ * category: Style
7500
+ * type-aware: false
7501
+ *
7502
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-been-called-times.html
7503
+ */
7504
+ 'vitest/prefer-to-have-been-called-times'?: DummyRule;
7505
+ /**
7506
+ * Prefer to have length
7507
+ *
7508
+ * plugin: Vitest
7509
+ * category: Style
7510
+ * type-aware: false
7511
+ *
7512
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-length.html
7513
+ */
7514
+ 'vitest/prefer-to-have-length'?: DummyRule;
7225
7515
  /**
7226
7516
  * Prefer todo
7227
7517
  *
@@ -7242,6 +7532,16 @@ interface RuleOptions {
7242
7532
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-awaited-expect-poll.html
7243
7533
  */
7244
7534
  'vitest/require-awaited-expect-poll'?: DummyRule;
7535
+ /**
7536
+ * Require hook
7537
+ *
7538
+ * plugin: Vitest
7539
+ * category: Style
7540
+ * type-aware: false
7541
+ *
7542
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-hook.html
7543
+ */
7544
+ 'vitest/require-hook'?: DummyRule;
7245
7545
  /**
7246
7546
  * Require local test context for concurrent snapshots
7247
7547
  *
@@ -7272,6 +7572,16 @@ interface RuleOptions {
7272
7572
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-test-timeout.html
7273
7573
  */
7274
7574
  'vitest/require-test-timeout'?: DummyRule;
7575
+ /**
7576
+ * Require to throw message
7577
+ *
7578
+ * plugin: Vitest
7579
+ * category: Correctness
7580
+ * type-aware: false
7581
+ *
7582
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-to-throw-message.html
7583
+ */
7584
+ 'vitest/require-to-throw-message'?: DummyRule;
7275
7585
  /**
7276
7586
  * Require top level describe
7277
7587
  *
@@ -7282,6 +7592,16 @@ interface RuleOptions {
7282
7592
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-top-level-describe.html
7283
7593
  */
7284
7594
  'vitest/require-top-level-describe'?: DummyRule;
7595
+ /**
7596
+ * Valid describe callback
7597
+ *
7598
+ * plugin: Vitest
7599
+ * category: Correctness
7600
+ * type-aware: false
7601
+ *
7602
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-describe-callback.html
7603
+ */
7604
+ 'vitest/valid-describe-callback'?: DummyRule;
7285
7605
  /**
7286
7606
  * Valid expect
7287
7607
  *
@@ -7292,6 +7612,16 @@ interface RuleOptions {
7292
7612
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect.html
7293
7613
  */
7294
7614
  'vitest/valid-expect'?: DummyRule;
7615
+ /**
7616
+ * Valid expect in promise
7617
+ *
7618
+ * plugin: Vitest
7619
+ * category: Correctness
7620
+ * type-aware: false
7621
+ *
7622
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect-in-promise.html
7623
+ */
7624
+ 'vitest/valid-expect-in-promise'?: DummyRule;
7295
7625
  /**
7296
7626
  * Valid title
7297
7627
  *
@@ -7402,6 +7732,16 @@ interface RuleOptions {
7402
7732
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-events-api.html
7403
7733
  */
7404
7734
  'vue/no-deprecated-events-api'?: DummyRule;
7735
+ /**
7736
+ * No deprecated model definition
7737
+ *
7738
+ * plugin: Vue
7739
+ * category: Correctness
7740
+ * type-aware: false
7741
+ *
7742
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-model-definition.html
7743
+ */
7744
+ 'vue/no-deprecated-model-definition'?: DummyRule;
7405
7745
  /**
7406
7746
  * No deprecated vue config keycodes
7407
7747
  *
@@ -7502,6 +7842,16 @@ interface RuleOptions {
7502
7842
  * @see https://oxc.rs/docs/guide/usage/linter/rules/vue/require-typed-ref.html
7503
7843
  */
7504
7844
  'vue/require-typed-ref'?: DummyRule;
7845
+ /**
7846
+ * Return in computed property
7847
+ *
7848
+ * plugin: Vue
7849
+ * category: Correctness
7850
+ * type-aware: false
7851
+ *
7852
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/vue/return-in-computed-property.html
7853
+ */
7854
+ 'vue/return-in-computed-property'?: DummyRule;
7505
7855
  /**
7506
7856
  * Valid define emits
7507
7857
  *
@@ -1 +1 @@
1
- import{t as e}from"./types-Bni6efgj.mjs";import{ignorePatterns as t}from"@2digits/constants";const n=[`**/*.d.ts`],r=[`**/*.{test,spec}.ts?(x)`],i=[`**/*.js`,`**/*.cjs`,`**/*.cts`],a=e({overrides:[{files:[...n],rules:{"eslint/no-duplicate-imports":`off`,"eslint/no-undef":`off`,"eslint/no-unused-vars":`off`,"import/unambiguous":`off`}},{files:[...r],globals:{afterAll:`readonly`,afterEach:`readonly`,beforeAll:`readonly`,beforeEach:`readonly`,bench:`readonly`,describe:`readonly`,expect:`readonly`,expectTypeOf:`readonly`,it:`readonly`,suite:`readonly`,test:`readonly`,vi:`readonly`},rules:{"eslint/no-unused-expressions":`off`}},{files:[...i],rules:{"typescript/no-import-type-side-effects":`off`}}]}),o=e({settings:{"react-x":{version:`detect`}},options:{typeAware:!0},plugins:[`react`,`react-perf`],jsPlugins:[{name:`react-compiler`,specifier:import.meta.resolve(`eslint-plugin-react-compiler`)},{name:`stylistic`,specifier:import.meta.resolve(`@stylistic/eslint-plugin`)}],rules:{"react/button-has-type":`error`,"react/exhaustive-deps":`error`,"react/iframe-missing-sandbox":`error`,"react/jsx-key":`error`,"react/jsx-no-comment-textnodes":`warn`,"react/jsx-no-constructed-context-values":`error`,"react/jsx-no-script-url":`warn`,"react/jsx-no-target-blank":`error`,"react/jsx-no-useless-fragment":`off`,"react/no-array-index-key":`warn`,"react/no-children-prop":`error`,"react/no-clone-element":`warn`,"react/no-danger":`warn`,"react/no-danger-with-children":`error`,"react/no-did-mount-set-state":`warn`,"react/no-direct-mutation-state":`error`,"react/no-find-dom-node":`error`,"react/no-namespace":`error`,"react/no-redundant-should-component-update":`error`,"react/no-render-return-value":`error`,"react/no-unsafe":`warn`,"react/no-will-update-set-state":`warn`,"react/rules-of-hooks":`error`,"react/self-closing-comp":`error`,"react/void-dom-elements-no-children":`error`,"react_perf/jsx-no-jsx-as-prop":`error`,"react-compiler/react-compiler":`error`,"stylistic/jsx-curly-newline":`off`,"stylistic/jsx-newline":[`error`,{prevent:!1}]}}),s=e({options:{denyWarnings:!0,reportUnusedDisableDirectives:`deny`},categories:{nursery:`off`,pedantic:`off`,correctness:`off`,perf:`off`,style:`off`,restriction:`off`,suspicious:`off`},extends:[e({plugins:[`typescript`],options:{typeAware:!0},rules:{"typescript/adjacent-overload-signatures":`error`,"typescript/array-type":[`error`,{default:`generic`,readonly:`generic`}],"typescript/await-thenable":`error`,"typescript/ban-ts-comment":[`error`,{"ts-ignore":`allow-with-description`}],"typescript/ban-tslint-comment":`error`,"typescript/class-literal-property-style":`error`,"typescript/consistent-generic-constructors":[`error`,{option:`constructor`}],"typescript/consistent-indexed-object-style":[`error`,`record`],"typescript/consistent-type-assertions":[`error`,{assertionStyle:`as`}],"typescript/consistent-type-definitions":[`error`,`interface`],"typescript/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"typescript/consistent-type-imports":[`error`,{fixStyle:`inline-type-imports`,prefer:`type-imports`,disallowTypeAnnotations:!1}],"typescript/dot-notation":[`error`,{allowKeywords:!0}],"typescript/no-array-delete":`error`,"typescript/no-base-to-string":`error`,"typescript/no-confusing-non-null-assertion":`error`,"typescript/no-confusing-void-expression":[`error`,{ignoreArrowShorthand:!0,ignoreVoidOperator:!0}],"typescript/no-deprecated":`error`,"typescript/no-duplicate-enum-values":`error`,"typescript/no-duplicate-type-constituents":`error`,"typescript/no-dynamic-delete":`error`,"typescript/no-empty-interface":[`error`,{allowSingleExtends:!0}],"typescript/no-empty-object-type":[`error`,{allowInterfaces:`with-single-extends`,allowObjectTypes:`never`}],"typescript/no-explicit-any":[`error`,{fixToUnknown:!0,ignoreRestArgs:!0}],"typescript/no-extra-non-null-assertion":`error`,"typescript/no-extraneous-class":[`error`,{allowStaticOnly:!0}],"typescript/no-floating-promises":`error`,"typescript/no-for-in-array":`error`,"typescript/no-implied-eval":`error`,"typescript/no-import-type-side-effects":`error`,"typescript/no-inferrable-types":`error`,"typescript/no-invalid-void-type":`error`,"typescript/no-meaningless-void-operator":`error`,"typescript/no-misused-new":`error`,"typescript/no-misused-promises":[`error`,{checksVoidReturn:!1}],"typescript/no-misused-spread":`error`,"typescript/no-mixed-enums":`error`,"typescript/no-namespace":[`error`,{allowDefinitionFiles:!0}],"typescript/no-non-null-asserted-nullish-coalescing":`error`,"typescript/no-non-null-asserted-optional-chain":`error`,"typescript/no-non-null-assertion":`error`,"typescript/no-redundant-type-constituents":`error`,"typescript/no-require-imports":`error`,"typescript/no-this-alias":`error`,"typescript/no-unnecessary-boolean-literal-compare":`error`,"typescript/no-unnecessary-condition":[`error`,{allowConstantLoopConditions:`only-allowed-literals`}],"typescript/no-unnecessary-parameter-property-assignment":`error`,"typescript/no-unnecessary-qualifier":`error`,"typescript/no-unnecessary-template-expression":`error`,"typescript/no-unnecessary-type-arguments":`error`,"typescript/no-unnecessary-type-assertion":`error`,"typescript/no-unnecessary-type-constraint":`error`,"typescript/no-unnecessary-type-conversion":`error`,"typescript/no-unnecessary-type-parameters":`error`,"typescript/no-unsafe-argument":`error`,"typescript/no-unsafe-assignment":`error`,"typescript/no-unsafe-call":`error`,"typescript/no-unsafe-declaration-merging":`error`,"typescript/no-unsafe-enum-comparison":`error`,"typescript/no-unsafe-function-type":`error`,"typescript/no-unsafe-member-access":`error`,"typescript/no-unsafe-return":`error`,"typescript/no-unsafe-unary-minus":`error`,"typescript/no-useless-default-assignment":`error`,"typescript/no-useless-empty-export":`error`,"typescript/no-var-requires":`error`,"typescript/no-wrapper-object-types":`error`,"typescript/non-nullable-type-assertion-style":`error`,"typescript/only-throw-error":`error`,"typescript/parameter-properties":[`error`,{prefer:`class-property`}],"typescript/prefer-as-const":`error`,"typescript/prefer-enum-initializers":`error`,"typescript/prefer-find":`error`,"typescript/prefer-for-of":`error`,"typescript/prefer-function-type":`error`,"typescript/prefer-includes":`error`,"typescript/prefer-literal-enum-member":`error`,"typescript/prefer-namespace-keyword":`error`,"typescript/prefer-nullish-coalescing":`error`,"typescript/prefer-optional-chain":`error`,"typescript/prefer-promise-reject-errors":`error`,"typescript/prefer-readonly":`error`,"typescript/prefer-reduce-type-parameter":`error`,"typescript/prefer-regexp-exec":`error`,"typescript/prefer-return-this-type":`error`,"typescript/prefer-string-starts-ends-with":`error`,"typescript/related-getter-setter-pairs":`error`,"typescript/require-array-sort-compare":`error`,"typescript/require-await":`error`,"typescript/restrict-plus-operands":`error`,"typescript/restrict-template-expressions":[`error`,{allowNumber:!0}],"typescript/return-await":[`error`,`error-handling-correctness-only`],"typescript/triple-slash-reference":`error`,"typescript/unified-signatures":`error`,"typescript/use-unknown-in-catch-callback-variable":`error`}}),e({plugins:[`vitest`],settings:{vitest:{typecheck:!0}},rules:{"vitest/consistent-each-for":[`error`,{describe:`for`,suite:`for`,it:`for`,test:`for`}],"vitest/consistent-test-filename":[`error`,{pattern:String.raw`.*\.spec\.[tj]sx?$`,allTestPattern:String.raw`.*\.(test|spec)\.[tj]sx?$`}],"vitest/consistent-test-it":`error`,"vitest/consistent-vitest-vi":[`error`,{fn:`vi`}],"vitest/expect-expect":`error`,"vitest/hoisted-apis-on-top":`error`,"vitest/max-expects":`error`,"vitest/max-nested-describe":`error`,"vitest/no-alias-methods":`error`,"vitest/no-commented-out-tests":`error`,"vitest/no-conditional-expect":`error`,"vitest/no-conditional-in-test":`error`,"vitest/no-conditional-tests":`error`,"vitest/no-disabled-tests":`error`,"vitest/no-duplicate-hooks":`error`,"vitest/no-focused-tests":`error`,"vitest/no-hooks":void 0,"vitest/no-identical-title":`error`,"vitest/no-import-node-test":`error`,"vitest/no-importing-vitest-globals":void 0,"vitest/no-interpolation-in-snapshots":`error`,"vitest/no-large-snapshots":void 0,"vitest/no-mocks-import":`error`,"vitest/prefer-called-exactly-once-with":`error`,"vitest/prefer-called-once":`error`,"vitest/prefer-called-times":void 0,"vitest/prefer-describe-function-title":`error`,"vitest/prefer-expect-assertions":void 0,"vitest/prefer-expect-type-of":`error`,"vitest/prefer-import-in-mock":`error`,"vitest/prefer-importing-vitest-globals":void 0,"vitest/prefer-strict-boolean-matchers":void 0,"vitest/prefer-to-be-falsy":`error`,"vitest/prefer-to-be-object":`error`,"vitest/prefer-to-be-truthy":`error`,"vitest/prefer-to-contain":`error`,"vitest/prefer-todo":`error`,"vitest/require-awaited-expect-poll":`error`,"vitest/require-local-test-context-for-concurrent-snapshots":`error`,"vitest/require-mock-type-parameters":`error`,"vitest/require-test-timeout":void 0,"vitest/require-top-level-describe":`error`,"vitest/valid-expect":`error`,"vitest/valid-title":void 0,"vitest/warn-todo":`error`}}),o,a],ignorePatterns:t});export{s as t};
1
+ import{t as e}from"./types-Bni6efgj.mjs";import{ignorePatterns as t}from"@2digits/constants";const n=[`**/*.d.ts`],r=[`**/*.{test,spec}.ts?(x)`],i=[`**/*.js`,`**/*.cjs`,`**/*.cts`],a=e({overrides:[{files:[...n],rules:{"eslint/no-duplicate-imports":`off`,"eslint/no-undef":`off`,"eslint/no-unused-vars":`off`,"import/unambiguous":`off`}},{files:[...r],globals:{afterAll:`readonly`,afterEach:`readonly`,beforeAll:`readonly`,beforeEach:`readonly`,bench:`readonly`,describe:`readonly`,expect:`readonly`,expectTypeOf:`readonly`,it:`readonly`,suite:`readonly`,test:`readonly`,vi:`readonly`},rules:{"eslint/no-unused-expressions":`off`}},{files:[...i],rules:{"typescript/no-import-type-side-effects":`off`}}]}),o=e({settings:{"react-x":{version:`detect`}},options:{typeAware:!0},plugins:[`react`,`react-perf`],jsPlugins:[{name:`react-compiler`,specifier:import.meta.resolve(`eslint-plugin-react-compiler`)},{name:`stylistic`,specifier:import.meta.resolve(`@stylistic/eslint-plugin`)}],rules:{"react/button-has-type":`error`,"react/exhaustive-deps":`error`,"react/iframe-missing-sandbox":`error`,"react/jsx-key":`error`,"react/jsx-no-comment-textnodes":`warn`,"react/jsx-no-constructed-context-values":`error`,"react/jsx-no-script-url":`warn`,"react/jsx-no-target-blank":`error`,"react/jsx-no-useless-fragment":`off`,"react/no-array-index-key":`warn`,"react/no-children-prop":`error`,"react/no-clone-element":`warn`,"react/no-danger":`warn`,"react/no-danger-with-children":`error`,"react/no-did-mount-set-state":`warn`,"react/no-direct-mutation-state":`error`,"react/no-find-dom-node":`error`,"react/no-namespace":`error`,"react/no-redundant-should-component-update":`error`,"react/no-render-return-value":`error`,"react/no-unsafe":`warn`,"react/no-will-update-set-state":`warn`,"react/rules-of-hooks":`error`,"react/self-closing-comp":`error`,"react/void-dom-elements-no-children":`error`,"react_perf/jsx-no-jsx-as-prop":`error`,"react-compiler/react-compiler":`error`,"stylistic/jsx-curly-newline":`off`,"stylistic/jsx-newline":[`error`,{prevent:!1}]}}),s=e({options:{denyWarnings:!0,reportUnusedDisableDirectives:`deny`},categories:{nursery:`off`,pedantic:`off`,correctness:`off`,perf:`off`,style:`off`,restriction:`off`,suspicious:`off`},extends:[e({plugins:[`typescript`],options:{typeAware:!0},rules:{"typescript/adjacent-overload-signatures":`error`,"typescript/array-type":[`error`,{default:`generic`,readonly:`generic`}],"typescript/await-thenable":`error`,"typescript/ban-ts-comment":[`error`,{"ts-ignore":`allow-with-description`}],"typescript/ban-tslint-comment":`error`,"typescript/class-literal-property-style":`error`,"typescript/consistent-generic-constructors":[`error`,{option:`constructor`}],"typescript/consistent-indexed-object-style":[`error`,`record`],"typescript/consistent-type-assertions":[`error`,{assertionStyle:`as`}],"typescript/consistent-type-definitions":[`error`,`interface`],"typescript/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"typescript/consistent-type-imports":[`error`,{fixStyle:`inline-type-imports`,prefer:`type-imports`,disallowTypeAnnotations:!1}],"typescript/dot-notation":[`error`,{allowKeywords:!0}],"typescript/no-array-delete":`error`,"typescript/no-base-to-string":`error`,"typescript/no-confusing-non-null-assertion":`error`,"typescript/no-confusing-void-expression":[`error`,{ignoreArrowShorthand:!0,ignoreVoidOperator:!0}],"typescript/no-deprecated":`error`,"typescript/no-duplicate-enum-values":`error`,"typescript/no-duplicate-type-constituents":`error`,"typescript/no-dynamic-delete":`error`,"typescript/no-empty-interface":[`error`,{allowSingleExtends:!0}],"typescript/no-empty-object-type":[`error`,{allowInterfaces:`with-single-extends`,allowObjectTypes:`never`}],"typescript/no-explicit-any":[`error`,{fixToUnknown:!0,ignoreRestArgs:!0}],"typescript/no-extra-non-null-assertion":`error`,"typescript/no-extraneous-class":[`error`,{allowStaticOnly:!0}],"typescript/no-floating-promises":`error`,"typescript/no-for-in-array":`error`,"typescript/no-implied-eval":`error`,"typescript/no-import-type-side-effects":`error`,"typescript/no-inferrable-types":`error`,"typescript/no-invalid-void-type":`error`,"typescript/no-meaningless-void-operator":`error`,"typescript/no-misused-new":`error`,"typescript/no-misused-promises":[`error`,{checksVoidReturn:!1}],"typescript/no-misused-spread":`error`,"typescript/no-mixed-enums":`error`,"typescript/no-namespace":[`error`,{allowDefinitionFiles:!0}],"typescript/no-non-null-asserted-nullish-coalescing":`error`,"typescript/no-non-null-asserted-optional-chain":`error`,"typescript/no-non-null-assertion":`error`,"typescript/no-redundant-type-constituents":`error`,"typescript/no-require-imports":`error`,"typescript/no-this-alias":`error`,"typescript/no-unnecessary-boolean-literal-compare":`error`,"typescript/no-unnecessary-condition":[`error`,{allowConstantLoopConditions:`only-allowed-literals`}],"typescript/no-unnecessary-parameter-property-assignment":`error`,"typescript/no-unnecessary-qualifier":`error`,"typescript/no-unnecessary-template-expression":`error`,"typescript/no-unnecessary-type-arguments":`error`,"typescript/no-unnecessary-type-assertion":`error`,"typescript/no-unnecessary-type-constraint":`error`,"typescript/no-unnecessary-type-conversion":`error`,"typescript/no-unnecessary-type-parameters":`error`,"typescript/no-unsafe-argument":`error`,"typescript/no-unsafe-assignment":`error`,"typescript/no-unsafe-call":`error`,"typescript/no-unsafe-declaration-merging":`error`,"typescript/no-unsafe-enum-comparison":`error`,"typescript/no-unsafe-function-type":`error`,"typescript/no-unsafe-member-access":`error`,"typescript/no-unsafe-return":`error`,"typescript/no-unsafe-unary-minus":`error`,"typescript/no-useless-default-assignment":`error`,"typescript/no-useless-empty-export":`error`,"typescript/no-var-requires":`error`,"typescript/no-wrapper-object-types":`error`,"typescript/non-nullable-type-assertion-style":`error`,"typescript/only-throw-error":`error`,"typescript/parameter-properties":[`error`,{prefer:`class-property`}],"typescript/prefer-as-const":`error`,"typescript/prefer-enum-initializers":`error`,"typescript/prefer-find":`error`,"typescript/prefer-for-of":`error`,"typescript/prefer-function-type":`error`,"typescript/prefer-includes":`error`,"typescript/prefer-literal-enum-member":`error`,"typescript/prefer-namespace-keyword":`error`,"typescript/prefer-nullish-coalescing":`error`,"typescript/prefer-optional-chain":`error`,"typescript/prefer-promise-reject-errors":`error`,"typescript/prefer-readonly":`error`,"typescript/prefer-reduce-type-parameter":`error`,"typescript/prefer-regexp-exec":`error`,"typescript/prefer-return-this-type":`error`,"typescript/prefer-string-starts-ends-with":`error`,"typescript/related-getter-setter-pairs":`error`,"typescript/require-array-sort-compare":`error`,"typescript/require-await":`error`,"typescript/restrict-plus-operands":`error`,"typescript/restrict-template-expressions":[`error`,{allowNumber:!0}],"typescript/return-await":[`error`,`error-handling-correctness-only`],"typescript/triple-slash-reference":`error`,"typescript/unified-signatures":`error`,"typescript/use-unknown-in-catch-callback-variable":`error`}}),e({plugins:[`vitest`],settings:{vitest:{typecheck:!0}},rules:{"vitest/consistent-each-for":[`error`,{describe:`for`,suite:`for`,it:`for`,test:`for`}],"vitest/consistent-test-filename":[`error`,{pattern:String.raw`.*\.spec\.[tj]sx?$`,allTestPattern:String.raw`.*\.(test|spec)\.[tj]sx?$`}],"vitest/consistent-test-it":`error`,"vitest/consistent-vitest-vi":[`error`,{fn:`vi`}],"vitest/expect-expect":`error`,"vitest/hoisted-apis-on-top":`error`,"vitest/max-expects":`error`,"vitest/max-nested-describe":`error`,"vitest/no-alias-methods":`error`,"vitest/no-commented-out-tests":`error`,"vitest/no-conditional-expect":`error`,"vitest/no-conditional-in-test":`error`,"vitest/no-conditional-tests":`error`,"vitest/no-disabled-tests":`error`,"vitest/no-duplicate-hooks":`error`,"vitest/no-focused-tests":`error`,"vitest/no-hooks":void 0,"vitest/no-identical-title":`error`,"vitest/no-import-node-test":`error`,"vitest/no-importing-vitest-globals":void 0,"vitest/no-interpolation-in-snapshots":`error`,"vitest/no-large-snapshots":void 0,"vitest/no-mocks-import":`error`,"vitest/no-restricted-matchers":void 0,"vitest/no-restricted-vi-methods":void 0,"vitest/no-standalone-expect":`error`,"vitest/no-test-prefixes":`error`,"vitest/no-test-return-statement":`error`,"vitest/no-unneeded-async-expect-function":`error`,"vitest/prefer-called-exactly-once-with":`error`,"vitest/prefer-called-once":`error`,"vitest/prefer-called-times":void 0,"vitest/prefer-called-with":`error`,"vitest/prefer-comparison-matcher":`error`,"vitest/prefer-describe-function-title":`error`,"vitest/prefer-each":`error`,"vitest/prefer-equality-matcher":`error`,"vitest/prefer-expect-assertions":void 0,"vitest/prefer-expect-resolves":`error`,"vitest/prefer-expect-type-of":`error`,"vitest/prefer-hooks-in-order":`error`,"vitest/prefer-hooks-on-top":`error`,"vitest/prefer-import-in-mock":`error`,"vitest/prefer-importing-vitest-globals":void 0,"vitest/prefer-lowercase-title":`error`,"vitest/prefer-mock-promise-shorthand":`error`,"vitest/prefer-mock-return-shorthand":`error`,"vitest/prefer-snapshot-hint":[`error`,`always`],"vitest/prefer-spy-on":`error`,"vitest/prefer-strict-boolean-matchers":void 0,"vitest/prefer-strict-equal":`error`,"vitest/prefer-to-be":`error`,"vitest/prefer-to-be-falsy":`error`,"vitest/prefer-to-be-object":`error`,"vitest/prefer-to-be-truthy":`error`,"vitest/prefer-to-contain":`error`,"vitest/prefer-to-have-been-called-times":`error`,"vitest/prefer-to-have-length":`error`,"vitest/prefer-todo":`error`,"vitest/require-awaited-expect-poll":`error`,"vitest/require-hook":void 0,"vitest/require-local-test-context-for-concurrent-snapshots":`error`,"vitest/require-mock-type-parameters":`error`,"vitest/require-test-timeout":void 0,"vitest/require-to-throw-message":`error`,"vitest/require-top-level-describe":`error`,"vitest/valid-describe-callback":`error`,"vitest/valid-expect":`error`,"vitest/valid-expect-in-promise":`error`,"vitest/valid-title":void 0,"vitest/warn-todo":`error`}}),o,a],ignorePatterns:t});export{s as t};
@@ -1,4 +1,4 @@
1
- import { n as TypedOxlintConfig } from "./types-Dd1tbFEY.mjs";
1
+ import { n as TypedOxlintConfig } from "./types-Tm96NtAH.mjs";
2
2
 
3
3
  //#region src/typescript.d.ts
4
4
  declare const typescriptConfig: TypedOxlintConfig;
@@ -1 +1 @@
1
- import{t as e}from"./typescript-JohfbQYF.mjs";export{e as typescriptConfig};
1
+ import{t as e}from"./typescript-8FIHWB16.mjs";export{e as typescriptConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/oxlint-config",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Minimal Oxlint config for 2digits projects.",
5
5
  "keywords": [
6
6
  "oxlint-config"
@@ -31,26 +31,24 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@arethetypeswrong/core": "0.18.2",
34
- "@types/node": "24.12.2",
35
- "@typescript/native-preview": "7.0.0-dev.20260503.1",
34
+ "@types/node": "24.12.4",
35
+ "@typescript/native-preview": "7.0.0-dev.20260513.1",
36
36
  "dedent": "1.7.2",
37
- "oxlint": "1.62.0",
37
+ "oxlint": "1.64.0",
38
38
  "oxlint-tsgolint": "0.22.1",
39
- "publint": "0.3.18",
40
- "tsx": "4.21.0",
39
+ "publint": "0.3.21",
41
40
  "typescript": "6.0.3",
42
- "vite-plus": "0.1.20",
41
+ "vite-plus": "0.1.21",
43
42
  "@2digits/tsconfig": "0.8.7"
44
43
  },
45
44
  "peerDependencies": {
46
- "oxlint": "1.62.0",
45
+ "oxlint": "1.64.0",
47
46
  "oxlint-tsgolint": "0.22.1"
48
47
  },
49
48
  "public": true,
50
49
  "scripts": {
51
50
  "build": "vp pack --minify",
52
51
  "dev": "vp pack --watch",
53
- "rules:check": "tsx ./scripts/check-rules.ts",
54
52
  "types": "tsgo --noEmit"
55
53
  }
56
54
  }
@@ -1 +0,0 @@
1
- import{t as e}from"./types-Bni6efgj.mjs";import{ignorePatterns as t}from"@2digits/constants";const n=e({plugins:[`import`],rules:{"import/consistent-type-specifier-style":void 0,"import/default":`error`,"import/export":`error`,"import/exports-last":void 0,"import/extensions":void 0,"import/first":[`error`,`disable-absolute-first`],"import/group-exports":void 0,"import/max-dependencies":void 0,"import/named":void 0,"import/namespace":`error`,"import/no-absolute-path":`error`,"import/no-amd":`error`,"import/no-anonymous-default-export":`error`,"import/no-commonjs":void 0,"import/no-cycle":`error`,"import/no-default-export":void 0,"import/no-duplicates":`error`,"import/no-dynamic-require":`error`,"import/no-empty-named-blocks":`error`,"import/no-mutable-exports":void 0,"import/no-named-as-default":`error`,"import/no-named-as-default-member":`error`,"import/no-named-default":`error`,"import/no-named-export":void 0,"import/no-namespace":void 0,"import/no-nodejs-modules":void 0,"import/no-relative-parent-imports":void 0,"import/no-self-import":`error`,"import/no-unassigned-import":void 0,"import/no-webpack-loader-syntax":`error`,"import/prefer-default-export":void 0,"import/unambiguous":void 0}}),r=e({plugins:[`eslint`],rules:{"eslint/accessor-pairs":[`error`,{enforceForClassMembers:!0,setWithoutGet:!0}],"eslint/array-callback-return":`error`,"eslint/arrow-body-style":[`error`,`as-needed`,{requireReturnForObjectLiteral:!1}],"eslint/block-scoped-var":`error`,"eslint/capitalized-comments":`error`,"eslint/class-methods-use-this":void 0,"eslint/complexity":[`error`,{variant:`modified`,max:20}],"eslint/constructor-super":`error`,"eslint/curly":`error`,"eslint/default-case":void 0,"eslint/default-case-last":`error`,"eslint/default-param-last":`error`,"eslint/eqeqeq":[`error`,`smart`],"eslint/for-direction":`error`,"eslint/func-name-matching":void 0,"eslint/func-names":[`error`,`always`,{generators:`never`}],"eslint/func-style":[`error`,`declaration`,{allowTypeAnnotation:!0}],"eslint/getter-return":`error`,"eslint/grouped-accessor-pairs":`error`,"eslint/guard-for-in":`error`,"eslint/id-length":void 0,"eslint/init-declarations":void 0,"eslint/max-classes-per-file":void 0,"eslint/max-depth":void 0,"eslint/max-lines":void 0,"eslint/max-lines-per-function":void 0,"eslint/max-nested-callbacks":void 0,"eslint/max-params":void 0,"eslint/max-statements":void 0,"eslint/new-cap":[`error`,{capIsNew:!1,newIsCap:!0,properties:!0}],"eslint/no-alert":`error`,"eslint/no-array-constructor":`error`,"eslint/no-async-promise-executor":`error`,"eslint/no-await-in-loop":`error`,"eslint/no-bitwise":void 0,"eslint/no-caller":`error`,"eslint/no-case-declarations":`error`,"eslint/no-class-assign":`error`,"eslint/no-compare-neg-zero":`error`,"eslint/no-cond-assign":[`error`,`always`],"eslint/no-console":void 0,"eslint/no-const-assign":`error`,"eslint/no-constant-binary-expression":`error`,"eslint/no-constant-condition":[`error`,{checkLoops:`allExceptWhileTrue`}],"eslint/no-constructor-return":`error`,"eslint/no-continue":void 0,"eslint/no-control-regex":`error`,"eslint/no-debugger":`error`,"eslint/no-delete-var":`error`,"eslint/no-div-regex":`error`,"eslint/no-dupe-class-members":`error`,"eslint/no-dupe-else-if":`error`,"eslint/no-dupe-keys":`error`,"eslint/no-duplicate-case":`error`,"eslint/no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"eslint/no-else-return":[`error`,{allowElseIf:!1}],"eslint/no-empty":[`error`,{allowEmptyCatch:!0}],"eslint/no-empty-character-class":`error`,"eslint/no-empty-function":void 0,"eslint/no-empty-pattern":`error`,"eslint/no-empty-static-block":`error`,"eslint/no-eq-null":void 0,"eslint/no-eval":`error`,"eslint/no-ex-assign":`error`,"eslint/no-extend-native":`error`,"eslint/no-extra-bind":`error`,"eslint/no-extra-boolean-cast":[`error`,{enforceForInnerExpressions:!0}],"eslint/no-extra-label":`error`,"eslint/no-fallthrough":`error`,"eslint/no-func-assign":`error`,"eslint/no-global-assign":`error`,"eslint/no-implicit-coercion":void 0,"eslint/no-import-assign":`error`,"eslint/no-inline-comments":void 0,"eslint/no-inner-declarations":void 0,"eslint/no-invalid-regexp":`error`,"eslint/no-irregular-whitespace":`error`,"eslint/no-iterator":`error`,"eslint/no-label-var":`error`,"eslint/no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"eslint/no-lone-blocks":`error`,"eslint/no-lonely-if":`error`,"eslint/no-loop-func":`error`,"eslint/no-loss-of-precision":`error`,"eslint/no-magic-numbers":void 0,"eslint/no-misleading-character-class":`error`,"eslint/no-multi-assign":`error`,"eslint/no-multi-str":`error`,"eslint/no-negated-condition":`error`,"eslint/no-nested-ternary":void 0,"eslint/no-new":`error`,"eslint/no-new-func":`error`,"eslint/no-new-native-nonconstructor":`error`,"eslint/no-new-wrappers":`error`,"eslint/no-nonoctal-decimal-escape":`error`,"eslint/no-obj-calls":`error`,"eslint/no-object-constructor":`error`,"eslint/no-param-reassign":void 0,"eslint/no-plusplus":void 0,"eslint/no-promise-executor-return":void 0,"eslint/no-proto":`error`,"eslint/no-prototype-builtins":`error`,"eslint/no-redeclare":`error`,"eslint/no-regex-spaces":`error`,"eslint/no-restricted-exports":void 0,"eslint/no-restricted-globals":[`error`,{message:"Use `globalThis` instead.",name:`global`},{message:"Use `globalThis` instead.",name:`self`}],"eslint/no-restricted-imports":void 0,"eslint/no-return-assign":`error`,"eslint/no-script-url":`error`,"eslint/no-self-assign":[`error`,{props:!0}],"eslint/no-self-compare":`error`,"eslint/no-sequences":`error`,"eslint/no-setter-return":`error`,"eslint/no-shadow":void 0,"eslint/no-shadow-restricted-names":`error`,"eslint/no-sparse-arrays":`error`,"eslint/no-template-curly-in-string":`error`,"eslint/no-ternary":void 0,"eslint/no-this-before-super":`error`,"eslint/no-throw-literal":`off`,"eslint/no-unassigned-vars":`error`,"eslint/no-undef":void 0,"eslint/no-undefined":void 0,"eslint/no-underscore-dangle":void 0,"eslint/no-unexpected-multiline":`error`,"eslint/no-unmodified-loop-condition":`error`,"eslint/no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"eslint/no-unreachable":`error`,"eslint/no-unsafe-finally":`error`,"eslint/no-unsafe-negation":`error`,"eslint/no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"eslint/no-unused-expressions":[`error`,{allowShortCircuit:!0,allowTaggedTemplates:!0,allowTernary:!0}],"eslint/no-unused-labels":`error`,"eslint/no-unused-private-class-members":`error`,"eslint/no-unused-vars":[`error`,{args:`none`,caughtErrors:`none`,vars:`all`,argsIgnorePattern:`^_`,ignoreRestSiblings:!0,varsIgnorePattern:`^_`}],"eslint/no-use-before-define":void 0,"eslint/no-useless-assignment":void 0,"eslint/no-useless-backreference":`error`,"eslint/no-useless-call":`error`,"eslint/no-useless-catch":`error`,"eslint/no-useless-computed-key":`error`,"eslint/no-useless-concat":`error`,"eslint/no-useless-constructor":`error`,"eslint/no-useless-escape":`error`,"eslint/no-useless-rename":`error`,"eslint/no-useless-return":`error`,"eslint/no-var":`error`,"eslint/no-void":void 0,"eslint/no-warning-comments":void 0,"eslint/no-with":`error`,"eslint/object-shorthand":`error`,"eslint/operator-assignment":[`error`,`always`],"eslint/prefer-const":[`error`,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"eslint/prefer-destructuring":[`error`,{enforceForRenamedProperties:!0}],"eslint/prefer-exponentiation-operator":`error`,"eslint/prefer-numeric-literals":`error`,"eslint/prefer-object-has-own":`error`,"eslint/prefer-object-spread":`error`,"eslint/prefer-promise-reject-errors":`error`,"eslint/prefer-rest-params":`error`,"eslint/prefer-spread":`error`,"eslint/prefer-template":`error`,"eslint/preserve-caught-error":`error`,"eslint/radix":`error`,"eslint/require-await":void 0,"eslint/require-yield":`error`,"eslint/sort-imports":void 0,"eslint/sort-keys":void 0,"eslint/sort-vars":`error`,"eslint/symbol-description":`error`,"eslint/unicode-bom":[`error`,`never`],"eslint/use-isnan":[`error`,{enforceForIndexOf:!0,enforceForSwitchCase:!0}],"eslint/valid-typeof":[`error`,{requireStringLiterals:!0}],"eslint/vars-on-top":`error`,"eslint/yoda":[`error`,`never`]}}),i=e({plugins:[`jsdoc`],settings:{jsdoc:{}},rules:{"jsdoc/check-access":`error`,"jsdoc/check-property-names":`error`,"jsdoc/check-tag-names":[`error`,{typed:!0}],"jsdoc/empty-tags":`error`,"jsdoc/implements-on-classes":`error`,"jsdoc/no-defaults":`error`,"jsdoc/require-param":`error`,"jsdoc/require-param-name":`error`,"jsdoc/require-property":`error`,"jsdoc/require-property-description":`error`,"jsdoc/require-property-name":`error`,"jsdoc/require-returns-description":`error`,"jsdoc/require-yields":`error`}}),a=e({plugins:[`node`],rules:{"node/handle-callback-err":`error`,"node/no-exports-assign":`error`,"node/no-new-require":`error`,"node/no-path-concat":`error`}}),o=e({plugins:[`oxc`],rules:{"oxc/approx-constant":`error`,"oxc/bad-array-method-on-arguments":`error`,"oxc/bad-bitwise-operator":`error`,"oxc/bad-char-at-comparison":`error`,"oxc/bad-comparison-sequence":`error`,"oxc/bad-min-max-func":`error`,"oxc/bad-object-literal-comparison":`error`,"oxc/bad-replace-all-arg":`error`,"oxc/branches-sharing-code":`error`,"oxc/const-comparisons":`error`,"oxc/double-comparisons":`error`,"oxc/erasing-op":`error`,"oxc/misrefactored-assign-op":`error`,"oxc/missing-throw":`error`,"oxc/no-accumulating-spread":`error`,"oxc/no-async-await":void 0,"oxc/no-async-endpoint-handlers":void 0,"oxc/no-barrel-file":[`error`,{threshold:1e4}],"oxc/no-const-enum":`error`,"oxc/no-map-spread":void 0,"oxc/no-optional-chaining":void 0,"oxc/no-rest-spread-properties":void 0,"oxc/no-this-in-exported-function":`error`,"oxc/number-arg-out-of-range":`error`,"oxc/only-used-in-recursion":`error`,"oxc/uninvoked-array-callback":`error`}}),s=e({env:{browser:!0,node:!0},options:{denyWarnings:!0,reportUnusedDisableDirectives:`deny`},categories:{nursery:`off`,pedantic:`off`,correctness:`off`,perf:`off`,style:`off`,restriction:`off`,suspicious:`off`},extends:[r,e({plugins:[`unicorn`],rules:{"unicorn/catch-error-name":`error`,"unicorn/consistent-assert":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-function-scoping":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/custom-error-definition":void 0,"unicorn/empty-brace-spaces":void 0,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/filename-case":void 0,"unicorn/new-for-builtins":`error`,"unicorn/no-abusive-eslint-disable":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-callback-reference":void 0,"unicorn/no-array-for-each":`error`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-reduce":`error`,"unicorn/no-array-reverse":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-await-in-promise-methods":`error`,"unicorn/no-console-spaces":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-empty-file":`error`,"unicorn/no-hex-escape":`error`,"unicorn/no-immediate-mutation":`error`,"unicorn/no-instanceof-array":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-invalid-fetch-options":`error`,"unicorn/no-invalid-remove-event-listener":`error`,"unicorn/no-length-as-slice-end":`error`,"unicorn/no-lonely-if":`error`,"unicorn/no-magic-array-flat-depth":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-nested-ternary":void 0,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-null":`error`,"unicorn/no-object-as-default-parameter":`error`,"unicorn/no-process-exit":`error`,"unicorn/no-single-promise-in-promise-methods":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-thenable":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-unnecessary-array-flat-depth":`error`,"unicorn/no-unnecessary-array-splice-count":`error`,"unicorn/no-unnecessary-await":`error`,"unicorn/no-unnecessary-slice-end":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-useless-collection-argument":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-fallback-in-spread":`error`,"unicorn/no-useless-iterator-to-array":`error`,"unicorn/no-useless-length-check":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-spread":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/no-useless-undefined":[`error`,{checkArguments:!1,checkArrowFunctionBody:!1}],"unicorn/no-zero-fractions":`error`,"unicorn/number-literal-case":`error`,"unicorn/numeric-separators-style":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-index-of":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":[`error`,{checkAllIndexAccess:!1}],"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-code-point":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-dom-node-append":`error`,"unicorn/prefer-dom-node-dataset":`error`,"unicorn/prefer-dom-node-remove":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-event-target":`error`,"unicorn/prefer-global-this":`error`,"unicorn/prefer-import-meta-properties":void 0,"unicorn/prefer-includes":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-modern-dom-apis":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":void 0,"unicorn/prefer-native-coercion-functions":`error`,"unicorn/prefer-negative-index":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-from-entries":[`error`,{functions:[]}],"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-prototype-methods":`error`,"unicorn/prefer-query-selector":`error`,"unicorn/prefer-reflect-apply":`error`,"unicorn/prefer-regexp-test":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-set-size":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-starts-ends-with":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-structured-clone":[`error`,{functions:[]}],"unicorn/prefer-ternary":[`error`,`only-single-line`],"unicorn/prefer-top-level-await":void 0,"unicorn/prefer-type-error":`error`,"unicorn/relative-url-style":`error`,"unicorn/require-array-join-separator":`error`,"unicorn/require-module-attributes":`error`,"unicorn/require-module-specifiers":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-post-message-target-origin":void 0,"unicorn/switch-case-braces":[`error`,`always`],"unicorn/switch-case-break-position":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`error`}}),n,a,o,i],ignorePatterns:t});export{s as t};