@slowpoketail/oxc 1.4.0 → 1.5.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.
- package/dist/lint/base.mjs +1 -1
- package/dist/lint/react.mjs +1 -1
- package/package.json +1 -1
package/dist/lint/base.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"eslint-plugin-perfectionist";import{fileURLToPath as t}from"node:url";const n={categories:{correctness:`error`,perf:`warn`,style:`warn`,suspicious:`warn`},jsPlugins:[{name:`perfectionist`,specifier:t(import.meta.resolve(`eslint-plugin-perfectionist`))}],options:{typeAware:!0,typeCheck:!0},plugins:[`eslint`,`import`,`jsdoc`,`promise`,`typescript`,`unicorn`],rules:{"eslint/capitalized-comments":`off`,"eslint/new-cap":`off`,"eslint/one-var":`off`,"eslint/sort-imports":`off`,"import/exports-last":`off`,"import/newline-after-import":`warn`,"import/no-default-export":`off`,"import/no-named-as-default-member":`off`,"import/no-named-export":`off`,"import/no-unassigned-import":[`error`,{allow:[`**/*.css`,`**/*.scss`,`**/*.less`,`**/*.styl`,`**/*.sass`]}],"oxc/no-rest-spread-properties":`off`,"perfectionist/sort-imports":`off`,...e.configs[`recommended-natural`].rules,"eslint/id-length":`off`,"eslint/init-declarations":`off`,"eslint/max-statements":[`error`,{ignoreTopLevelFunctions:!0,max:32}],"eslint/no-continue":`off`,"eslint/no-magic-numbers":`off`,"eslint/no-ternary":`off`,"eslint/no-undefined":`off`,"import/group-exports":`off`,"import/prefer-default-export":`off`,"unicorn/no-null":`off`}};export{n as default};
|
|
1
|
+
import e from"eslint-plugin-perfectionist";import{fileURLToPath as t}from"node:url";const n={categories:{correctness:`error`,perf:`warn`,style:`warn`,suspicious:`warn`},jsPlugins:[{name:`perfectionist`,specifier:t(import.meta.resolve(`eslint-plugin-perfectionist`))}],options:{typeAware:!0,typeCheck:!0},plugins:[`eslint`,`import`,`jsdoc`,`promise`,`typescript`,`unicorn`],rules:{"eslint/capitalized-comments":`off`,"eslint/new-cap":`off`,"eslint/one-var":`off`,"eslint/sort-imports":`off`,"import/exports-last":`off`,"import/newline-after-import":`warn`,"import/no-default-export":`off`,"import/no-named-as-default-member":`off`,"import/no-named-export":`off`,"import/no-unassigned-import":[`error`,{allow:[`**/*.css`,`**/*.scss`,`**/*.less`,`**/*.styl`,`**/*.sass`]}],"oxc/no-rest-spread-properties":`off`,"perfectionist/sort-imports":`off`,...e.configs[`recommended-natural`].rules,"eslint/func-style":`off`,"eslint/id-length":`off`,"eslint/init-declarations":`off`,"eslint/max-params":[`error`,{max:5}],"eslint/max-statements":[`error`,{ignoreTopLevelFunctions:!0,max:32}],"eslint/no-continue":`off`,"eslint/no-duplicate-imports":`off`,"eslint/no-magic-numbers":`off`,"eslint/no-ternary":`off`,"eslint/no-undefined":`off`,"import/group-exports":`off`,"import/prefer-default-export":`off`,"typescript/consistent-return":`off`,"typescript/require-array-sort-compare":`off`,"unicorn/no-null":`off`}};export{n as default};
|
package/dist/lint/react.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./base.mjs";const t={env:{browser:!0},extends:[e],plugins:[`react`,`react-perf`],rules:{"react/forbid-component-props":`off`,"react/jsx-filename-extension":[`error`,{allow:`as-needed`,extensions:[`.jsx`,`.tsx`],ignoreFilesWithoutCode:!0}],"react/jsx-max-depth":[`warn`,{max:6}],"react/react-in-jsx-scope":`off`}};export{t as default};
|
|
1
|
+
import e from"./base.mjs";const t={env:{browser:!0},extends:[e],plugins:[`react`,`react-perf`],rules:{"react-perf/jsx-no-jsx-as-prop":`off`,"react-perf/jsx-no-new-array-as-prop":`off`,"react-perf/jsx-no-new-function-as-prop":`off`,"react-perf/jsx-no-new-object-as-prop":`off`,"react/forbid-component-props":`off`,"react/jsx-filename-extension":[`error`,{allow:`as-needed`,extensions:[`.jsx`,`.tsx`],ignoreFilesWithoutCode:!0}],"react/jsx-max-depth":[`warn`,{max:6}],"react/react-in-jsx-scope":`off`}};export{t as default};
|