@mado/oxlint 0.0.0-stage → 0.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE +21 -0
  3. package/README.md +48 -2
  4. package/dist/eslint.cjs +405 -0
  5. package/dist/eslint.d.cts +8 -0
  6. package/dist/eslint.d.ts +8 -0
  7. package/dist/eslint.js +384 -0
  8. package/dist/import.cjs +97 -0
  9. package/dist/import.d.cts +8 -0
  10. package/dist/import.d.ts +8 -0
  11. package/dist/import.js +76 -0
  12. package/dist/index.cjs +42 -0
  13. package/dist/index.d.cts +5 -0
  14. package/dist/index.d.ts +5 -0
  15. package/dist/index.js +21 -0
  16. package/dist/jest.cjs +151 -0
  17. package/dist/jest.d.cts +8 -0
  18. package/dist/jest.d.ts +8 -0
  19. package/dist/jest.js +130 -0
  20. package/dist/jsdoc.cjs +77 -0
  21. package/dist/jsdoc.d.cts +8 -0
  22. package/dist/jsdoc.d.ts +8 -0
  23. package/dist/jsdoc.js +56 -0
  24. package/dist/jsx-a11y.cjs +103 -0
  25. package/dist/jsx-a11y.d.cts +8 -0
  26. package/dist/jsx-a11y.d.ts +8 -0
  27. package/dist/jsx-a11y.js +82 -0
  28. package/dist/nextjs.cjs +73 -0
  29. package/dist/nextjs.d.cts +8 -0
  30. package/dist/nextjs.d.ts +8 -0
  31. package/dist/nextjs.js +52 -0
  32. package/dist/node.cjs +53 -0
  33. package/dist/node.d.cts +8 -0
  34. package/dist/node.d.ts +8 -0
  35. package/dist/node.js +32 -0
  36. package/dist/oxc.cjs +85 -0
  37. package/dist/oxc.d.cts +8 -0
  38. package/dist/oxc.d.ts +8 -0
  39. package/dist/oxc.js +64 -0
  40. package/dist/promise.cjs +63 -0
  41. package/dist/promise.d.cts +8 -0
  42. package/dist/promise.d.ts +8 -0
  43. package/dist/promise.js +42 -0
  44. package/dist/react-perf.cjs +39 -0
  45. package/dist/react-perf.d.cts +8 -0
  46. package/dist/react-perf.d.ts +8 -0
  47. package/dist/react-perf.js +18 -0
  48. package/dist/react.cjs +201 -0
  49. package/dist/react.d.cts +8 -0
  50. package/dist/react.d.ts +8 -0
  51. package/dist/react.js +180 -0
  52. package/dist/typescript.cjs +253 -0
  53. package/dist/typescript.d.cts +8 -0
  54. package/dist/typescript.d.ts +8 -0
  55. package/dist/typescript.js +232 -0
  56. package/dist/unicorn.cjs +307 -0
  57. package/dist/unicorn.d.cts +8 -0
  58. package/dist/unicorn.d.ts +8 -0
  59. package/dist/unicorn.js +286 -0
  60. package/dist/vitest.cjs +177 -0
  61. package/dist/vitest.d.cts +8 -0
  62. package/dist/vitest.d.ts +8 -0
  63. package/dist/vitest.js +156 -0
  64. package/dist/vue.cjs +123 -0
  65. package/dist/vue.d.cts +8 -0
  66. package/dist/vue.d.ts +8 -0
  67. package/dist/vue.js +102 -0
  68. package/package.json +77 -3
@@ -0,0 +1,82 @@
1
+ // src/jsx-a11y.ts
2
+ var rules = {
3
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/alt-text.html
4
+ "jsx-a11y/alt-text": "off",
5
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.html
6
+ "jsx-a11y/anchor-ambiguous-text": "off",
7
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.html
8
+ "jsx-a11y/anchor-has-content": "off",
9
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.html
10
+ "jsx-a11y/anchor-is-valid": "off",
11
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.html
12
+ "jsx-a11y/aria-activedescendant-has-tabindex": "off",
13
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-props.html
14
+ "jsx-a11y/aria-props": "off",
15
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-proptypes.html
16
+ "jsx-a11y/aria-proptypes": "off",
17
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-role.html
18
+ "jsx-a11y/aria-role": "off",
19
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.html
20
+ "jsx-a11y/aria-unsupported-elements": "off",
21
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.html
22
+ "jsx-a11y/autocomplete-valid": "off",
23
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.html
24
+ "jsx-a11y/click-events-have-key-events": "off",
25
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/control-has-associated-label.html
26
+ "jsx-a11y/control-has-associated-label": "off",
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.html
28
+ "jsx-a11y/heading-has-content": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.html
30
+ "jsx-a11y/html-has-lang": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.html
32
+ "jsx-a11y/iframe-has-title": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.html
34
+ "jsx-a11y/img-redundant-alt": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/interactive-supports-focus.html
36
+ "jsx-a11y/interactive-supports-focus": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.html
38
+ "jsx-a11y/label-has-associated-control": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/lang.html
40
+ "jsx-a11y/lang": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.html
42
+ "jsx-a11y/media-has-caption": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.html
44
+ "jsx-a11y/mouse-events-have-key-events": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.html
46
+ "jsx-a11y/no-access-key": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.html
48
+ "jsx-a11y/no-aria-hidden-on-focusable": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.html
50
+ "jsx-a11y/no-autofocus": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.html
52
+ "jsx-a11y/no-distracting-elements": "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-interactive-element-to-noninteractive-role.html
54
+ "jsx-a11y/no-interactive-element-to-noninteractive-role": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-interactions.html
56
+ "jsx-a11y/no-noninteractive-element-interactions": "off",
57
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-to-interactive-role.html
58
+ "jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
59
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.html
60
+ "jsx-a11y/no-noninteractive-tabindex": "off",
61
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.html
62
+ "jsx-a11y/no-redundant-roles": "off",
63
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-static-element-interactions.html
64
+ "jsx-a11y/no-static-element-interactions": "off",
65
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.html
66
+ "jsx-a11y/prefer-tag-over-role": "off",
67
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.html
68
+ "jsx-a11y/role-has-required-aria-props": "off",
69
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.html
70
+ "jsx-a11y/role-supports-aria-props": "off",
71
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/scope.html
72
+ "jsx-a11y/scope": "off",
73
+ // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.html
74
+ "jsx-a11y/tabindex-no-positive": "off"
75
+ };
76
+ var jsx_a11y_default = {
77
+ plugins: ["jsx-a11y"],
78
+ rules
79
+ };
80
+ export {
81
+ jsx_a11y_default as default
82
+ };
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/nextjs.ts
21
+ var nextjs_exports = {};
22
+ __export(nextjs_exports, {
23
+ default: () => nextjs_default
24
+ });
25
+ module.exports = __toCommonJS(nextjs_exports);
26
+ var rules = {
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-display.html
28
+ "nextjs/google-font-display": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.html
30
+ "nextjs/google-font-preconnect": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/inline-script-id.html
32
+ "nextjs/inline-script-id": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.html
34
+ "nextjs/next-script-for-ga": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.html
36
+ "nextjs/no-assign-module-variable": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-async-client-component.html
38
+ "nextjs/no-async-client-component": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.html
40
+ "nextjs/no-before-interactive-script-outside-document": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-css-tags.html
42
+ "nextjs/no-css-tags": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.html
44
+ "nextjs/no-document-import-in-page": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.html
46
+ "nextjs/no-duplicate-head": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-element.html
48
+ "nextjs/no-head-element": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.html
50
+ "nextjs/no-head-import-in-document": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-html-link-for-pages.html
52
+ "nextjs/no-html-link-for-pages": "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-img-element.html
54
+ "nextjs/no-img-element": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.html
56
+ "nextjs/no-page-custom-font": "off",
57
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.html
58
+ "nextjs/no-script-component-in-head": "off",
59
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.html
60
+ "nextjs/no-styled-jsx-in-document": "off",
61
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.html
62
+ "nextjs/no-sync-scripts": "off",
63
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.html
64
+ "nextjs/no-title-in-document-head": "off",
65
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-typos.html
66
+ "nextjs/no-typos": "off",
67
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.html
68
+ "nextjs/no-unwanted-polyfillio": "off"
69
+ };
70
+ var nextjs_default = {
71
+ plugins: ["nextjs"],
72
+ rules
73
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "nextjs"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "nextjs"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/nextjs.js ADDED
@@ -0,0 +1,52 @@
1
+ // src/nextjs.ts
2
+ var rules = {
3
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-display.html
4
+ "nextjs/google-font-display": "off",
5
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.html
6
+ "nextjs/google-font-preconnect": "off",
7
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/inline-script-id.html
8
+ "nextjs/inline-script-id": "off",
9
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.html
10
+ "nextjs/next-script-for-ga": "off",
11
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.html
12
+ "nextjs/no-assign-module-variable": "off",
13
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-async-client-component.html
14
+ "nextjs/no-async-client-component": "off",
15
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.html
16
+ "nextjs/no-before-interactive-script-outside-document": "off",
17
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-css-tags.html
18
+ "nextjs/no-css-tags": "off",
19
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.html
20
+ "nextjs/no-document-import-in-page": "off",
21
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.html
22
+ "nextjs/no-duplicate-head": "off",
23
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-element.html
24
+ "nextjs/no-head-element": "off",
25
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.html
26
+ "nextjs/no-head-import-in-document": "off",
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-html-link-for-pages.html
28
+ "nextjs/no-html-link-for-pages": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-img-element.html
30
+ "nextjs/no-img-element": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.html
32
+ "nextjs/no-page-custom-font": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.html
34
+ "nextjs/no-script-component-in-head": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.html
36
+ "nextjs/no-styled-jsx-in-document": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.html
38
+ "nextjs/no-sync-scripts": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.html
40
+ "nextjs/no-title-in-document-head": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-typos.html
42
+ "nextjs/no-typos": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.html
44
+ "nextjs/no-unwanted-polyfillio": "off"
45
+ };
46
+ var nextjs_default = {
47
+ plugins: ["nextjs"],
48
+ rules
49
+ };
50
+ export {
51
+ nextjs_default as default
52
+ };
package/dist/node.cjs ADDED
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/node.ts
21
+ var node_exports = {};
22
+ __export(node_exports, {
23
+ default: () => node_default
24
+ });
25
+ module.exports = __toCommonJS(node_exports);
26
+ var rules = {
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/callback-return.html
28
+ "node/callback-return": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/exports-style.html
30
+ "node/exports-style": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/global-require.html
32
+ "node/global-require": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/handle-callback-err.html
34
+ "node/handle-callback-err": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-exports-assign.html
36
+ "node/no-exports-assign": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-mixed-requires.html
38
+ "node/no-mixed-requires": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-new-require.html
40
+ "node/no-new-require": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-path-concat.html
42
+ "node/no-path-concat": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-process-env.html
44
+ "node/no-process-env": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-sync.html
46
+ "node/no-sync": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-top-level-await.html
48
+ "node/no-top-level-await": "off"
49
+ };
50
+ var node_default = {
51
+ plugins: ["node"],
52
+ rules
53
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "node"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/node.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "node"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/node.js ADDED
@@ -0,0 +1,32 @@
1
+ // src/node.ts
2
+ var rules = {
3
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/callback-return.html
4
+ "node/callback-return": "off",
5
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/exports-style.html
6
+ "node/exports-style": "off",
7
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/global-require.html
8
+ "node/global-require": "off",
9
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/handle-callback-err.html
10
+ "node/handle-callback-err": "off",
11
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-exports-assign.html
12
+ "node/no-exports-assign": "off",
13
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-mixed-requires.html
14
+ "node/no-mixed-requires": "off",
15
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-new-require.html
16
+ "node/no-new-require": "off",
17
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-path-concat.html
18
+ "node/no-path-concat": "off",
19
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-process-env.html
20
+ "node/no-process-env": "off",
21
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-sync.html
22
+ "node/no-sync": "off",
23
+ // https://oxc.rs/docs/guide/usage/linter/rules/node/no-top-level-await.html
24
+ "node/no-top-level-await": "off"
25
+ };
26
+ var node_default = {
27
+ plugins: ["node"],
28
+ rules
29
+ };
30
+ export {
31
+ node_default as default
32
+ };
package/dist/oxc.cjs ADDED
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/oxc.ts
21
+ var oxc_exports = {};
22
+ __export(oxc_exports, {
23
+ default: () => oxc_default
24
+ });
25
+ module.exports = __toCommonJS(oxc_exports);
26
+ var rules = {
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/approx-constant.html
28
+ "oxc/approx-constant": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.html
30
+ "oxc/bad-array-method-on-arguments": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.html
32
+ "oxc/bad-bitwise-operator": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.html
34
+ "oxc/bad-char-at-comparison": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.html
36
+ "oxc/bad-comparison-sequence": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-match-all-arg.html
38
+ "oxc/bad-match-all-arg": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-min-max-func.html
40
+ "oxc/bad-min-max-func": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.html
42
+ "oxc/bad-object-literal-comparison": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.html
44
+ "oxc/bad-replace-all-arg": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/branches-sharing-code.html
46
+ "oxc/branches-sharing-code": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/const-comparisons.html
48
+ "oxc/const-comparisons": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/double-comparisons.html
50
+ "oxc/double-comparisons": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/erasing-op.html
52
+ "oxc/erasing-op": "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.html
54
+ "oxc/misrefactored-assign-op": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/missing-throw.html
56
+ "oxc/missing-throw": "off",
57
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.html
58
+ "oxc/no-accumulating-spread": "off",
59
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-await.html
60
+ "oxc/no-async-await": "off",
61
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.html
62
+ "oxc/no-async-endpoint-handlers": "off",
63
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-barrel-file.html
64
+ "oxc/no-barrel-file": "off",
65
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-const-enum.html
66
+ "oxc/no-const-enum": "off",
67
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-map-spread.html
68
+ "oxc/no-map-spread": "off",
69
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-optional-chaining.html
70
+ "oxc/no-optional-chaining": "off",
71
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.html
72
+ "oxc/no-rest-spread-properties": "off",
73
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-this-in-exported-function.html
74
+ "oxc/no-this-in-exported-function": "off",
75
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.html
76
+ "oxc/number-arg-out-of-range": "off",
77
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.html
78
+ "oxc/only-used-in-recursion": "off",
79
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.html
80
+ "oxc/uninvoked-array-callback": "off"
81
+ };
82
+ var oxc_default = {
83
+ plugins: ["oxc"],
84
+ rules
85
+ };
package/dist/oxc.d.cts ADDED
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "oxc"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/oxc.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "oxc"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/oxc.js ADDED
@@ -0,0 +1,64 @@
1
+ // src/oxc.ts
2
+ var rules = {
3
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/approx-constant.html
4
+ "oxc/approx-constant": "off",
5
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.html
6
+ "oxc/bad-array-method-on-arguments": "off",
7
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.html
8
+ "oxc/bad-bitwise-operator": "off",
9
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.html
10
+ "oxc/bad-char-at-comparison": "off",
11
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.html
12
+ "oxc/bad-comparison-sequence": "off",
13
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-match-all-arg.html
14
+ "oxc/bad-match-all-arg": "off",
15
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-min-max-func.html
16
+ "oxc/bad-min-max-func": "off",
17
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.html
18
+ "oxc/bad-object-literal-comparison": "off",
19
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.html
20
+ "oxc/bad-replace-all-arg": "off",
21
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/branches-sharing-code.html
22
+ "oxc/branches-sharing-code": "off",
23
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/const-comparisons.html
24
+ "oxc/const-comparisons": "off",
25
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/double-comparisons.html
26
+ "oxc/double-comparisons": "off",
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/erasing-op.html
28
+ "oxc/erasing-op": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.html
30
+ "oxc/misrefactored-assign-op": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/missing-throw.html
32
+ "oxc/missing-throw": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.html
34
+ "oxc/no-accumulating-spread": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-await.html
36
+ "oxc/no-async-await": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.html
38
+ "oxc/no-async-endpoint-handlers": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-barrel-file.html
40
+ "oxc/no-barrel-file": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-const-enum.html
42
+ "oxc/no-const-enum": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-map-spread.html
44
+ "oxc/no-map-spread": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-optional-chaining.html
46
+ "oxc/no-optional-chaining": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.html
48
+ "oxc/no-rest-spread-properties": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-this-in-exported-function.html
50
+ "oxc/no-this-in-exported-function": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.html
52
+ "oxc/number-arg-out-of-range": "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.html
54
+ "oxc/only-used-in-recursion": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.html
56
+ "oxc/uninvoked-array-callback": "off"
57
+ };
58
+ var oxc_default = {
59
+ plugins: ["oxc"],
60
+ rules
61
+ };
62
+ export {
63
+ oxc_default as default
64
+ };
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/promise.ts
21
+ var promise_exports = {};
22
+ __export(promise_exports, {
23
+ default: () => promise_default
24
+ });
25
+ module.exports = __toCommonJS(promise_exports);
26
+ var rules = {
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/always-return.html
28
+ "promise/always-return": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/avoid-new.html
30
+ "promise/avoid-new": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/catch-or-return.html
32
+ "promise/catch-or-return": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-callback-in-promise.html
34
+ "promise/no-callback-in-promise": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-multiple-resolved.html
36
+ "promise/no-multiple-resolved": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-nesting.html
38
+ "promise/no-nesting": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-new-statics.html
40
+ "promise/no-new-statics": "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-promise-in-callback.html
42
+ "promise/no-promise-in-callback": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-return-in-finally.html
44
+ "promise/no-return-in-finally": "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-return-wrap.html
46
+ "promise/no-return-wrap": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/param-names.html
48
+ "promise/param-names": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.html
50
+ "promise/prefer-await-to-callbacks": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-await-to-then.html
52
+ "promise/prefer-await-to-then": "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-catch.html
54
+ "promise/prefer-catch": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/spec-only.html
56
+ "promise/spec-only": "off",
57
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/valid-params.html
58
+ "promise/valid-params": "off"
59
+ };
60
+ var promise_default = {
61
+ plugins: ["promise"],
62
+ rules
63
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "promise"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "promise"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,42 @@
1
+ // src/promise.ts
2
+ var rules = {
3
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/always-return.html
4
+ "promise/always-return": "off",
5
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/avoid-new.html
6
+ "promise/avoid-new": "off",
7
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/catch-or-return.html
8
+ "promise/catch-or-return": "off",
9
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-callback-in-promise.html
10
+ "promise/no-callback-in-promise": "off",
11
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-multiple-resolved.html
12
+ "promise/no-multiple-resolved": "off",
13
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-nesting.html
14
+ "promise/no-nesting": "off",
15
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-new-statics.html
16
+ "promise/no-new-statics": "off",
17
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-promise-in-callback.html
18
+ "promise/no-promise-in-callback": "off",
19
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-return-in-finally.html
20
+ "promise/no-return-in-finally": "off",
21
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/no-return-wrap.html
22
+ "promise/no-return-wrap": "off",
23
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/param-names.html
24
+ "promise/param-names": "off",
25
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.html
26
+ "promise/prefer-await-to-callbacks": "off",
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-await-to-then.html
28
+ "promise/prefer-await-to-then": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/prefer-catch.html
30
+ "promise/prefer-catch": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/spec-only.html
32
+ "promise/spec-only": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/promise/valid-params.html
34
+ "promise/valid-params": "off"
35
+ };
36
+ var promise_default = {
37
+ plugins: ["promise"],
38
+ rules
39
+ };
40
+ export {
41
+ promise_default as default
42
+ };