@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/LICENSE.md +21 -0
- package/README.md +61 -2
- package/dist/THIRD_PARTY_LICENSES.txt +394 -0
- package/dist/e18e-eVRQAh1j.mjs +109 -0
- package/dist/fmt.d.mts +29 -0
- package/dist/fmt.mjs +1 -0
- package/dist/lint/astro.d.mts +1 -0
- package/dist/lint/astro.mjs +1 -0
- package/dist/lint/base.d.mts +5 -0
- package/dist/lint/base.mjs +1 -0
- package/dist/lint/index.mjs +1 -0
- package/dist/lint/next.d.mts +5 -0
- package/dist/lint/next.mjs +1 -0
- package/dist/lint/react.d.mts +5 -0
- package/dist/lint/react.mjs +1 -0
- package/dist/lint/tailwind.d.mts +5 -0
- package/dist/lint/tailwind.mjs +1 -0
- package/dist/lint/unocss.d.mts +5 -0
- package/dist/lint/unocss.mjs +1 -0
- package/dist/lint/wrenjs.d.mts +5 -0
- package/dist/lint/wrenjs.mjs +1 -0
- package/dist/lint.d.mts +2 -0
- package/dist/lint.mjs +1 -0
- package/dist/perfectionist-QilItB80.mjs +213 -0
- package/dist/plugins/e18e.d.mts +2 -0
- package/dist/plugins/e18e.mjs +1 -0
- package/dist/plugins/perfectionist.d.mts +2 -0
- package/dist/plugins/perfectionist.mjs +1 -0
- package/package.json +84 -3
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 @@
|
|
|
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 @@
|
|
|
1
|
+
import e from"./react.mjs";const t={env:{browser:!0,node:!0},extends:[e],plugins:[`nextjs`]};export{t 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
import e from"./base.mjs";const t={env:{browser:!0,node:!0},extends:[e]};export{t as default};
|
package/dist/lint.d.mts
ADDED
package/dist/lint.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./lint/base.mjs";var t=e;export{t as default};
|