@2digits/oxlint-config 0.0.1
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.
- package/dist/base-CAFui_Ib.mjs +1 -0
- package/dist/base.d.mts +6 -0
- package/dist/base.mjs +1 -0
- package/dist/globs-DHoOMEyI.mjs +1 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +1 -0
- package/dist/types-BLNZLukd.d.mts +7030 -0
- package/dist/typescript-ByxmKTma.mjs +1 -0
- package/dist/typescript.d.mts +6 -0
- package/dist/typescript.mjs +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,r as t}from"./globs-DHoOMEyI.mjs";const n=e({plugins:[`import`],rules:{"import/default":`error`,"import/export":`error`,"import/first":`error`,"import/namespace":`error`,"import/no-cycle":`error`,"import/no-duplicates":`error`,"import/no-dynamic-require":`error`,"import/no-self-import":`error`,"import/no-unassigned-import":`error`,"import/no-webpack-loader-syntax":`error`}}),r=e({plugins:[`eslint`],rules:{"eslint/accessor-pairs":`error`,"eslint/array-callback-return":`error`,"eslint/block-scoped-var":`error`,"eslint/constructor-super":`error`,"eslint/default-case-last":`error`,"eslint/eqeqeq":[`error`,`smart`],"eslint/for-direction":`error`,"eslint/new-cap":[`error`,{capIsNew:!1,newIsCap:!0,properties:!0}],"eslint/no-alert":`error`,"eslint/no-array-constructor":`error`,"eslint/no-async-promise-executor":`error`,"eslint/no-caller":`error`,"eslint/no-case-declarations":`error`,"eslint/no-class-assign":`error`,"eslint/no-const-assign":`error`,"eslint/no-cond-assign":[`error`,`always`],"eslint/no-control-regex":`error`,"eslint/no-dupe-class-members":`error`,"eslint/no-dupe-keys":`error`,"eslint/no-duplicate-case":`error`,"eslint/no-duplicate-imports":[`error`,{allowSeparateTypeImports:!0}],"eslint/no-empty":[`error`,{allowEmptyCatch:!0}],"eslint/no-empty-pattern":`error`,"eslint/no-eval":`error`,"eslint/no-ex-assign":`error`,"eslint/no-extend-native":`error`,"eslint/no-extra-bind":`error`,"eslint/no-extra-boolean-cast":`error`,"eslint/no-fallthrough":`error`,"eslint/no-func-assign":`error`,"eslint/no-global-assign":`error`,"eslint/no-import-assign":`error`,"eslint/no-invalid-regexp":`error`,"eslint/no-irregular-whitespace":`error`,"eslint/no-iterator":`error`,"eslint/no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"eslint/no-lone-blocks":`error`,"eslint/no-loss-of-precision":`error`,"eslint/no-misleading-character-class":`error`,"eslint/no-multi-str":`error`,"eslint/no-new":`error`,"eslint/no-new-func":`error`,"eslint/no-new-native-nonconstructor":`error`,"eslint/no-new-wrappers":`error`,"eslint/no-obj-calls":`error`,"eslint/no-proto":`error`,"eslint/no-prototype-builtins":`error`,"eslint/no-redeclare":`error`,"eslint/no-regex-spaces":`error`,"eslint/no-restricted-globals":[`error`,{message:"Use `globalThis` instead.",name:`global`},{message:"Use `globalThis` instead.",name:`self`}],"eslint/no-self-assign":[`error`,{props:!0}],"eslint/no-self-compare":`error`,"eslint/no-sequences":`error`,"eslint/no-shadow-restricted-names":`error`,"eslint/no-sparse-arrays":`error`,"eslint/no-template-curly-in-string":`error`,"eslint/no-this-before-super":`error`,"eslint/no-throw-literal":`error`,"eslint/no-undef":`error`,"eslint/no-unexpected-multiline":`error`,"eslint/no-unmodified-loop-condition":`error`,"eslint/no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"eslint/no-unsafe-finally":`error`,"eslint/no-unsafe-negation":`error`,"eslint/no-unused-expressions":`error`,"eslint/no-unused-private-class-members":`error`,"eslint/no-unused-vars":[`error`,{args:`none`,caughtErrors:`none`,vars:`all`,argsIgnorePattern:`^_`,ignoreRestSiblings:!0,varsIgnorePattern:`^_`}],"eslint/no-useless-backreference":`error`,"eslint/no-useless-call":`error`,"eslint/no-useless-computed-key":`error`,"eslint/no-useless-constructor":`error`,"eslint/no-useless-rename":`error`,"eslint/no-useless-catch":`error`,"eslint/no-useless-escape":`error`,"eslint/no-var":`error`,"eslint/no-with":`error`,"eslint/prefer-const":[`error`,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"eslint/prefer-exponentiation-operator":`error`,"eslint/prefer-promise-reject-errors":`error`,"eslint/prefer-rest-params":`error`,"eslint/prefer-spread":`error`,"eslint/prefer-template":`error`,"eslint/symbol-description":`error`,"eslint/unicode-bom":[`error`,`never`],"eslint/use-isnan":[`error`,{enforceForIndexOf:!0,enforceForSwitchCase:!0}],"eslint/valid-typeof":[`error`,{requireStringLiterals:!0}],"eslint/vars-on-top":`error`,"eslint/yoda":[`error`,`never`]}}),i=e({plugins:[`node`],rules:{"node/no-exports-assign":`error`,"node/no-new-require":`error`,"node/no-path-concat":`error`}}),a=e({env:{browser:!0,node:!0},options:{denyWarnings:!0,reportUnusedDisableDirectives:`deny`},categories:{nursery:`off`,pedantic:`off`,correctness:`off`,perf:`off`,style:`off`,restriction:`off`,suspicious:`off`},extends:[r,e({plugins:[`unicorn`],rules:{"unicorn/no-abusive-eslint-disable":`error`,"unicorn/error-message":`error`,"unicorn/no-empty-file":`error`,"unicorn/no-invalid-fetch-options":`error`,"unicorn/no-invalid-remove-event-listener":`error`,"unicorn/no-new-array":`error`,"unicorn/no-thenable":`error`,"unicorn/no-unnecessary-await":`error`,"unicorn/no-useless-fallback-in-spread":`error`,"unicorn/no-useless-length-check":`error`,"unicorn/no-useless-spread":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-ternary":[`error`,`only-single-line`],"unicorn/prefer-set-size":`error`,"unicorn/prefer-string-starts-ends-with":`error`,"unicorn/prefer-modern-dom-apis":`error`}}),n,i],ignorePatterns:[...t]});export{a as t};
|
package/dist/base.d.mts
ADDED
package/dist/base.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./base-CAFui_Ib.mjs";export{e as baseConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return e}const t=`**/node_modules,**/dist,**/package-lock.json,**/yarn.lock,**/pnpm-lock.yaml,**/bun.lockb,**/bun.lock,**/output,**/coverage,**/temp,**/.temp,**/tmp,**/.tmp,**/.history,**/.nuxt,**/.next,**/.vercel,**/.changeset,**/.idea,**/.cache,**/.output,**/.yarn,**/CHANGELOG*.md,**/*.min.*,**/LICENSE*,**/__snapshots__,**/__snapshots__/**,**/auto-import?(s).d.ts,**/components.d.ts`.split(`,`),n=[`**/*.d.ts`],r=[`**/*.{test,spec}.ts?(x)`],i=[`**/*.js`,`**/*.cjs`,`**/*.cts`];export{e as a,r as i,n,t as r,i as t};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { a as RuleName, i as defineTypedConfig, n as TypedOxlintConfig, o as RuleOptions, r as TypedOxlintOverride, t as Rules } from "./types-BLNZLukd.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/config.d.ts
|
|
4
|
+
declare const twoDigits: TypedOxlintConfig;
|
|
5
|
+
declare function withTwoDigits(...configs: Array<TypedOxlintConfig>): TypedOxlintConfig;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { RuleName, RuleOptions, Rules, TypedOxlintConfig, TypedOxlintOverride, withTwoDigits as default, withTwoDigits, defineTypedConfig, twoDigits };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./globs-DHoOMEyI.mjs";import{t}from"./base-CAFui_Ib.mjs";import{t as n}from"./typescript-ByxmKTma.mjs";import{defu as r}from"defu";const i=e(r(t,n));function a(...t){let[n,...a]=t;return e(r(n,...a,i))}export{a as default,a as withTwoDigits,i as twoDigits};
|