@slowpoketail/oxc 0.0.0-stage → 1.1.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/fmt.d.mts ADDED
@@ -0,0 +1,29 @@
1
+ //#region oxfmt/index.d.ts
2
+ declare const _default: {
3
+ arrowParens: "always";
4
+ astro: {
5
+ allowShorthand: true;
6
+ compressHTML: "jsx";
7
+ skipFrontmatter: false;
8
+ };
9
+ endOfLine: "lf";
10
+ experimentalOperatorPosition: "start";
11
+ insertFinalNewline: true;
12
+ quoteProps: "consistent";
13
+ semi: true;
14
+ sortImports: {
15
+ groups: (string | string[])[];
16
+ newlinesBetween: true;
17
+ partitionByComment: true;
18
+ sortSideEffects: false;
19
+ };
20
+ sortPackageJson: true;
21
+ /**
22
+ * Let the user decide whether to sort Tailwind CSS classes.
23
+ * Also, the plugins for oxlint can handle this a bit better.
24
+ */
25
+ sortTailwindcss: false;
26
+ useTabs: true;
27
+ };
28
+ //#endregion
29
+ export { _default as default };
package/dist/fmt.mjs ADDED
@@ -0,0 +1 @@
1
+ var e={arrowParens:`always`,astro:{allowShorthand:!0,compressHTML:`jsx`,skipFrontmatter:!1},endOfLine:`lf`,experimentalOperatorPosition:`start`,insertFinalNewline:!0,quoteProps:`consistent`,semi:!0,sortImports:{groups:[`type-import`,[`value-builtin`,`value-external`],`type-internal`,`value-internal`,[`type-parent`,`type-sibling`,`type-index`],[`value-parent`,`value-sibling`,`value-index`],`unknown`],newlinesBetween:!0,partitionByComment:!0,sortSideEffects:!1},sortPackageJson:!0,sortTailwindcss:!1,useTabs:!0};export{e as default};
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1 @@
1
+ export{};
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/base.d.ts
3
+ declare const base: OxlintConfig;
4
+ //#endregion
5
+ export { base as default };
@@ -0,0 +1 @@
1
+ import{t as e}from"../perfectionist-QilItB80.mjs";import{t}from"../e18e-eVRQAh1j.mjs";import{fileURLToPath as n}from"node:url";const r={categories:{correctness:`error`,perf:`warn`,restriction:`error`,suspicious:`warn`},jsPlugins:[{name:`e18e`,specifier:n(import.meta.resolve(`@slowpoketail/oxc/plugins/e18e`))},{name:`perfectionist`,specifier:n(import.meta.resolve(`@slowpoketail/oxc/plugins/perfectionist`))}],plugins:[`eslint`,`import`,`jest`,`jsdoc`,`oxc`,`promise`,`typescript`,`unicorn`,`vitest`],rules:{"eslint/sort-keys":`off`,"import/newline-after-import":`warn`,"import/no-default-export":`off`,"import/no-named-as-default-member":`off`,"import/no-unassigned-import":[`error`,{allow:[`**/*.css`,`**/*.scss`,`**/*.less`,`**/*.styl`,`**/*.sass`]}],"oxc/no-rest-spread-properties":`off`,...t.configs.recommended.rules,...e.configs[`recommended-natural`].rules}};export{r as default};
@@ -0,0 +1 @@
1
+ export{default}from"../lint.mjs";
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/next.d.ts
3
+ declare const next: OxlintConfig;
4
+ //#endregion
5
+ export { next as default };
@@ -0,0 +1 @@
1
+ import e from"./react.mjs";const t={env:{browser:!0,node:!0},extends:[e],plugins:[`nextjs`]};export{t as default};
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/react.d.ts
3
+ declare const react: OxlintConfig;
4
+ //#endregion
5
+ export { react as default };
@@ -0,0 +1 @@
1
+ import e from"./base.mjs";const t={env:{browser:!0},extends:[e],plugins:[`react`,`react-perf`],rules:{"react/react-in-jsx-scope":`off`}};export{t as default};
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/tailwind.d.ts
3
+ declare const tailwindcss: OxlintConfig;
4
+ //#endregion
5
+ export { tailwindcss as default };
@@ -0,0 +1 @@
1
+ import{createRequire as e}from"node:module";import t from"eslint-plugin-better-tailwindcss";const n={env:{browser:!0},jsPlugins:[{name:`better-tailwindcss`,specifier:e(import.meta.url).resolve(`eslint-plugin-better-tailwindcss`)}],rules:{...t.configs[`recommended-warn`].rules,"better-tailwindcss/enforce-consistent-important-position":`warn`,"better-tailwindcss/enforce-consistent-variant-order":`warn`,"better-tailwindcss/enforce-logical-properties":`warn`,"better-tailwindcss/no-custom-classname":`warn`}};export{n as default};
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/unocss.d.ts
3
+ declare const unocss: OxlintConfig;
4
+ //#endregion
5
+ export { unocss as default };
@@ -0,0 +1 @@
1
+ import{createRequire as e}from"node:module";import t from"@unocss/eslint-plugin";const n={env:{browser:!0},jsPlugins:[{name:`unocss`,specifier:e(import.meta.url).resolve(`@unocss/eslint-plugin`)}],rules:{...t.configs.recommended.rules,"unocss/enforce-class-compile":`error`}};export{n as default};
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from "oxlint";
2
+ //#region oxlint/wrenjs.d.ts
3
+ declare const wrenjs: OxlintConfig;
4
+ //#endregion
5
+ export { wrenjs as default };
@@ -0,0 +1 @@
1
+ import e from"./base.mjs";const t={env:{browser:!0,node:!0},extends:[e]};export{t as default};
@@ -0,0 +1,2 @@
1
+ import base from "./lint/base.mjs";
2
+ export { base as default };
package/dist/lint.mjs ADDED
@@ -0,0 +1 @@
1
+ import e from"./lint/base.mjs";var t=e;export{t as default};