@2digits/oxlint-config 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import{defineConfig as e}from"oxlint";import{ignorePatterns as t}from"@2digits/constants";import{recommendedRules as n}from"@2digits/oxlint-plugin";const r=e({jsPlugins:[{name:`2digits`,specifier:import.meta.resolve(`@2digits/oxlint-plugin`)}],rules:n}),i=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,"import/newline-after-import":void 0}}),a=e({plugins:[`eslint`],rules:{"accessor-pairs":[`error`,{enforceForClassMembers:!0,setWithoutGet:!0}],"array-callback-return":`error`,"arrow-body-style":[`error`,`as-needed`,{requireReturnForObjectLiteral:!1}],"block-scoped-var":`error`,"capitalized-comments":`error`,"class-methods-use-this":void 0,"constructor-super":`error`,"default-case":void 0,"default-case-last":`error`,"default-param-last":`error`,"for-direction":`error`,"func-name-matching":void 0,"func-names":[`error`,`always`,{generators:`never`}],"func-style":[`error`,`declaration`,{allowTypeAnnotation:!0}],"getter-return":`error`,"grouped-accessor-pairs":`error`,"guard-for-in":`error`,"id-length":void 0,"init-declarations":void 0,"logical-assignment-operators":[`error`,`always`],"max-classes-per-file":void 0,"max-depth":void 0,"max-lines":void 0,"max-lines-per-function":void 0,"max-nested-callbacks":void 0,"max-params":void 0,"max-statements":void 0,"new-cap":[`error`,{capIsNew:!1,newIsCap:!0,properties:!0}],"no-alert":`error`,"no-array-constructor":`error`,"no-async-promise-executor":`error`,"no-await-in-loop":`error`,"no-bitwise":void 0,"no-caller":`error`,"no-case-declarations":`error`,"no-class-assign":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":[`error`,`always`],"no-console":void 0,"no-const-assign":`error`,"no-constant-binary-expression":`error`,"no-constant-condition":`error`,"no-constructor-return":`error`,"no-continue":void 0,"no-control-regex":`error`,"no-debugger":`error`,"no-delete-var":`error`,"no-div-regex":`error`,"no-dupe-class-members":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"no-else-return":[`error`,{allowElseIf:!1}],"no-empty":[`error`,{allowEmptyCatch:!0}],"no-empty-character-class":`error`,"no-empty-function":void 0,"no-empty-pattern":`error`,"no-empty-static-block":`error`,"no-eq-null":void 0,"no-eval":`error`,"no-ex-assign":`error`,"no-extend-native":`error`,"no-extra-bind":`error`,"no-extra-boolean-cast":`error`,"no-extra-label":`error`,"no-fallthrough":`error`,"no-func-assign":`error`,"no-global-assign":`error`,"no-implicit-coercion":void 0,"no-implicit-globals":[`error`,{lexicalBindings:!0}],"no-implied-eval":`error`,"no-import-assign":`error`,"no-inline-comments":void 0,"no-inner-declarations":void 0,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-iterator":`error`,"no-label-var":`error`,"no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"no-lone-blocks":`error`,"no-lonely-if":`error`,"no-loop-func":`error`,"no-loss-of-precision":`error`,"no-magic-numbers":void 0,"no-misleading-character-class":`error`,"no-multi-assign":`error`,"no-multi-str":`error`,"no-negated-condition":`error`,"no-nested-ternary":void 0,"no-new":`error`,"no-new-func":`error`,"no-new-native-nonconstructor":`error`,"no-new-wrappers":`error`,"no-nonoctal-decimal-escape":`error`,"no-obj-calls":`error`,"no-object-constructor":`error`,"no-param-reassign":void 0,"no-plusplus":void 0,"no-promise-executor-return":`error`,"no-proto":`error`,"no-prototype-builtins":`error`,"no-redeclare":`off`,"no-regex-spaces":`error`,"no-restricted-exports":void 0,"no-restricted-globals":[`error`,{message:"Use `globalThis` instead.",name:`global`},{message:"Use `globalThis` instead.",name:`self`}],"no-restricted-imports":void 0,"no-restricted-properties":[`error`,{message:"Use `Object.getPrototypeOf` or `Object.setPrototypeOf` instead.",property:`__proto__`},{message:"Use `Object.defineProperty` instead.",property:`__defineGetter__`},{message:"Use `Object.defineProperty` instead.",property:`__defineSetter__`},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:`__lookupGetter__`},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:`__lookupSetter__`}],"no-return-assign":`error`,"no-script-url":`error`,"no-self-assign":[`error`,{props:!0}],"no-self-compare":`error`,"no-sequences":`error`,"no-setter-return":`error`,"no-shadow":`off`,"no-shadow-restricted-names":`error`,"no-sparse-arrays":`error`,"no-template-curly-in-string":`error`,"no-ternary":void 0,"no-this-before-super":`error`,"no-throw-literal":`error`,"no-unassigned-vars":`error`,"no-undef":`error`,"no-undefined":void 0,"no-underscore-dangle":void 0,"no-unexpected-multiline":`error`,"no-unmodified-loop-condition":`error`,"no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"no-unreachable":`error`,"no-unreachable-loop":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":`error`,"no-unsafe-optional-chaining":`error`,"no-unused-expressions":[`error`,{allowShortCircuit:!0,allowTaggedTemplates:!0,allowTernary:!0}],"no-unused-labels":`error`,"no-unused-private-class-members":`error`,"no-unused-vars":[`error`,{args:`none`,caughtErrors:`none`,vars:`all`,argsIgnorePattern:`^_`,ignoreRestSiblings:!0,varsIgnorePattern:`^_`}],"no-use-before-define":void 0,"no-useless-assignment":`off`,"no-useless-backreference":`error`,"no-useless-call":`error`,"no-useless-catch":`error`,"no-useless-computed-key":`error`,"no-useless-concat":`error`,"no-useless-constructor":`error`,"no-useless-escape":`error`,"no-useless-rename":`error`,"no-useless-return":`error`,"no-var":`error`,"no-void":void 0,"no-warning-comments":void 0,"no-with":`error`,"object-shorthand":[`error`,`always`,{avoidQuotes:!0,ignoreConstructors:!1}],"one-var":void 0,"operator-assignment":[`error`,`always`],"prefer-arrow-callback":[`error`,{allowNamedFunctions:!0,allowUnboundThis:!0}],"prefer-const":[`error`,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"prefer-destructuring":`off`,"prefer-exponentiation-operator":`error`,"prefer-named-capture-group":void 0,"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-object-spread":`error`,"prefer-promise-reject-errors":`error`,"prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],"prefer-rest-params":`error`,"prefer-spread":`error`,"prefer-template":`error`,"preserve-caught-error":`error`,"require-await":void 0,"require-unicode-regexp":void 0,"require-yield":`error`,"sort-imports":void 0,"sort-keys":void 0,"sort-vars":`error`,"symbol-description":`error`,"unicode-bom":[`error`,`never`],"use-isnan":[`error`,{enforceForIndexOf:!0,enforceForSwitchCase:!0}],"valid-typeof":[`error`,{requireStringLiterals:!0}],"vars-on-top":`error`,complexity:[`error`,{variant:`modified`,max:20}],curly:`error`,eqeqeq:[`error`,`smart`],radix:`error`,yoda:[`error`,`never`]}}),o=e({plugins:[`jsdoc`],rules:{"jsdoc/check-access":`error`,"jsdoc/check-property-names":`error`,"jsdoc/check-tag-names":[`error`,{typed:!0,definedTags:[`effect-codegens`,`effect-diagnostics`,`effect-diagnostics-next-line`,`effect-expect-leaking`,`effect-identifier`,`effect-leakable-service`,`effect-schema-codegenerated`]}],"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`}}),s=e({plugins:[`node`],rules:{"node/callback-return":`off`,"node/exports-style":[`error`,`module.exports`],"node/global-require":`off`,"node/handle-callback-err":[`error`,`^(err|error)$`],"node/no-exports-assign":`error`,"node/no-mixed-requires":`error`,"node/no-new-require":`error`,"node/no-path-concat":`error`,"node/no-process-env":`off`,"node/no-sync":`off`,"node/no-top-level-await":`off`}}),c=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-match-all-arg":`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`}}),l=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":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/filename-case":void 0,"unicorn/import-style":`error`,"unicorn/max-nested-calls":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-fill-with-reference-type":`error`,"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-confusing-array-with":`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`,"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-export-from":`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-coercion":void 0,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-from-entries":`error`,"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-single-call":`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`,"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`,"unicorn/switch-case-break-position":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`off`}}),u=e({jsPlugins:[{name:`zod`,specifier:import.meta.resolve(`eslint-plugin-zod`)}],rules:{"zod/array-style":[`error`,{style:`function`}],"zod/consistent-import":[`error`,{syntax:`namespace`}],"zod/consistent-schema-output-type-style":[`error`,{style:`infer`}],"zod/consistent-schema-var-name":[`warn`,{after:`Schema`}],"zod/no-any-schema":`error`,"zod/no-coerce-boolean":`error`,"zod/no-conflicting-checks":[`error`,{checkConfusingCases:!0,checkImpossibleCases:!0,checkInapplicableChecks:!0}],"zod/no-duplicate-schema-methods":`error`,"zod/no-empty-custom-schema":`error`,"zod/no-native-enum":`error`,"zod/no-number-schema-with-finite":`error`,"zod/no-number-schema-with-int":`error`,"zod/no-number-schema-with-is-finite":`error`,"zod/no-number-schema-with-is-int":`error`,"zod/no-number-schema-with-safe":`error`,"zod/no-number-schema-with-step":`error`,"zod/no-optional-and-default-together":[`warn`,{preferredMethod:`default`}],"zod/no-promise-schema":`error`,"zod/no-schema-with-is-nullable":`error`,"zod/no-schema-with-is-optional":`error`,"zod/no-throw-in-refine":`error`,"zod/no-transform-in-record-key":`error`,"zod/no-unnecessary-readonly":`error`,"zod/prefer-enum-over-literal-union":`error`,"zod/prefer-loose-object":`error`,"zod/prefer-meta":`error`,"zod/prefer-meta-last":`error`,"zod/prefer-strict-object":`error`,"zod/prefer-string-length-over-min-max":`error`,"zod/prefer-string-schema-with-trim":`error`,"zod/prefer-top-level-string-formats":`error`,"zod/prefer-trim-before-string-length-checks":`error`,"zod/prefer-tuple-over-array-length":`error`,"zod/require-brand-type-parameter":`error`,"zod/schema-error-property-style":[`error`,{selector:`Literal,TemplateLiteral`,example:`"This is an error message"`}],"zod/consistent-import-source":void 0,"zod/consistent-object-schema-type":void 0,"zod/no-string-schema-with-uuid":void 0,"zod/no-unknown-schema":void 0,"zod/require-error-message":void 0}}),d=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:[a,l,i,s,c,o,u,r],ignorePatterns:t});export{d as t};
2
- //# sourceMappingURL=base-DPnQJQHZ.mjs.map
1
+ import{defineConfig as e}from"oxlint";import{ignorePatterns as t}from"@2digits/constants";import{recommendedRules as n}from"@2digits/oxlint-plugin";const r=e({jsPlugins:[{name:`2digits`,specifier:import.meta.resolve(`@2digits/oxlint-plugin`)}],rules:n}),i=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,"import/newline-after-import":void 0}}),a=e({plugins:[`eslint`],rules:{"accessor-pairs":[`error`,{enforceForClassMembers:!0,setWithoutGet:!0}],"array-callback-return":`error`,"arrow-body-style":[`error`,`as-needed`,{requireReturnForObjectLiteral:!1}],"block-scoped-var":`error`,"capitalized-comments":`error`,"class-methods-use-this":void 0,"constructor-super":`error`,"default-case":void 0,"default-case-last":`error`,"default-param-last":`error`,"for-direction":`error`,"func-name-matching":void 0,"func-names":[`error`,`always`,{generators:`never`}],"func-style":[`error`,`declaration`,{allowTypeAnnotation:!0}],"getter-return":`error`,"grouped-accessor-pairs":`error`,"guard-for-in":`error`,"id-length":void 0,"init-declarations":void 0,"logical-assignment-operators":[`error`,`always`],"max-classes-per-file":void 0,"max-depth":void 0,"max-lines":void 0,"max-lines-per-function":void 0,"max-nested-callbacks":void 0,"max-params":void 0,"max-statements":void 0,"new-cap":[`error`,{capIsNew:!1,newIsCap:!0,properties:!0}],"no-alert":`error`,"no-array-constructor":`error`,"no-async-promise-executor":`error`,"no-await-in-loop":`error`,"no-bitwise":void 0,"no-caller":`error`,"no-case-declarations":`error`,"no-class-assign":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":[`error`,`always`],"no-console":void 0,"no-const-assign":`error`,"no-constant-binary-expression":`error`,"no-constant-condition":`error`,"no-constructor-return":`error`,"no-continue":void 0,"no-control-regex":`error`,"no-debugger":`error`,"no-delete-var":`error`,"no-div-regex":`error`,"no-dupe-class-members":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"no-else-return":[`error`,{allowElseIf:!1}],"no-empty":[`error`,{allowEmptyCatch:!0}],"no-empty-character-class":`error`,"no-empty-function":void 0,"no-empty-pattern":`error`,"no-empty-static-block":`error`,"no-eq-null":void 0,"no-eval":`error`,"no-ex-assign":`error`,"no-extend-native":`error`,"no-extra-bind":`error`,"no-extra-boolean-cast":`error`,"no-extra-label":`error`,"no-fallthrough":`error`,"no-func-assign":`error`,"no-global-assign":`error`,"no-implicit-coercion":void 0,"no-implicit-globals":[`error`,{lexicalBindings:!0}],"no-implied-eval":`error`,"no-import-assign":`error`,"no-inline-comments":void 0,"no-inner-declarations":void 0,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-iterator":`error`,"no-label-var":`error`,"no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"no-lone-blocks":`error`,"no-lonely-if":`error`,"no-loop-func":`error`,"no-loss-of-precision":`error`,"no-magic-numbers":void 0,"no-misleading-character-class":`error`,"no-multi-assign":`error`,"no-multi-str":`error`,"no-negated-condition":`error`,"no-nested-ternary":void 0,"no-new":`error`,"no-new-func":`error`,"no-new-native-nonconstructor":`error`,"no-new-wrappers":`error`,"no-nonoctal-decimal-escape":`error`,"no-obj-calls":`error`,"no-object-constructor":`error`,"no-param-reassign":void 0,"no-plusplus":void 0,"no-promise-executor-return":`error`,"no-proto":`error`,"no-prototype-builtins":`error`,"no-redeclare":`off`,"no-regex-spaces":`error`,"no-restricted-exports":void 0,"no-restricted-globals":[`error`,{message:"Use `globalThis` instead.",name:`global`},{message:"Use `globalThis` instead.",name:`self`}],"no-restricted-imports":void 0,"no-restricted-properties":[`error`,{message:"Use `Object.getPrototypeOf` or `Object.setPrototypeOf` instead.",property:`__proto__`},{message:"Use `Object.defineProperty` instead.",property:`__defineGetter__`},{message:"Use `Object.defineProperty` instead.",property:`__defineSetter__`},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:`__lookupGetter__`},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:`__lookupSetter__`}],"no-return-assign":`error`,"no-script-url":`error`,"no-self-assign":[`error`,{props:!0}],"no-self-compare":`error`,"no-sequences":`error`,"no-setter-return":`error`,"no-shadow":`off`,"no-shadow-restricted-names":`error`,"no-sparse-arrays":`error`,"no-template-curly-in-string":`error`,"no-ternary":void 0,"no-this-before-super":`error`,"no-throw-literal":`error`,"no-unassigned-vars":`error`,"no-undef":`error`,"no-undefined":void 0,"no-underscore-dangle":void 0,"no-unexpected-multiline":`error`,"no-unmodified-loop-condition":`error`,"no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"no-unreachable":`error`,"no-unreachable-loop":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":`error`,"no-unsafe-optional-chaining":`error`,"no-unused-expressions":[`error`,{allowShortCircuit:!0,allowTaggedTemplates:!0,allowTernary:!0}],"no-unused-labels":`error`,"no-unused-private-class-members":`error`,"no-unused-vars":[`error`,{args:`none`,caughtErrors:`none`,vars:`all`,argsIgnorePattern:`^_`,ignoreRestSiblings:!0,varsIgnorePattern:`^_`}],"no-use-before-define":void 0,"no-useless-assignment":`off`,"no-useless-backreference":`error`,"no-useless-call":`error`,"no-useless-catch":`error`,"no-useless-computed-key":`error`,"no-useless-concat":`error`,"no-useless-constructor":`error`,"no-useless-escape":`error`,"no-useless-rename":`error`,"no-useless-return":`error`,"no-var":`error`,"no-void":void 0,"no-warning-comments":void 0,"no-with":`error`,"object-shorthand":[`error`,`always`,{avoidQuotes:!0,ignoreConstructors:!1}],"one-var":void 0,"operator-assignment":[`error`,`always`],"prefer-arrow-callback":[`error`,{allowNamedFunctions:!0,allowUnboundThis:!0}],"prefer-const":[`error`,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"prefer-destructuring":`off`,"prefer-exponentiation-operator":`error`,"prefer-named-capture-group":void 0,"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-object-spread":`error`,"prefer-promise-reject-errors":`error`,"prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],"prefer-rest-params":`error`,"prefer-spread":`error`,"prefer-template":`error`,"preserve-caught-error":`error`,"require-await":void 0,"require-unicode-regexp":void 0,"require-yield":`error`,"sort-imports":void 0,"sort-keys":void 0,"sort-vars":`error`,"symbol-description":`error`,"unicode-bom":[`error`,`never`],"use-isnan":[`error`,{enforceForIndexOf:!0,enforceForSwitchCase:!0}],"valid-typeof":[`error`,{requireStringLiterals:!0}],"vars-on-top":`error`,complexity:[`error`,{variant:`modified`,max:20}],curly:`error`,eqeqeq:[`error`,`smart`],radix:`error`,yoda:[`error`,`never`]}}),o=e({plugins:[`jsdoc`],rules:{"jsdoc/check-access":`error`,"jsdoc/check-property-names":`error`,"jsdoc/check-tag-names":[`error`,{typed:!0,definedTags:[`effect-codegens`,`effect-diagnostics`,`effect-diagnostics-next-line`,`effect-expect-leaking`,`effect-identifier`,`effect-leakable-service`,`effect-schema-codegenerated`]}],"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`}}),s=e({plugins:[`node`],rules:{"node/callback-return":`off`,"node/exports-style":[`error`,`module.exports`],"node/global-require":`off`,"node/handle-callback-err":[`error`,`^(err|error)$`],"node/no-exports-assign":`error`,"node/no-mixed-requires":`error`,"node/no-new-require":`error`,"node/no-path-concat":`error`,"node/no-process-env":`off`,"node/no-sync":`off`,"node/no-top-level-await":`off`}}),c=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-match-all-arg":`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`}}),l=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":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/filename-case":void 0,"unicorn/import-style":`error`,"unicorn/max-nested-calls":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-fill-with-reference-type":`error`,"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-confusing-array-with":`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`,"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-export-from":`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-coercion":void 0,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-from-entries":`error`,"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-single-call":`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`,"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`,"unicorn/switch-case-break-position":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`off`}}),u=e({jsPlugins:[{name:`zod`,specifier:import.meta.resolve(`eslint-plugin-zod`)}],rules:{"zod/array-style":[`error`,{style:`function`}],"zod/consistent-import":[`error`,{syntax:`namespace`}],"zod/consistent-schema-output-type-style":[`error`,{style:`infer`}],"zod/consistent-schema-var-name":[`warn`,{after:`Schema`}],"zod/no-any-schema":`error`,"zod/no-coerce-boolean":`error`,"zod/no-conflicting-checks":[`error`,{checkConfusingCases:!0,checkImpossibleCases:!0,checkInapplicableChecks:!0}],"zod/no-duplicate-schema-methods":`error`,"zod/no-dynamic-schema-value":`error`,"zod/no-empty-custom-schema":`error`,"zod/no-function-scoped-schema":`error`,"zod/no-native-enum":`error`,"zod/no-number-schema-with-finite":`error`,"zod/no-number-schema-with-int":`error`,"zod/no-number-schema-with-is-finite":`error`,"zod/no-number-schema-with-is-int":`error`,"zod/no-number-schema-with-safe":`error`,"zod/no-number-schema-with-step":`error`,"zod/no-optional-and-default-together":[`warn`,{preferredMethod:`default`}],"zod/no-promise-schema":`error`,"zod/no-schema-with-is-nullable":`error`,"zod/no-schema-with-is-optional":`error`,"zod/no-throw-in-refine":`error`,"zod/no-transform-in-record-key":`error`,"zod/no-unnecessary-readonly":`error`,"zod/prefer-enum-over-literal-union":`error`,"zod/prefer-loose-object":`error`,"zod/prefer-map-set-size-over-min-max":`error`,"zod/prefer-meta":`error`,"zod/prefer-meta-last":`error`,"zod/prefer-strict-object":`error`,"zod/prefer-string-length-over-min-max":`error`,"zod/prefer-string-schema-with-trim":`error`,"zod/prefer-top-level-string-formats":`error`,"zod/prefer-trim-before-string-length-checks":`error`,"zod/prefer-tuple-over-array-length":`error`,"zod/prefer-validate":`error`,"zod/require-brand-type-parameter":`error`,"zod/schema-error-property-style":[`error`,{selector:`Literal,TemplateLiteral`,example:`"This is an error message"`}],"zod/consistent-import-source":void 0,"zod/consistent-object-schema-type":void 0,"zod/no-string-schema-with-uuid":void 0,"zod/no-unknown-schema":void 0,"zod/require-error-message":void 0}}),d=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:[a,l,i,s,c,o,u,r],ignorePatterns:t});export{d as t};
2
+ //# sourceMappingURL=base-M4dxDhGw.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-DPnQJQHZ.mjs","names":[],"sources":["../src/configs/2digits.ts","../src/configs/import.ts","../src/configs/javascript.ts","../src/configs/jsdoc.ts","../src/configs/node.ts","../src/configs/oxc.ts","../src/configs/unicorn.ts","../src/configs/zod.ts","../src/base.ts"],"sourcesContent":["import { defineConfig } from 'oxlint';\n\nimport { recommendedRules } from '@2digits/oxlint-plugin';\n\nexport const twoDigitsPluginConfig = defineConfig({\n jsPlugins: [\n {\n name: '2digits',\n specifier: import.meta.resolve('@2digits/oxlint-plugin'),\n },\n ],\n rules: recommendedRules,\n});\n","import { defineConfig } from 'oxlint';\n\nexport const importConfig = defineConfig({\n plugins: ['import'],\n rules: {\n 'import/consistent-type-specifier-style': undefined,\n 'import/default': 'error',\n 'import/export': 'error',\n 'import/exports-last': undefined,\n 'import/extensions': undefined,\n 'import/first': ['error', 'disable-absolute-first'],\n 'import/group-exports': undefined,\n 'import/max-dependencies': undefined,\n 'import/named': undefined,\n 'import/namespace': 'error',\n 'import/no-absolute-path': 'error',\n 'import/no-amd': 'error',\n 'import/no-anonymous-default-export': 'error',\n 'import/no-commonjs': undefined,\n 'import/no-cycle': 'error',\n 'import/no-default-export': undefined,\n 'import/no-duplicates': 'error',\n 'import/no-dynamic-require': 'error',\n 'import/no-empty-named-blocks': 'error',\n 'import/no-mutable-exports': undefined,\n 'import/no-named-as-default': 'error',\n 'import/no-named-as-default-member': 'error',\n 'import/no-named-default': 'error',\n 'import/no-named-export': undefined,\n 'import/no-namespace': undefined,\n 'import/no-nodejs-modules': undefined,\n 'import/no-relative-parent-imports': undefined,\n 'import/no-self-import': 'error',\n 'import/no-unassigned-import': undefined,\n 'import/no-webpack-loader-syntax': 'error',\n 'import/prefer-default-export': undefined,\n 'import/unambiguous': undefined,\n\n 'import/newline-after-import': undefined,\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const javascriptConfig = defineConfig({\n plugins: ['eslint'],\n rules: {\n 'accessor-pairs': ['error', { enforceForClassMembers: true, setWithoutGet: true }],\n 'array-callback-return': 'error',\n 'arrow-body-style': ['error', 'as-needed', { requireReturnForObjectLiteral: false }],\n 'block-scoped-var': 'error',\n 'capitalized-comments': 'error',\n 'class-methods-use-this': undefined,\n 'constructor-super': 'error',\n 'default-case': undefined,\n 'default-case-last': 'error',\n 'default-param-last': 'error',\n 'for-direction': 'error',\n 'func-name-matching': undefined,\n 'func-names': ['error', 'always', { generators: 'never' }],\n 'func-style': ['error', 'declaration', { allowTypeAnnotation: true }],\n 'getter-return': 'error',\n 'grouped-accessor-pairs': 'error',\n 'guard-for-in': 'error',\n 'id-length': undefined,\n 'init-declarations': undefined,\n 'logical-assignment-operators': ['error', 'always'],\n 'max-classes-per-file': undefined,\n 'max-depth': undefined,\n 'max-lines': undefined,\n 'max-lines-per-function': undefined,\n 'max-nested-callbacks': undefined,\n 'max-params': undefined,\n 'max-statements': undefined,\n 'new-cap': ['error', { capIsNew: false, newIsCap: true, properties: true }],\n 'no-alert': 'error',\n 'no-array-constructor': 'error',\n 'no-async-promise-executor': 'error',\n 'no-await-in-loop': 'error',\n 'no-bitwise': undefined,\n 'no-caller': 'error',\n 'no-case-declarations': 'error',\n 'no-class-assign': 'error',\n 'no-compare-neg-zero': 'error',\n 'no-cond-assign': ['error', 'always'],\n 'no-console': undefined,\n 'no-const-assign': 'error',\n 'no-constant-binary-expression': 'error',\n 'no-constant-condition': 'error',\n 'no-constructor-return': 'error',\n 'no-continue': undefined,\n 'no-control-regex': 'error',\n 'no-debugger': 'error',\n 'no-delete-var': 'error',\n 'no-div-regex': 'error',\n 'no-dupe-class-members': 'error',\n 'no-dupe-else-if': 'error',\n 'no-dupe-keys': 'error',\n 'no-duplicate-case': 'error',\n 'no-duplicate-imports': ['error', { allowSeparateTypeImports: false, includeExports: false }],\n 'no-else-return': ['error', { allowElseIf: false }],\n 'no-empty': ['error', { allowEmptyCatch: true }],\n 'no-empty-character-class': 'error',\n 'no-empty-function': undefined,\n 'no-empty-pattern': 'error',\n 'no-empty-static-block': 'error',\n 'no-eq-null': undefined,\n 'no-eval': 'error',\n 'no-ex-assign': 'error',\n 'no-extend-native': 'error',\n 'no-extra-bind': 'error',\n 'no-extra-boolean-cast': 'error',\n 'no-extra-label': 'error',\n 'no-fallthrough': 'error',\n 'no-func-assign': 'error',\n 'no-global-assign': 'error',\n 'no-implicit-coercion': undefined,\n 'no-implicit-globals': ['error', { lexicalBindings: true }],\n 'no-implied-eval': 'error',\n 'no-import-assign': 'error',\n 'no-inline-comments': undefined,\n 'no-inner-declarations': undefined,\n 'no-invalid-regexp': 'error',\n 'no-irregular-whitespace': 'error',\n 'no-iterator': 'error',\n 'no-label-var': 'error',\n 'no-labels': ['error', { allowLoop: false, allowSwitch: false }],\n 'no-lone-blocks': 'error',\n 'no-lonely-if': 'error',\n 'no-loop-func': 'error',\n 'no-loss-of-precision': 'error',\n 'no-magic-numbers': undefined,\n 'no-misleading-character-class': 'error',\n 'no-multi-assign': 'error',\n 'no-multi-str': 'error',\n 'no-negated-condition': 'error',\n 'no-nested-ternary': undefined,\n 'no-new': 'error',\n 'no-new-func': 'error',\n 'no-new-native-nonconstructor': 'error',\n 'no-new-wrappers': 'error',\n 'no-nonoctal-decimal-escape': 'error',\n 'no-obj-calls': 'error',\n 'no-object-constructor': 'error',\n 'no-param-reassign': undefined,\n 'no-plusplus': undefined,\n 'no-promise-executor-return': 'error',\n 'no-proto': 'error',\n 'no-prototype-builtins': 'error',\n 'no-redeclare': 'off',\n 'no-regex-spaces': 'error',\n 'no-restricted-exports': undefined,\n 'no-restricted-globals': [\n 'error',\n { message: 'Use `globalThis` instead.', name: 'global' },\n { message: 'Use `globalThis` instead.', name: 'self' },\n ],\n 'no-restricted-imports': undefined,\n 'no-restricted-properties': [\n 'error',\n {\n message: 'Use `Object.getPrototypeOf` or `Object.setPrototypeOf` instead.',\n property: '__proto__',\n },\n { message: 'Use `Object.defineProperty` instead.', property: '__defineGetter__' },\n { message: 'Use `Object.defineProperty` instead.', property: '__defineSetter__' },\n { message: 'Use `Object.getOwnPropertyDescriptor` instead.', property: '__lookupGetter__' },\n { message: 'Use `Object.getOwnPropertyDescriptor` instead.', property: '__lookupSetter__' },\n ],\n 'no-return-assign': 'error',\n 'no-script-url': 'error',\n 'no-self-assign': ['error', { props: true }],\n 'no-self-compare': 'error',\n 'no-sequences': 'error',\n 'no-setter-return': 'error',\n 'no-shadow': 'off',\n 'no-shadow-restricted-names': 'error',\n 'no-sparse-arrays': 'error',\n 'no-template-curly-in-string': 'error',\n 'no-ternary': undefined,\n 'no-this-before-super': 'error',\n 'no-throw-literal': 'error',\n 'no-unassigned-vars': 'error',\n 'no-undef': 'error',\n 'no-undefined': undefined,\n 'no-underscore-dangle': undefined,\n 'no-unexpected-multiline': 'error',\n 'no-unmodified-loop-condition': 'error',\n 'no-unneeded-ternary': ['error', { defaultAssignment: false }],\n 'no-unreachable': 'error',\n 'no-unreachable-loop': 'error',\n 'no-unsafe-finally': 'error',\n 'no-unsafe-negation': 'error',\n 'no-unsafe-optional-chaining': 'error',\n 'no-unused-expressions': ['error', { allowShortCircuit: true, allowTaggedTemplates: true, allowTernary: true }],\n 'no-unused-labels': 'error',\n 'no-unused-private-class-members': 'error',\n 'no-unused-vars': [\n 'error',\n {\n args: 'none',\n caughtErrors: 'none',\n vars: 'all',\n argsIgnorePattern: '^_',\n ignoreRestSiblings: true,\n varsIgnorePattern: '^_',\n },\n ],\n 'no-use-before-define': undefined,\n 'no-useless-assignment': 'off',\n 'no-useless-backreference': 'error',\n 'no-useless-call': 'error',\n 'no-useless-catch': 'error',\n 'no-useless-computed-key': 'error',\n 'no-useless-concat': 'error',\n 'no-useless-constructor': 'error',\n 'no-useless-escape': 'error',\n 'no-useless-rename': 'error',\n 'no-useless-return': 'error',\n 'no-var': 'error',\n 'no-void': undefined,\n 'no-warning-comments': undefined,\n 'no-with': 'error',\n 'object-shorthand': ['error', 'always', { avoidQuotes: true, ignoreConstructors: false }],\n 'one-var': undefined,\n 'operator-assignment': ['error', 'always'],\n 'prefer-arrow-callback': ['error', { allowNamedFunctions: true, allowUnboundThis: true }],\n 'prefer-const': ['error', { destructuring: 'all', ignoreReadBeforeAssign: true }],\n 'prefer-destructuring': 'off',\n 'prefer-exponentiation-operator': 'error',\n 'prefer-named-capture-group': undefined,\n 'prefer-numeric-literals': 'error',\n 'prefer-object-has-own': 'error',\n 'prefer-object-spread': 'error',\n 'prefer-promise-reject-errors': 'error',\n 'prefer-regex-literals': ['error', { disallowRedundantWrapping: true }],\n 'prefer-rest-params': 'error',\n 'prefer-spread': 'error',\n 'prefer-template': 'error',\n 'preserve-caught-error': 'error',\n 'require-await': undefined,\n 'require-unicode-regexp': undefined,\n 'require-yield': 'error',\n 'sort-imports': undefined,\n 'sort-keys': undefined,\n 'sort-vars': 'error',\n 'symbol-description': 'error',\n 'unicode-bom': ['error', 'never'],\n 'use-isnan': ['error', { enforceForIndexOf: true, enforceForSwitchCase: true }],\n 'valid-typeof': ['error', { requireStringLiterals: true }],\n 'vars-on-top': 'error',\n complexity: ['error', { variant: 'modified', max: 20 }],\n curly: 'error',\n eqeqeq: ['error', 'smart'],\n radix: 'error',\n yoda: ['error', 'never'],\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const jsdocConfig = defineConfig({\n plugins: ['jsdoc'],\n rules: {\n 'jsdoc/check-access': 'error',\n 'jsdoc/check-property-names': 'error',\n 'jsdoc/check-tag-names': [\n 'error',\n {\n typed: true,\n definedTags: [\n 'effect-codegens',\n 'effect-diagnostics',\n 'effect-diagnostics-next-line',\n 'effect-expect-leaking',\n 'effect-identifier',\n 'effect-leakable-service',\n 'effect-schema-codegenerated',\n ],\n },\n ],\n 'jsdoc/empty-tags': 'error',\n 'jsdoc/implements-on-classes': 'error',\n 'jsdoc/no-defaults': 'error',\n 'jsdoc/require-param': 'error',\n 'jsdoc/require-param-name': 'error',\n 'jsdoc/require-property': 'error',\n 'jsdoc/require-property-description': 'error',\n 'jsdoc/require-property-name': 'error',\n 'jsdoc/require-returns-description': 'error',\n 'jsdoc/require-yields': 'error',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const nodeConfig = defineConfig({\n plugins: ['node'],\n rules: {\n 'node/callback-return': 'off',\n 'node/exports-style': ['error', 'module.exports'],\n 'node/global-require': 'off',\n 'node/handle-callback-err': ['error', '^(err|error)$'],\n 'node/no-exports-assign': 'error',\n 'node/no-mixed-requires': 'error',\n 'node/no-new-require': 'error',\n 'node/no-path-concat': 'error',\n 'node/no-process-env': 'off',\n 'node/no-sync': 'off',\n 'node/no-top-level-await': 'off',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const oxcConfig = defineConfig({\n plugins: ['oxc'],\n\n rules: {\n 'oxc/approx-constant': 'error',\n 'oxc/bad-array-method-on-arguments': 'error',\n 'oxc/bad-bitwise-operator': 'error',\n 'oxc/bad-char-at-comparison': 'error',\n 'oxc/bad-comparison-sequence': 'error',\n 'oxc/bad-match-all-arg': 'error',\n 'oxc/bad-min-max-func': 'error',\n 'oxc/bad-object-literal-comparison': 'error',\n 'oxc/bad-replace-all-arg': 'error',\n 'oxc/branches-sharing-code': 'error',\n 'oxc/const-comparisons': 'error',\n 'oxc/double-comparisons': 'error',\n 'oxc/erasing-op': 'error',\n 'oxc/misrefactored-assign-op': 'error',\n 'oxc/missing-throw': 'error',\n 'oxc/no-accumulating-spread': 'error',\n 'oxc/no-async-await': undefined,\n 'oxc/no-async-endpoint-handlers': undefined,\n 'oxc/no-barrel-file': ['error', { threshold: 10_000 }],\n 'oxc/no-const-enum': 'error',\n 'oxc/no-map-spread': undefined,\n 'oxc/no-optional-chaining': undefined,\n 'oxc/no-rest-spread-properties': undefined,\n 'oxc/no-this-in-exported-function': 'error',\n 'oxc/number-arg-out-of-range': 'error',\n 'oxc/only-used-in-recursion': 'error',\n 'oxc/uninvoked-array-callback': 'error',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const unicornConfig = defineConfig({\n plugins: ['unicorn'],\n rules: {\n 'unicorn/catch-error-name': 'error',\n 'unicorn/consistent-assert': 'error',\n 'unicorn/consistent-date-clone': 'error',\n 'unicorn/consistent-empty-array-spread': 'error',\n 'unicorn/consistent-existence-index-check': 'error',\n 'unicorn/consistent-function-scoping': 'error',\n 'unicorn/consistent-template-literal-escape': 'error',\n 'unicorn/custom-error-definition': undefined,\n 'unicorn/empty-brace-spaces': 'error',\n 'unicorn/error-message': 'error',\n 'unicorn/escape-case': 'error',\n 'unicorn/explicit-length-check': 'error',\n 'unicorn/explicit-timer-delay': 'error',\n 'unicorn/filename-case': undefined,\n 'unicorn/import-style': 'error',\n 'unicorn/max-nested-calls': undefined,\n 'unicorn/new-for-builtins': 'error',\n 'unicorn/no-abusive-eslint-disable': 'error',\n 'unicorn/no-accessor-recursion': 'error',\n 'unicorn/no-anonymous-default-export': 'error',\n 'unicorn/no-array-callback-reference': undefined,\n 'unicorn/no-array-fill-with-reference-type': 'error',\n 'unicorn/no-array-for-each': 'error',\n 'unicorn/no-array-method-this-argument': 'error',\n 'unicorn/no-array-reduce': 'error',\n 'unicorn/no-array-reverse': 'error',\n 'unicorn/no-array-sort': 'error',\n 'unicorn/no-await-expression-member': 'error',\n 'unicorn/no-await-in-promise-methods': 'error',\n 'unicorn/no-confusing-array-with': 'error',\n 'unicorn/no-console-spaces': 'error',\n 'unicorn/no-document-cookie': 'error',\n 'unicorn/no-empty-file': 'error',\n 'unicorn/no-hex-escape': 'error',\n 'unicorn/no-immediate-mutation': 'error',\n 'unicorn/no-instanceof-array': 'error',\n 'unicorn/no-instanceof-builtins': 'error',\n 'unicorn/no-invalid-fetch-options': 'error',\n 'unicorn/no-invalid-remove-event-listener': 'error',\n 'unicorn/no-length-as-slice-end': 'error',\n 'unicorn/no-lonely-if': 'error',\n 'unicorn/no-magic-array-flat-depth': 'error',\n 'unicorn/no-negated-condition': 'error',\n 'unicorn/no-negation-in-equality-check': 'error',\n 'unicorn/no-nested-ternary': undefined,\n 'unicorn/no-new-array': 'error',\n 'unicorn/no-new-buffer': 'error',\n 'unicorn/no-null': 'error',\n 'unicorn/no-object-as-default-parameter': 'error',\n 'unicorn/no-process-exit': 'error',\n 'unicorn/no-single-promise-in-promise-methods': 'error',\n 'unicorn/no-static-only-class': 'error',\n 'unicorn/no-thenable': 'error',\n 'unicorn/no-this-assignment': 'error',\n 'unicorn/no-typeof-undefined': 'error',\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\n 'unicorn/no-unnecessary-array-splice-count': 'error',\n 'unicorn/no-unnecessary-await': 'error',\n 'unicorn/no-unnecessary-slice-end': 'error',\n 'unicorn/no-unreadable-array-destructuring': 'error',\n 'unicorn/no-unreadable-iife': 'error',\n 'unicorn/no-useless-collection-argument': 'error',\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\n 'unicorn/no-useless-fallback-in-spread': 'error',\n 'unicorn/no-useless-iterator-to-array': 'error',\n 'unicorn/no-useless-length-check': 'error',\n 'unicorn/no-useless-promise-resolve-reject': 'error',\n 'unicorn/no-useless-spread': 'error',\n 'unicorn/no-useless-switch-case': 'error',\n 'unicorn/no-useless-undefined': ['error', { checkArguments: false, checkArrowFunctionBody: false }],\n 'unicorn/no-zero-fractions': 'error',\n 'unicorn/number-literal-case': 'error',\n 'unicorn/numeric-separators-style': 'error',\n 'unicorn/prefer-add-event-listener': 'error',\n 'unicorn/prefer-array-find': 'error',\n 'unicorn/prefer-array-flat': 'error',\n 'unicorn/prefer-array-flat-map': 'error',\n 'unicorn/prefer-array-index-of': 'error',\n 'unicorn/prefer-array-some': 'error',\n 'unicorn/prefer-at': 'error',\n 'unicorn/prefer-bigint-literals': 'error',\n 'unicorn/prefer-blob-reading-methods': 'error',\n 'unicorn/prefer-class-fields': 'error',\n 'unicorn/prefer-classlist-toggle': 'error',\n 'unicorn/prefer-code-point': 'error',\n 'unicorn/prefer-date-now': 'error',\n 'unicorn/prefer-default-parameters': 'error',\n 'unicorn/prefer-dom-node-append': 'error',\n 'unicorn/prefer-dom-node-dataset': 'error',\n 'unicorn/prefer-dom-node-remove': 'error',\n 'unicorn/prefer-dom-node-text-content': 'error',\n 'unicorn/prefer-event-target': 'error',\n 'unicorn/prefer-export-from': 'error',\n 'unicorn/prefer-global-this': 'error',\n 'unicorn/prefer-import-meta-properties': undefined,\n 'unicorn/prefer-includes': 'error',\n 'unicorn/prefer-keyboard-event-key': 'error',\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\n 'unicorn/prefer-math-min-max': 'error',\n 'unicorn/prefer-math-trunc': 'error',\n 'unicorn/prefer-modern-dom-apis': 'error',\n 'unicorn/prefer-modern-math-apis': 'error',\n 'unicorn/prefer-module': undefined,\n 'unicorn/prefer-native-coercion-functions': 'error',\n 'unicorn/prefer-negative-index': 'error',\n 'unicorn/prefer-node-protocol': 'error',\n 'unicorn/prefer-number-coercion': undefined,\n 'unicorn/prefer-number-properties': 'error',\n 'unicorn/prefer-object-from-entries': 'error',\n 'unicorn/prefer-optional-catch-binding': 'error',\n 'unicorn/prefer-prototype-methods': 'error',\n 'unicorn/prefer-query-selector': 'error',\n 'unicorn/prefer-reflect-apply': 'error',\n 'unicorn/prefer-regexp-test': 'error',\n 'unicorn/prefer-response-static-json': 'error',\n 'unicorn/prefer-set-has': 'error',\n 'unicorn/prefer-set-size': 'error',\n 'unicorn/prefer-single-call': 'error',\n 'unicorn/prefer-spread': 'error',\n 'unicorn/prefer-string-raw': 'error',\n 'unicorn/prefer-string-replace-all': 'error',\n 'unicorn/prefer-string-slice': 'error',\n 'unicorn/prefer-string-starts-ends-with': 'error',\n 'unicorn/prefer-string-trim-start-end': 'error',\n 'unicorn/prefer-structured-clone': 'error',\n 'unicorn/prefer-ternary': ['error', 'only-single-line'],\n 'unicorn/prefer-top-level-await': undefined,\n 'unicorn/prefer-type-error': 'error',\n 'unicorn/relative-url-style': 'error',\n 'unicorn/require-array-join-separator': 'error',\n 'unicorn/require-module-attributes': 'error',\n 'unicorn/require-module-specifiers': 'error',\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\n 'unicorn/require-post-message-target-origin': undefined,\n 'unicorn/switch-case-braces': 'error',\n 'unicorn/switch-case-break-position': 'error',\n 'unicorn/text-encoding-identifier-case': 'error',\n 'unicorn/throw-new-error': 'off',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const zodConfig = defineConfig({\n jsPlugins: [\n {\n name: 'zod',\n specifier: import.meta.resolve('eslint-plugin-zod'),\n },\n ],\n rules: {\n 'zod/array-style': ['error', { style: 'function' }],\n 'zod/consistent-import': ['error', { syntax: 'namespace' }],\n 'zod/consistent-schema-output-type-style': ['error', { style: 'infer' }],\n 'zod/consistent-schema-var-name': ['warn', { after: 'Schema' }],\n 'zod/no-any-schema': 'error',\n 'zod/no-coerce-boolean': 'error',\n 'zod/no-conflicting-checks': [\n 'error',\n { checkConfusingCases: true, checkImpossibleCases: true, checkInapplicableChecks: true },\n ],\n 'zod/no-duplicate-schema-methods': 'error',\n 'zod/no-empty-custom-schema': 'error',\n 'zod/no-native-enum': 'error',\n 'zod/no-number-schema-with-finite': 'error',\n 'zod/no-number-schema-with-int': 'error',\n 'zod/no-number-schema-with-is-finite': 'error',\n 'zod/no-number-schema-with-is-int': 'error',\n 'zod/no-number-schema-with-safe': 'error',\n 'zod/no-number-schema-with-step': 'error',\n 'zod/no-optional-and-default-together': ['warn', { preferredMethod: 'default' }],\n 'zod/no-promise-schema': 'error',\n 'zod/no-schema-with-is-nullable': 'error',\n 'zod/no-schema-with-is-optional': 'error',\n 'zod/no-throw-in-refine': 'error',\n 'zod/no-transform-in-record-key': 'error',\n 'zod/no-unnecessary-readonly': 'error',\n 'zod/prefer-enum-over-literal-union': 'error',\n 'zod/prefer-loose-object': 'error',\n 'zod/prefer-meta': 'error',\n 'zod/prefer-meta-last': 'error',\n 'zod/prefer-strict-object': 'error',\n 'zod/prefer-string-length-over-min-max': 'error',\n 'zod/prefer-string-schema-with-trim': 'error',\n 'zod/prefer-top-level-string-formats': 'error',\n 'zod/prefer-trim-before-string-length-checks': 'error',\n 'zod/prefer-tuple-over-array-length': 'error',\n 'zod/require-brand-type-parameter': 'error',\n 'zod/schema-error-property-style': [\n 'error',\n { selector: 'Literal,TemplateLiteral', example: `\"This is an error message\"` },\n ],\n\n 'zod/consistent-import-source': undefined,\n 'zod/consistent-object-schema-type': undefined,\n 'zod/no-string-schema-with-uuid': undefined,\n 'zod/no-unknown-schema': undefined,\n 'zod/require-error-message': undefined,\n },\n});\n","import { defineConfig } from 'oxlint';\n\nimport { ignorePatterns } from '@2digits/constants';\n\nimport { twoDigitsPluginConfig } from './configs/2digits';\nimport { importConfig } from './configs/import';\nimport { javascriptConfig } from './configs/javascript';\nimport { jsdocConfig } from './configs/jsdoc';\nimport { nodeConfig } from './configs/node';\nimport { oxcConfig } from './configs/oxc';\nimport { unicornConfig } from './configs/unicorn';\nimport { zodConfig } from './configs/zod';\n\nexport const baseConfig = defineConfig({\n env: {\n browser: true,\n node: true,\n },\n options: {\n denyWarnings: true,\n reportUnusedDisableDirectives: 'deny',\n },\n categories: {\n nursery: 'off',\n pedantic: 'off',\n correctness: 'off',\n perf: 'off',\n style: 'off',\n restriction: 'off',\n suspicious: 'off',\n },\n extends: [\n javascriptConfig,\n unicornConfig,\n importConfig,\n nodeConfig,\n oxcConfig,\n jsdocConfig,\n zodConfig,\n twoDigitsPluginConfig,\n ],\n ignorePatterns,\n});\n"],"mappings":"oJAIA,MAAa,EAAwB,EAAa,CAChD,UAAW,CACT,CACE,KAAM,UACN,UAAW,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B,CAAC,QAAS,CAAE,OAAQ,WAAY,CAAC,EAC1D,0CAA2C,CAAC,QAAS,CAAE,MAAO,OAAQ,CAAC,EACvE,iCAAkC,CAAC,OAAQ,CAAE,MAAO,QAAS,CAAC,EAC9D,oBAAqB,QACrB,wBAAyB,QACzB,4BAA6B,CAC3B,QACA,CAAE,oBAAqB,GAAM,qBAAsB,GAAM,wBAAyB,EAAK,CACzF,EACA,kCAAmC,QACnC,6BAA8B,QAC9B,qBAAsB,QACtB,mCAAoC,QACpC,gCAAiC,QACjC,sCAAuC,QACvC,mCAAoC,QACpC,iCAAkC,QAClC,iCAAkC,QAClC,uCAAwC,CAAC,OAAQ,CAAE,gBAAiB,SAAU,CAAC,EAC/E,wBAAyB,QACzB,iCAAkC,QAClC,iCAAkC,QAClC,yBAA0B,QAC1B,iCAAkC,QAClC,8BAA+B,QAC/B,qCAAsC,QACtC,0BAA2B,QAC3B,kBAAmB,QACnB,uBAAwB,QACxB,2BAA4B,QAC5B,wCAAyC,QACzC,qCAAsC,QACtC,sCAAuC,QACvC,8CAA+C,QAC/C,qCAAsC,QACtC,mCAAoC,QACpC,kCAAmC,CACjC,QACA,CAAE,SAAU,0BAA2B,QAAS,4BAA6B,CAC/E,EAEA,+BAAgC,IAAA,GAChC,oCAAqC,IAAA,GACrC,iCAAkC,IAAA,GAClC,wBAAyB,IAAA,GACzB,4BAA6B,IAAA,EAC/B,CACF,CAAC,EC7CY,EAAa,EAAa,CACrC,IAAK,CACH,QAAS,GACT,KAAM,EACR,EACA,QAAS,CACP,aAAc,GACd,8BAA+B,MACjC,EACA,WAAY,CACV,QAAS,MACT,SAAU,MACV,YAAa,MACb,KAAM,MACN,MAAO,MACP,YAAa,MACb,WAAY,KACd,EACA,QAAS,CACP,EACA,EACA,EACA,EACA,EACA,EACA,EACA,CACF,EACA,gBACF,CAAC"}
1
+ {"version":3,"file":"base-M4dxDhGw.mjs","names":[],"sources":["../src/configs/2digits.ts","../src/configs/import.ts","../src/configs/javascript.ts","../src/configs/jsdoc.ts","../src/configs/node.ts","../src/configs/oxc.ts","../src/configs/unicorn.ts","../src/configs/zod.ts","../src/base.ts"],"sourcesContent":["import { defineConfig } from 'oxlint';\n\nimport { recommendedRules } from '@2digits/oxlint-plugin';\n\nexport const twoDigitsPluginConfig = defineConfig({\n jsPlugins: [\n {\n name: '2digits',\n specifier: import.meta.resolve('@2digits/oxlint-plugin'),\n },\n ],\n rules: recommendedRules,\n});\n","import { defineConfig } from 'oxlint';\n\nexport const importConfig = defineConfig({\n plugins: ['import'],\n rules: {\n 'import/consistent-type-specifier-style': undefined,\n 'import/default': 'error',\n 'import/export': 'error',\n 'import/exports-last': undefined,\n 'import/extensions': undefined,\n 'import/first': ['error', 'disable-absolute-first'],\n 'import/group-exports': undefined,\n 'import/max-dependencies': undefined,\n 'import/named': undefined,\n 'import/namespace': 'error',\n 'import/no-absolute-path': 'error',\n 'import/no-amd': 'error',\n 'import/no-anonymous-default-export': 'error',\n 'import/no-commonjs': undefined,\n 'import/no-cycle': 'error',\n 'import/no-default-export': undefined,\n 'import/no-duplicates': 'error',\n 'import/no-dynamic-require': 'error',\n 'import/no-empty-named-blocks': 'error',\n 'import/no-mutable-exports': undefined,\n 'import/no-named-as-default': 'error',\n 'import/no-named-as-default-member': 'error',\n 'import/no-named-default': 'error',\n 'import/no-named-export': undefined,\n 'import/no-namespace': undefined,\n 'import/no-nodejs-modules': undefined,\n 'import/no-relative-parent-imports': undefined,\n 'import/no-self-import': 'error',\n 'import/no-unassigned-import': undefined,\n 'import/no-webpack-loader-syntax': 'error',\n 'import/prefer-default-export': undefined,\n 'import/unambiguous': undefined,\n\n 'import/newline-after-import': undefined,\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const javascriptConfig = defineConfig({\n plugins: ['eslint'],\n rules: {\n 'accessor-pairs': ['error', { enforceForClassMembers: true, setWithoutGet: true }],\n 'array-callback-return': 'error',\n 'arrow-body-style': ['error', 'as-needed', { requireReturnForObjectLiteral: false }],\n 'block-scoped-var': 'error',\n 'capitalized-comments': 'error',\n 'class-methods-use-this': undefined,\n 'constructor-super': 'error',\n 'default-case': undefined,\n 'default-case-last': 'error',\n 'default-param-last': 'error',\n 'for-direction': 'error',\n 'func-name-matching': undefined,\n 'func-names': ['error', 'always', { generators: 'never' }],\n 'func-style': ['error', 'declaration', { allowTypeAnnotation: true }],\n 'getter-return': 'error',\n 'grouped-accessor-pairs': 'error',\n 'guard-for-in': 'error',\n 'id-length': undefined,\n 'init-declarations': undefined,\n 'logical-assignment-operators': ['error', 'always'],\n 'max-classes-per-file': undefined,\n 'max-depth': undefined,\n 'max-lines': undefined,\n 'max-lines-per-function': undefined,\n 'max-nested-callbacks': undefined,\n 'max-params': undefined,\n 'max-statements': undefined,\n 'new-cap': ['error', { capIsNew: false, newIsCap: true, properties: true }],\n 'no-alert': 'error',\n 'no-array-constructor': 'error',\n 'no-async-promise-executor': 'error',\n 'no-await-in-loop': 'error',\n 'no-bitwise': undefined,\n 'no-caller': 'error',\n 'no-case-declarations': 'error',\n 'no-class-assign': 'error',\n 'no-compare-neg-zero': 'error',\n 'no-cond-assign': ['error', 'always'],\n 'no-console': undefined,\n 'no-const-assign': 'error',\n 'no-constant-binary-expression': 'error',\n 'no-constant-condition': 'error',\n 'no-constructor-return': 'error',\n 'no-continue': undefined,\n 'no-control-regex': 'error',\n 'no-debugger': 'error',\n 'no-delete-var': 'error',\n 'no-div-regex': 'error',\n 'no-dupe-class-members': 'error',\n 'no-dupe-else-if': 'error',\n 'no-dupe-keys': 'error',\n 'no-duplicate-case': 'error',\n 'no-duplicate-imports': ['error', { allowSeparateTypeImports: false, includeExports: false }],\n 'no-else-return': ['error', { allowElseIf: false }],\n 'no-empty': ['error', { allowEmptyCatch: true }],\n 'no-empty-character-class': 'error',\n 'no-empty-function': undefined,\n 'no-empty-pattern': 'error',\n 'no-empty-static-block': 'error',\n 'no-eq-null': undefined,\n 'no-eval': 'error',\n 'no-ex-assign': 'error',\n 'no-extend-native': 'error',\n 'no-extra-bind': 'error',\n 'no-extra-boolean-cast': 'error',\n 'no-extra-label': 'error',\n 'no-fallthrough': 'error',\n 'no-func-assign': 'error',\n 'no-global-assign': 'error',\n 'no-implicit-coercion': undefined,\n 'no-implicit-globals': ['error', { lexicalBindings: true }],\n 'no-implied-eval': 'error',\n 'no-import-assign': 'error',\n 'no-inline-comments': undefined,\n 'no-inner-declarations': undefined,\n 'no-invalid-regexp': 'error',\n 'no-irregular-whitespace': 'error',\n 'no-iterator': 'error',\n 'no-label-var': 'error',\n 'no-labels': ['error', { allowLoop: false, allowSwitch: false }],\n 'no-lone-blocks': 'error',\n 'no-lonely-if': 'error',\n 'no-loop-func': 'error',\n 'no-loss-of-precision': 'error',\n 'no-magic-numbers': undefined,\n 'no-misleading-character-class': 'error',\n 'no-multi-assign': 'error',\n 'no-multi-str': 'error',\n 'no-negated-condition': 'error',\n 'no-nested-ternary': undefined,\n 'no-new': 'error',\n 'no-new-func': 'error',\n 'no-new-native-nonconstructor': 'error',\n 'no-new-wrappers': 'error',\n 'no-nonoctal-decimal-escape': 'error',\n 'no-obj-calls': 'error',\n 'no-object-constructor': 'error',\n 'no-param-reassign': undefined,\n 'no-plusplus': undefined,\n 'no-promise-executor-return': 'error',\n 'no-proto': 'error',\n 'no-prototype-builtins': 'error',\n 'no-redeclare': 'off',\n 'no-regex-spaces': 'error',\n 'no-restricted-exports': undefined,\n 'no-restricted-globals': [\n 'error',\n { message: 'Use `globalThis` instead.', name: 'global' },\n { message: 'Use `globalThis` instead.', name: 'self' },\n ],\n 'no-restricted-imports': undefined,\n 'no-restricted-properties': [\n 'error',\n {\n message: 'Use `Object.getPrototypeOf` or `Object.setPrototypeOf` instead.',\n property: '__proto__',\n },\n { message: 'Use `Object.defineProperty` instead.', property: '__defineGetter__' },\n { message: 'Use `Object.defineProperty` instead.', property: '__defineSetter__' },\n { message: 'Use `Object.getOwnPropertyDescriptor` instead.', property: '__lookupGetter__' },\n { message: 'Use `Object.getOwnPropertyDescriptor` instead.', property: '__lookupSetter__' },\n ],\n 'no-return-assign': 'error',\n 'no-script-url': 'error',\n 'no-self-assign': ['error', { props: true }],\n 'no-self-compare': 'error',\n 'no-sequences': 'error',\n 'no-setter-return': 'error',\n 'no-shadow': 'off',\n 'no-shadow-restricted-names': 'error',\n 'no-sparse-arrays': 'error',\n 'no-template-curly-in-string': 'error',\n 'no-ternary': undefined,\n 'no-this-before-super': 'error',\n 'no-throw-literal': 'error',\n 'no-unassigned-vars': 'error',\n 'no-undef': 'error',\n 'no-undefined': undefined,\n 'no-underscore-dangle': undefined,\n 'no-unexpected-multiline': 'error',\n 'no-unmodified-loop-condition': 'error',\n 'no-unneeded-ternary': ['error', { defaultAssignment: false }],\n 'no-unreachable': 'error',\n 'no-unreachable-loop': 'error',\n 'no-unsafe-finally': 'error',\n 'no-unsafe-negation': 'error',\n 'no-unsafe-optional-chaining': 'error',\n 'no-unused-expressions': ['error', { allowShortCircuit: true, allowTaggedTemplates: true, allowTernary: true }],\n 'no-unused-labels': 'error',\n 'no-unused-private-class-members': 'error',\n 'no-unused-vars': [\n 'error',\n {\n args: 'none',\n caughtErrors: 'none',\n vars: 'all',\n argsIgnorePattern: '^_',\n ignoreRestSiblings: true,\n varsIgnorePattern: '^_',\n },\n ],\n 'no-use-before-define': undefined,\n 'no-useless-assignment': 'off',\n 'no-useless-backreference': 'error',\n 'no-useless-call': 'error',\n 'no-useless-catch': 'error',\n 'no-useless-computed-key': 'error',\n 'no-useless-concat': 'error',\n 'no-useless-constructor': 'error',\n 'no-useless-escape': 'error',\n 'no-useless-rename': 'error',\n 'no-useless-return': 'error',\n 'no-var': 'error',\n 'no-void': undefined,\n 'no-warning-comments': undefined,\n 'no-with': 'error',\n 'object-shorthand': ['error', 'always', { avoidQuotes: true, ignoreConstructors: false }],\n 'one-var': undefined,\n 'operator-assignment': ['error', 'always'],\n 'prefer-arrow-callback': ['error', { allowNamedFunctions: true, allowUnboundThis: true }],\n 'prefer-const': ['error', { destructuring: 'all', ignoreReadBeforeAssign: true }],\n 'prefer-destructuring': 'off',\n 'prefer-exponentiation-operator': 'error',\n 'prefer-named-capture-group': undefined,\n 'prefer-numeric-literals': 'error',\n 'prefer-object-has-own': 'error',\n 'prefer-object-spread': 'error',\n 'prefer-promise-reject-errors': 'error',\n 'prefer-regex-literals': ['error', { disallowRedundantWrapping: true }],\n 'prefer-rest-params': 'error',\n 'prefer-spread': 'error',\n 'prefer-template': 'error',\n 'preserve-caught-error': 'error',\n 'require-await': undefined,\n 'require-unicode-regexp': undefined,\n 'require-yield': 'error',\n 'sort-imports': undefined,\n 'sort-keys': undefined,\n 'sort-vars': 'error',\n 'symbol-description': 'error',\n 'unicode-bom': ['error', 'never'],\n 'use-isnan': ['error', { enforceForIndexOf: true, enforceForSwitchCase: true }],\n 'valid-typeof': ['error', { requireStringLiterals: true }],\n 'vars-on-top': 'error',\n complexity: ['error', { variant: 'modified', max: 20 }],\n curly: 'error',\n eqeqeq: ['error', 'smart'],\n radix: 'error',\n yoda: ['error', 'never'],\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const jsdocConfig = defineConfig({\n plugins: ['jsdoc'],\n rules: {\n 'jsdoc/check-access': 'error',\n 'jsdoc/check-property-names': 'error',\n 'jsdoc/check-tag-names': [\n 'error',\n {\n typed: true,\n definedTags: [\n 'effect-codegens',\n 'effect-diagnostics',\n 'effect-diagnostics-next-line',\n 'effect-expect-leaking',\n 'effect-identifier',\n 'effect-leakable-service',\n 'effect-schema-codegenerated',\n ],\n },\n ],\n 'jsdoc/empty-tags': 'error',\n 'jsdoc/implements-on-classes': 'error',\n 'jsdoc/no-defaults': 'error',\n 'jsdoc/require-param': 'error',\n 'jsdoc/require-param-name': 'error',\n 'jsdoc/require-property': 'error',\n 'jsdoc/require-property-description': 'error',\n 'jsdoc/require-property-name': 'error',\n 'jsdoc/require-returns-description': 'error',\n 'jsdoc/require-yields': 'error',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const nodeConfig = defineConfig({\n plugins: ['node'],\n rules: {\n 'node/callback-return': 'off',\n 'node/exports-style': ['error', 'module.exports'],\n 'node/global-require': 'off',\n 'node/handle-callback-err': ['error', '^(err|error)$'],\n 'node/no-exports-assign': 'error',\n 'node/no-mixed-requires': 'error',\n 'node/no-new-require': 'error',\n 'node/no-path-concat': 'error',\n 'node/no-process-env': 'off',\n 'node/no-sync': 'off',\n 'node/no-top-level-await': 'off',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const oxcConfig = defineConfig({\n plugins: ['oxc'],\n\n rules: {\n 'oxc/approx-constant': 'error',\n 'oxc/bad-array-method-on-arguments': 'error',\n 'oxc/bad-bitwise-operator': 'error',\n 'oxc/bad-char-at-comparison': 'error',\n 'oxc/bad-comparison-sequence': 'error',\n 'oxc/bad-match-all-arg': 'error',\n 'oxc/bad-min-max-func': 'error',\n 'oxc/bad-object-literal-comparison': 'error',\n 'oxc/bad-replace-all-arg': 'error',\n 'oxc/branches-sharing-code': 'error',\n 'oxc/const-comparisons': 'error',\n 'oxc/double-comparisons': 'error',\n 'oxc/erasing-op': 'error',\n 'oxc/misrefactored-assign-op': 'error',\n 'oxc/missing-throw': 'error',\n 'oxc/no-accumulating-spread': 'error',\n 'oxc/no-async-await': undefined,\n 'oxc/no-async-endpoint-handlers': undefined,\n 'oxc/no-barrel-file': ['error', { threshold: 10_000 }],\n 'oxc/no-const-enum': 'error',\n 'oxc/no-map-spread': undefined,\n 'oxc/no-optional-chaining': undefined,\n 'oxc/no-rest-spread-properties': undefined,\n 'oxc/no-this-in-exported-function': 'error',\n 'oxc/number-arg-out-of-range': 'error',\n 'oxc/only-used-in-recursion': 'error',\n 'oxc/uninvoked-array-callback': 'error',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const unicornConfig = defineConfig({\n plugins: ['unicorn'],\n rules: {\n 'unicorn/catch-error-name': 'error',\n 'unicorn/consistent-assert': 'error',\n 'unicorn/consistent-date-clone': 'error',\n 'unicorn/consistent-empty-array-spread': 'error',\n 'unicorn/consistent-existence-index-check': 'error',\n 'unicorn/consistent-function-scoping': 'error',\n 'unicorn/consistent-template-literal-escape': 'error',\n 'unicorn/custom-error-definition': undefined,\n 'unicorn/empty-brace-spaces': 'error',\n 'unicorn/error-message': 'error',\n 'unicorn/escape-case': 'error',\n 'unicorn/explicit-length-check': 'error',\n 'unicorn/explicit-timer-delay': 'error',\n 'unicorn/filename-case': undefined,\n 'unicorn/import-style': 'error',\n 'unicorn/max-nested-calls': undefined,\n 'unicorn/new-for-builtins': 'error',\n 'unicorn/no-abusive-eslint-disable': 'error',\n 'unicorn/no-accessor-recursion': 'error',\n 'unicorn/no-anonymous-default-export': 'error',\n 'unicorn/no-array-callback-reference': undefined,\n 'unicorn/no-array-fill-with-reference-type': 'error',\n 'unicorn/no-array-for-each': 'error',\n 'unicorn/no-array-method-this-argument': 'error',\n 'unicorn/no-array-reduce': 'error',\n 'unicorn/no-array-reverse': 'error',\n 'unicorn/no-array-sort': 'error',\n 'unicorn/no-await-expression-member': 'error',\n 'unicorn/no-await-in-promise-methods': 'error',\n 'unicorn/no-confusing-array-with': 'error',\n 'unicorn/no-console-spaces': 'error',\n 'unicorn/no-document-cookie': 'error',\n 'unicorn/no-empty-file': 'error',\n 'unicorn/no-hex-escape': 'error',\n 'unicorn/no-immediate-mutation': 'error',\n 'unicorn/no-instanceof-array': 'error',\n 'unicorn/no-instanceof-builtins': 'error',\n 'unicorn/no-invalid-fetch-options': 'error',\n 'unicorn/no-invalid-remove-event-listener': 'error',\n 'unicorn/no-length-as-slice-end': 'error',\n 'unicorn/no-lonely-if': 'error',\n 'unicorn/no-magic-array-flat-depth': 'error',\n 'unicorn/no-negated-condition': 'error',\n 'unicorn/no-negation-in-equality-check': 'error',\n 'unicorn/no-nested-ternary': undefined,\n 'unicorn/no-new-array': 'error',\n 'unicorn/no-new-buffer': 'error',\n 'unicorn/no-null': 'error',\n 'unicorn/no-object-as-default-parameter': 'error',\n 'unicorn/no-process-exit': 'error',\n 'unicorn/no-single-promise-in-promise-methods': 'error',\n 'unicorn/no-static-only-class': 'error',\n 'unicorn/no-thenable': 'error',\n 'unicorn/no-this-assignment': 'error',\n 'unicorn/no-typeof-undefined': 'error',\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\n 'unicorn/no-unnecessary-array-splice-count': 'error',\n 'unicorn/no-unnecessary-await': 'error',\n 'unicorn/no-unnecessary-slice-end': 'error',\n 'unicorn/no-unreadable-array-destructuring': 'error',\n 'unicorn/no-unreadable-iife': 'error',\n 'unicorn/no-useless-collection-argument': 'error',\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\n 'unicorn/no-useless-fallback-in-spread': 'error',\n 'unicorn/no-useless-iterator-to-array': 'error',\n 'unicorn/no-useless-length-check': 'error',\n 'unicorn/no-useless-promise-resolve-reject': 'error',\n 'unicorn/no-useless-spread': 'error',\n 'unicorn/no-useless-switch-case': 'error',\n 'unicorn/no-useless-undefined': ['error', { checkArguments: false, checkArrowFunctionBody: false }],\n 'unicorn/no-zero-fractions': 'error',\n 'unicorn/number-literal-case': 'error',\n 'unicorn/numeric-separators-style': 'error',\n 'unicorn/prefer-add-event-listener': 'error',\n 'unicorn/prefer-array-find': 'error',\n 'unicorn/prefer-array-flat': 'error',\n 'unicorn/prefer-array-flat-map': 'error',\n 'unicorn/prefer-array-index-of': 'error',\n 'unicorn/prefer-array-some': 'error',\n 'unicorn/prefer-at': 'error',\n 'unicorn/prefer-bigint-literals': 'error',\n 'unicorn/prefer-blob-reading-methods': 'error',\n 'unicorn/prefer-class-fields': 'error',\n 'unicorn/prefer-classlist-toggle': 'error',\n 'unicorn/prefer-code-point': 'error',\n 'unicorn/prefer-date-now': 'error',\n 'unicorn/prefer-default-parameters': 'error',\n 'unicorn/prefer-dom-node-append': 'error',\n 'unicorn/prefer-dom-node-dataset': 'error',\n 'unicorn/prefer-dom-node-remove': 'error',\n 'unicorn/prefer-dom-node-text-content': 'error',\n 'unicorn/prefer-event-target': 'error',\n 'unicorn/prefer-export-from': 'error',\n 'unicorn/prefer-global-this': 'error',\n 'unicorn/prefer-import-meta-properties': undefined,\n 'unicorn/prefer-includes': 'error',\n 'unicorn/prefer-keyboard-event-key': 'error',\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\n 'unicorn/prefer-math-min-max': 'error',\n 'unicorn/prefer-math-trunc': 'error',\n 'unicorn/prefer-modern-dom-apis': 'error',\n 'unicorn/prefer-modern-math-apis': 'error',\n 'unicorn/prefer-module': undefined,\n 'unicorn/prefer-native-coercion-functions': 'error',\n 'unicorn/prefer-negative-index': 'error',\n 'unicorn/prefer-node-protocol': 'error',\n 'unicorn/prefer-number-coercion': undefined,\n 'unicorn/prefer-number-properties': 'error',\n 'unicorn/prefer-object-from-entries': 'error',\n 'unicorn/prefer-optional-catch-binding': 'error',\n 'unicorn/prefer-prototype-methods': 'error',\n 'unicorn/prefer-query-selector': 'error',\n 'unicorn/prefer-reflect-apply': 'error',\n 'unicorn/prefer-regexp-test': 'error',\n 'unicorn/prefer-response-static-json': 'error',\n 'unicorn/prefer-set-has': 'error',\n 'unicorn/prefer-set-size': 'error',\n 'unicorn/prefer-single-call': 'error',\n 'unicorn/prefer-spread': 'error',\n 'unicorn/prefer-string-raw': 'error',\n 'unicorn/prefer-string-replace-all': 'error',\n 'unicorn/prefer-string-slice': 'error',\n 'unicorn/prefer-string-starts-ends-with': 'error',\n 'unicorn/prefer-string-trim-start-end': 'error',\n 'unicorn/prefer-structured-clone': 'error',\n 'unicorn/prefer-ternary': ['error', 'only-single-line'],\n 'unicorn/prefer-top-level-await': undefined,\n 'unicorn/prefer-type-error': 'error',\n 'unicorn/relative-url-style': 'error',\n 'unicorn/require-array-join-separator': 'error',\n 'unicorn/require-module-attributes': 'error',\n 'unicorn/require-module-specifiers': 'error',\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\n 'unicorn/require-post-message-target-origin': undefined,\n 'unicorn/switch-case-braces': 'error',\n 'unicorn/switch-case-break-position': 'error',\n 'unicorn/text-encoding-identifier-case': 'error',\n 'unicorn/throw-new-error': 'off',\n },\n});\n","import { defineConfig } from 'oxlint';\n\nexport const zodConfig = defineConfig({\n jsPlugins: [\n {\n name: 'zod',\n specifier: import.meta.resolve('eslint-plugin-zod'),\n },\n ],\n rules: {\n 'zod/array-style': ['error', { style: 'function' }],\n 'zod/consistent-import': ['error', { syntax: 'namespace' }],\n 'zod/consistent-schema-output-type-style': ['error', { style: 'infer' }],\n 'zod/consistent-schema-var-name': ['warn', { after: 'Schema' }],\n 'zod/no-any-schema': 'error',\n 'zod/no-coerce-boolean': 'error',\n 'zod/no-conflicting-checks': [\n 'error',\n { checkConfusingCases: true, checkImpossibleCases: true, checkInapplicableChecks: true },\n ],\n 'zod/no-duplicate-schema-methods': 'error',\n 'zod/no-dynamic-schema-value': 'error',\n 'zod/no-empty-custom-schema': 'error',\n 'zod/no-function-scoped-schema': 'error',\n 'zod/no-native-enum': 'error',\n 'zod/no-number-schema-with-finite': 'error',\n 'zod/no-number-schema-with-int': 'error',\n 'zod/no-number-schema-with-is-finite': 'error',\n 'zod/no-number-schema-with-is-int': 'error',\n 'zod/no-number-schema-with-safe': 'error',\n 'zod/no-number-schema-with-step': 'error',\n 'zod/no-optional-and-default-together': ['warn', { preferredMethod: 'default' }],\n 'zod/no-promise-schema': 'error',\n 'zod/no-schema-with-is-nullable': 'error',\n 'zod/no-schema-with-is-optional': 'error',\n 'zod/no-throw-in-refine': 'error',\n 'zod/no-transform-in-record-key': 'error',\n 'zod/no-unnecessary-readonly': 'error',\n 'zod/prefer-enum-over-literal-union': 'error',\n 'zod/prefer-loose-object': 'error',\n 'zod/prefer-map-set-size-over-min-max': 'error',\n 'zod/prefer-meta': 'error',\n 'zod/prefer-meta-last': 'error',\n 'zod/prefer-strict-object': 'error',\n 'zod/prefer-string-length-over-min-max': 'error',\n 'zod/prefer-string-schema-with-trim': 'error',\n 'zod/prefer-top-level-string-formats': 'error',\n 'zod/prefer-trim-before-string-length-checks': 'error',\n 'zod/prefer-tuple-over-array-length': 'error',\n 'zod/prefer-validate': 'error',\n 'zod/require-brand-type-parameter': 'error',\n 'zod/schema-error-property-style': [\n 'error',\n { selector: 'Literal,TemplateLiteral', example: `\"This is an error message\"` },\n ],\n\n 'zod/consistent-import-source': undefined,\n 'zod/consistent-object-schema-type': undefined,\n 'zod/no-string-schema-with-uuid': undefined,\n 'zod/no-unknown-schema': undefined,\n 'zod/require-error-message': undefined,\n },\n});\n","import { defineConfig } from 'oxlint';\n\nimport { ignorePatterns } from '@2digits/constants';\n\nimport { twoDigitsPluginConfig } from './configs/2digits';\nimport { importConfig } from './configs/import';\nimport { javascriptConfig } from './configs/javascript';\nimport { jsdocConfig } from './configs/jsdoc';\nimport { nodeConfig } from './configs/node';\nimport { oxcConfig } from './configs/oxc';\nimport { unicornConfig } from './configs/unicorn';\nimport { zodConfig } from './configs/zod';\n\nexport const baseConfig = defineConfig({\n env: {\n browser: true,\n node: true,\n },\n options: {\n denyWarnings: true,\n reportUnusedDisableDirectives: 'deny',\n },\n categories: {\n nursery: 'off',\n pedantic: 'off',\n correctness: 'off',\n perf: 'off',\n style: 'off',\n restriction: 'off',\n suspicious: 'off',\n },\n extends: [\n javascriptConfig,\n unicornConfig,\n importConfig,\n nodeConfig,\n oxcConfig,\n jsdocConfig,\n zodConfig,\n twoDigitsPluginConfig,\n ],\n ignorePatterns,\n});\n"],"mappings":"oJAIA,MAAa,EAAwB,EAAa,CAChD,UAAW,CACT,CACE,KAAM,UACN,UAAW,YAAY,QAAQ,wBAAwB,CACzD,CACF,EACA,MAAO,CACT,CAAC,ECVY,EAAe,EAAa,CACvC,QAAS,CAAC,QAAQ,EAClB,MAAO,CACL,yCAA0C,IAAA,GAC1C,iBAAkB,QAClB,gBAAiB,QACjB,sBAAuB,IAAA,GACvB,oBAAqB,IAAA,GACrB,eAAgB,CAAC,QAAS,wBAAwB,EAClD,uBAAwB,IAAA,GACxB,0BAA2B,IAAA,GAC3B,eAAgB,IAAA,GAChB,mBAAoB,QACpB,0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ACjC,qBAAsB,QACtB,mCAAoC,QACpC,gCAAiC,QACjC,sCAAuC,QACvC,mCAAoC,QACpC,iCAAkC,QAClC,iCAAkC,QAClC,uCAAwC,CAAC,OAAQ,CAAE,gBAAiB,SAAU,CAAC,EAC/E,wBAAyB,QACzB,iCAAkC,QAClC,iCAAkC,QAClC,yBAA0B,QAC1B,iCAAkC,QAClC,8BAA+B,QAC/B,qCAAsC,QACtC,0BAA2B,QAC3B,uCAAwC,QACxC,kBAAmB,QACnB,uBAAwB,QACxB,2BAA4B,QAC5B,wCAAyC,QACzC,qCAAsC,QACtC,sCAAuC,QACvC,8CAA+C,QAC/C,qCAAsC,QACtC,sBAAuB,QACvB,mCAAoC,QACpC,kCAAmC,CACjC,QACA,CAAE,SAAU,0BAA2B,QAAS,4BAA6B,CAC/E,EAEA,+BAAgC,IAAA,GAChC,oCAAqC,IAAA,GACrC,iCAAkC,IAAA,GAClC,wBAAyB,IAAA,GACzB,4BAA6B,IAAA,EAC/B,CACF,CAAC,ECjDY,EAAa,EAAa,CACrC,IAAK,CACH,QAAS,GACT,KAAM,EACR,EACA,QAAS,CACP,aAAc,GACd,8BAA+B,MACjC,EACA,WAAY,CACV,QAAS,MACT,SAAU,MACV,YAAa,MACb,KAAM,MACN,MAAO,MACP,YAAa,MACb,WAAY,KACd,EACA,QAAS,CACP,EACA,EACA,EACA,EACA,EACA,EACA,EACA,CACF,EACA,gBACF,CAAC"}
package/dist/base.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/base.d.ts
2
- declare const baseConfig: {
2
+ export declare const baseConfig: {
3
3
  env: {
4
4
  browser: true;
5
5
  node: true;
@@ -568,7 +568,9 @@ declare const baseConfig: {
568
568
  checkInapplicableChecks: true;
569
569
  }];
570
570
  'zod/no-duplicate-schema-methods': "error";
571
+ 'zod/no-dynamic-schema-value': "error";
571
572
  'zod/no-empty-custom-schema': "error";
573
+ 'zod/no-function-scoped-schema': "error";
572
574
  'zod/no-native-enum': "error";
573
575
  'zod/no-number-schema-with-finite': "error";
574
576
  'zod/no-number-schema-with-int': "error";
@@ -587,6 +589,7 @@ declare const baseConfig: {
587
589
  'zod/no-unnecessary-readonly': "error";
588
590
  'zod/prefer-enum-over-literal-union': "error";
589
591
  'zod/prefer-loose-object': "error";
592
+ 'zod/prefer-map-set-size-over-min-max': "error";
590
593
  'zod/prefer-meta': "error";
591
594
  'zod/prefer-meta-last': "error";
592
595
  'zod/prefer-strict-object': "error";
@@ -595,6 +598,7 @@ declare const baseConfig: {
595
598
  'zod/prefer-top-level-string-formats': "error";
596
599
  'zod/prefer-trim-before-string-length-checks': "error";
597
600
  'zod/prefer-tuple-over-array-length': "error";
601
+ 'zod/prefer-validate': "error";
598
602
  'zod/require-brand-type-parameter': "error";
599
603
  'zod/schema-error-property-style': ["error", {
600
604
  selector: string;
@@ -610,5 +614,4 @@ declare const baseConfig: {
610
614
  ignorePatterns: string[];
611
615
  };
612
616
  //#endregion
613
- export { baseConfig };
614
617
  //# sourceMappingURL=base.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.mts","names":[],"sources":["../src/base.ts"],"mappings":";cAaa;;;;;;;;;;;;;;;;;;;;;;;WAAA,QAAA"}
1
+ {"version":3,"file":"base.d.mts","names":[],"sources":["../src/base.ts"],"mappings":";qBAaa;;;;;;;;;;;;;;;;;;;;;;;WAAA,QAAA"}
package/dist/base.mjs CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./base-DPnQJQHZ.mjs";export{e as baseConfig};
1
+ import{t as e}from"./base-M4dxDhGw.mjs";export{e as baseConfig};
package/dist/index.d.mts CHANGED
@@ -84,7 +84,7 @@ declare module 'oxlint' {
84
84
  /**
85
85
  * Complete 2digits Oxlint configuration.
86
86
  */
87
- declare const twoDigits: Omit<{
87
+ export declare const twoDigits: Omit<{
88
88
  env: {
89
89
  browser: true;
90
90
  node: true;
@@ -653,7 +653,9 @@ declare const twoDigits: Omit<{
653
653
  checkInapplicableChecks: true;
654
654
  }];
655
655
  'zod/no-duplicate-schema-methods': "error";
656
+ 'zod/no-dynamic-schema-value': "error";
656
657
  'zod/no-empty-custom-schema': "error";
658
+ 'zod/no-function-scoped-schema': "error";
657
659
  'zod/no-native-enum': "error";
658
660
  'zod/no-number-schema-with-finite': "error";
659
661
  'zod/no-number-schema-with-int': "error";
@@ -672,6 +674,7 @@ declare const twoDigits: Omit<{
672
674
  'zod/no-unnecessary-readonly': "error";
673
675
  'zod/prefer-enum-over-literal-union': "error";
674
676
  'zod/prefer-loose-object': "error";
677
+ 'zod/prefer-map-set-size-over-min-max': "error";
675
678
  'zod/prefer-meta': "error";
676
679
  'zod/prefer-meta-last': "error";
677
680
  'zod/prefer-strict-object': "error";
@@ -680,6 +683,7 @@ declare const twoDigits: Omit<{
680
683
  'zod/prefer-top-level-string-formats': "error";
681
684
  'zod/prefer-trim-before-string-length-checks': "error";
682
685
  'zod/prefer-tuple-over-array-length': "error";
686
+ 'zod/prefer-validate': "error";
683
687
  'zod/require-brand-type-parameter': "error";
684
688
  'zod/schema-error-property-style': ["error", {
685
689
  selector: string;
@@ -1671,7 +1675,9 @@ declare const twoDigits: Omit<{
1671
1675
  checkInapplicableChecks: true;
1672
1676
  }];
1673
1677
  'zod/no-duplicate-schema-methods': "error";
1678
+ 'zod/no-dynamic-schema-value': "error";
1674
1679
  'zod/no-empty-custom-schema': "error";
1680
+ 'zod/no-function-scoped-schema': "error";
1675
1681
  'zod/no-native-enum': "error";
1676
1682
  'zod/no-number-schema-with-finite': "error";
1677
1683
  'zod/no-number-schema-with-int': "error";
@@ -1690,6 +1696,7 @@ declare const twoDigits: Omit<{
1690
1696
  'zod/no-unnecessary-readonly': "error";
1691
1697
  'zod/prefer-enum-over-literal-union': "error";
1692
1698
  'zod/prefer-loose-object': "error";
1699
+ 'zod/prefer-map-set-size-over-min-max': "error";
1693
1700
  'zod/prefer-meta': "error";
1694
1701
  'zod/prefer-meta-last': "error";
1695
1702
  'zod/prefer-strict-object': "error";
@@ -1698,6 +1705,7 @@ declare const twoDigits: Omit<{
1698
1705
  'zod/prefer-top-level-string-formats': "error";
1699
1706
  'zod/prefer-trim-before-string-length-checks': "error";
1700
1707
  'zod/prefer-tuple-over-array-length': "error";
1708
+ 'zod/prefer-validate': "error";
1701
1709
  'zod/require-brand-type-parameter': "error";
1702
1710
  'zod/schema-error-property-style': ["error", {
1703
1711
  selector: string;
@@ -2135,10 +2143,10 @@ interface TwoDigitsConfig extends Omit<OxlintConfig$1, 'extends' | 'plugins'> {
2135
2143
  *
2136
2144
  * @param configs Consumer configurations to merge into the defaults.
2137
2145
  */
2138
- declare function withTwoDigits(...configs: Array<TwoDigitsConfig>): TwoDigitsConfig;
2146
+ export declare function withTwoDigits(...configs: Array<TwoDigitsConfig>): TwoDigitsConfig;
2139
2147
  //#endregion
2140
2148
  //#region src/index.d.ts
2141
- type RuleName = keyof DummyRuleMap$1;
2149
+ export type RuleName = keyof DummyRuleMap$1;
2142
2150
  //#endregion
2143
- export { type DummyRuleMap, type OxlintConfig, type OxlintOverride, type RuleMap, RuleName, type TwoDigitsConfig, withTwoDigits as default, withTwoDigits, twoDigits };
2151
+ export { type DummyRuleMap, type OxlintConfig, type OxlintOverride, type RuleMap, type TwoDigitsConfig, withTwoDigits as default };
2144
2152
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/rule-options.ts","../src/config.ts","../src/index.ts"],"mappings":";;;KAIK,gBAAgB,KAAK,iBAAiB,eAAe;KACrD,mBAAmB,QAAQ,kBAAkB,cAAqB;UAE7D;WACC;WACA;WACA;;;;;;;;YASC,qBAAqB;IAC7B,gCAAgC;IAChC,0BAA0B;eACf;eACA;;IAEX,oBAAoB;eAA2B;;IAC/C,0BAA0B;eAA2B;;IACrD,iCAAiC;eAA2B,SAAS;;IACrE,sCAAsC;eAC3B,OAAO;;IAElB,4CAA4C;eACjC;;IAEX,mCAAmC;eACxB;eACA;;IAEX,sBAAsB;IACtB,0BAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UASL,wBAAwB,KAAK;EAC5C,UAAU,MAAM;EAChB,UAAU,qBAAqB,YAAY;;;;;;;;;wBAY7B,iBAAiB,SAAS,MAAM,mBAAmB;;;YC3BvD,iBAAiB"}
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{t as e}from"./base-DPnQJQHZ.mjs";import{t}from"./typescript-CkY-3Pw0.mjs";import{defu as n}from"defu";import{defineConfig as r}from"oxlint";const i=r(n(e,t));function a(...e){let t=i,r=[];for(let{overrides:i=[],...a}of e)t=n(a,t),r.push(...i);return{...t,overrides:[...t.overrides??[],...r]}}export{a as default,a as withTwoDigits,i as twoDigits};
1
+ import{t as e}from"./base-M4dxDhGw.mjs";import{t}from"./typescript-CkY-3Pw0.mjs";import{defu as n}from"defu";import{defineConfig as r}from"oxlint";const i=r(n(e,t));function a(...e){let t=i,r=[];for(let{overrides:i=[],...a}of e)t=n(a,t),r.push(...i);return{...t,overrides:[...t.overrides??[],...r]}}export{a as default,a as withTwoDigits,i as twoDigits};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,5 +1,5 @@
1
1
  //#region src/typescript.d.ts
2
- declare const typescriptConfig: {
2
+ export declare const typescriptConfig: {
3
3
  options: {
4
4
  denyWarnings: true;
5
5
  reportUnusedDisableDirectives: "deny";
@@ -418,5 +418,4 @@ declare const typescriptConfig: {
418
418
  ignorePatterns: string[];
419
419
  };
420
420
  //#endregion
421
- export { typescriptConfig };
422
421
  //# sourceMappingURL=typescript.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.mts","names":[],"sources":["../src/typescript.ts"],"mappings":";cASa"}
1
+ {"version":3,"file":"typescript.d.mts","names":[],"sources":["../src/typescript.ts"],"mappings":";qBASa"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/oxlint-config",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Minimal Oxlint config for 2digits projects.",
5
5
  "keywords": [
6
6
  "oxlint-config"
@@ -27,33 +27,34 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@2digits/constants": "1.1.19",
31
- "@2digits/oxlint-plugin": "0.0.3",
30
+ "@2digits/constants": "1.1.20",
31
+ "@2digits/oxlint-plugin": "0.0.4",
32
32
  "@stylistic/eslint-plugin": "5.10.0",
33
33
  "defu": "6.1.7",
34
- "eslint-plugin-zod": "4.12.0"
34
+ "eslint-plugin-zod": "4.13.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@2digits/eslint-config": "5.7.4",
37
+ "@2digits/eslint-config": "5.8.0",
38
38
  "@2digits/tsconfig": "0.8.8",
39
39
  "@arethetypeswrong/core": "0.18.5",
40
- "@types/node": "24.13.3",
41
- "oxlint": "1.81.0",
40
+ "@types/node": "24.13.4",
41
+ "oxlint": "1.83.0",
42
42
  "oxlint-tsgolint": "7.0.2001",
43
43
  "publint": "0.3.24",
44
44
  "typescript": "7.0.2",
45
- "vite-plus": "0.3.0",
46
- "zod": "4.5.4"
45
+ "vite-plus": "0.3.2",
46
+ "vitest": "5.0.0",
47
+ "zod": "4.6.5"
47
48
  },
48
49
  "peerDependencies": {
49
- "oxlint": "1.81.0",
50
+ "oxlint": "1.83.0",
50
51
  "oxlint-tsgolint": "7.0.2001"
51
52
  },
52
53
  "public": true,
53
54
  "scripts": {
54
55
  "build": "vp pack --minify",
55
56
  "dev": "vp pack --watch",
56
- "test": "vp test run",
57
+ "test": "vitest run",
57
58
  "types": "tsc --noEmit"
58
59
  }
59
60
  }