@mado/oxlint 0.2.0 → 0.2.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/jsx-a11y.js CHANGED
@@ -1,82 +1,80 @@
1
- // src/jsx-a11y.ts
2
- var rules = {
1
+ const rules = {
3
2
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/alt-text.html
4
- "jsx-a11y/alt-text": "off",
3
+ 'jsx-a11y/alt-text': 'off',
5
4
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.html
6
- "jsx-a11y/anchor-ambiguous-text": "off",
5
+ 'jsx-a11y/anchor-ambiguous-text': 'off',
7
6
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.html
8
- "jsx-a11y/anchor-has-content": "off",
7
+ 'jsx-a11y/anchor-has-content': 'off',
9
8
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.html
10
- "jsx-a11y/anchor-is-valid": "off",
9
+ 'jsx-a11y/anchor-is-valid': 'off',
11
10
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.html
12
- "jsx-a11y/aria-activedescendant-has-tabindex": "off",
11
+ 'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
13
12
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-props.html
14
- "jsx-a11y/aria-props": "off",
13
+ 'jsx-a11y/aria-props': 'off',
15
14
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-proptypes.html
16
- "jsx-a11y/aria-proptypes": "off",
15
+ 'jsx-a11y/aria-proptypes': 'off',
17
16
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-role.html
18
- "jsx-a11y/aria-role": "off",
17
+ 'jsx-a11y/aria-role': 'off',
19
18
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.html
20
- "jsx-a11y/aria-unsupported-elements": "off",
19
+ 'jsx-a11y/aria-unsupported-elements': 'off',
21
20
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.html
22
- "jsx-a11y/autocomplete-valid": "off",
21
+ 'jsx-a11y/autocomplete-valid': 'off',
23
22
  // 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",
23
+ 'jsx-a11y/click-events-have-key-events': 'off',
25
24
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/control-has-associated-label.html
26
- "jsx-a11y/control-has-associated-label": "off",
25
+ 'jsx-a11y/control-has-associated-label': 'off',
27
26
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.html
28
- "jsx-a11y/heading-has-content": "off",
27
+ 'jsx-a11y/heading-has-content': 'off',
29
28
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.html
30
- "jsx-a11y/html-has-lang": "off",
29
+ 'jsx-a11y/html-has-lang': 'off',
31
30
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.html
32
- "jsx-a11y/iframe-has-title": "off",
31
+ 'jsx-a11y/iframe-has-title': 'off',
33
32
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.html
34
- "jsx-a11y/img-redundant-alt": "off",
33
+ 'jsx-a11y/img-redundant-alt': 'off',
35
34
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/interactive-supports-focus.html
36
- "jsx-a11y/interactive-supports-focus": "off",
35
+ 'jsx-a11y/interactive-supports-focus': 'off',
37
36
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.html
38
- "jsx-a11y/label-has-associated-control": "off",
37
+ 'jsx-a11y/label-has-associated-control': 'off',
39
38
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/lang.html
40
- "jsx-a11y/lang": "off",
39
+ 'jsx-a11y/lang': 'off',
41
40
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.html
42
- "jsx-a11y/media-has-caption": "off",
41
+ 'jsx-a11y/media-has-caption': 'off',
43
42
  // 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",
43
+ 'jsx-a11y/mouse-events-have-key-events': 'off',
45
44
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.html
46
- "jsx-a11y/no-access-key": "off",
45
+ 'jsx-a11y/no-access-key': 'off',
47
46
  // 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",
47
+ 'jsx-a11y/no-aria-hidden-on-focusable': 'off',
49
48
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.html
50
- "jsx-a11y/no-autofocus": "off",
49
+ 'jsx-a11y/no-autofocus': 'off',
51
50
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.html
52
- "jsx-a11y/no-distracting-elements": "off",
51
+ 'jsx-a11y/no-distracting-elements': 'off',
53
52
  // 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",
53
+ 'jsx-a11y/no-interactive-element-to-noninteractive-role': 'off',
55
54
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-interactions.html
56
- "jsx-a11y/no-noninteractive-element-interactions": "off",
55
+ 'jsx-a11y/no-noninteractive-element-interactions': 'off',
57
56
  // 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",
57
+ 'jsx-a11y/no-noninteractive-element-to-interactive-role': 'off',
59
58
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.html
60
- "jsx-a11y/no-noninteractive-tabindex": "off",
59
+ 'jsx-a11y/no-noninteractive-tabindex': 'off',
61
60
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.html
62
- "jsx-a11y/no-redundant-roles": "off",
61
+ 'jsx-a11y/no-redundant-roles': 'off',
63
62
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-static-element-interactions.html
64
- "jsx-a11y/no-static-element-interactions": "off",
63
+ 'jsx-a11y/no-static-element-interactions': 'off',
65
64
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.html
66
- "jsx-a11y/prefer-tag-over-role": "off",
65
+ 'jsx-a11y/prefer-tag-over-role': 'off',
67
66
  // 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",
67
+ 'jsx-a11y/role-has-required-aria-props': 'off',
69
68
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.html
70
- "jsx-a11y/role-supports-aria-props": "off",
69
+ 'jsx-a11y/role-supports-aria-props': 'off',
71
70
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/scope.html
72
- "jsx-a11y/scope": "off",
71
+ 'jsx-a11y/scope': 'off',
73
72
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.html
74
- "jsx-a11y/tabindex-no-positive": "off"
73
+ 'jsx-a11y/tabindex-no-positive': 'off'
75
74
  };
76
- var jsx_a11y_default = {
77
- plugins: ["jsx-a11y"],
75
+ var jsxA11y = {
76
+ plugins: ['jsx-a11y'],
78
77
  rules
79
78
  };
80
- export {
81
- jsx_a11y_default as default
82
- };
79
+
80
+ export { jsxA11y as default };
package/dist/nextjs.cjs CHANGED
@@ -1,73 +1,54 @@
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);
1
+ 'use strict';
19
2
 
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 = {
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const rules = {
27
6
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-display.html
28
- "nextjs/google-font-display": "off",
7
+ 'nextjs/google-font-display': 'off',
29
8
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.html
30
- "nextjs/google-font-preconnect": "off",
9
+ 'nextjs/google-font-preconnect': 'off',
31
10
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/inline-script-id.html
32
- "nextjs/inline-script-id": "off",
11
+ 'nextjs/inline-script-id': 'off',
33
12
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.html
34
- "nextjs/next-script-for-ga": "off",
13
+ 'nextjs/next-script-for-ga': 'off',
35
14
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.html
36
- "nextjs/no-assign-module-variable": "off",
15
+ 'nextjs/no-assign-module-variable': 'off',
37
16
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-async-client-component.html
38
- "nextjs/no-async-client-component": "off",
17
+ 'nextjs/no-async-client-component': 'off',
39
18
  // 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",
19
+ 'nextjs/no-before-interactive-script-outside-document': 'off',
41
20
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-css-tags.html
42
- "nextjs/no-css-tags": "off",
21
+ 'nextjs/no-css-tags': 'off',
43
22
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.html
44
- "nextjs/no-document-import-in-page": "off",
23
+ 'nextjs/no-document-import-in-page': 'off',
45
24
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.html
46
- "nextjs/no-duplicate-head": "off",
25
+ 'nextjs/no-duplicate-head': 'off',
47
26
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-element.html
48
- "nextjs/no-head-element": "off",
27
+ 'nextjs/no-head-element': 'off',
49
28
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.html
50
- "nextjs/no-head-import-in-document": "off",
29
+ 'nextjs/no-head-import-in-document': 'off',
51
30
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-html-link-for-pages.html
52
- "nextjs/no-html-link-for-pages": "off",
31
+ 'nextjs/no-html-link-for-pages': 'off',
53
32
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-img-element.html
54
- "nextjs/no-img-element": "off",
33
+ 'nextjs/no-img-element': 'off',
55
34
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.html
56
- "nextjs/no-page-custom-font": "off",
35
+ 'nextjs/no-page-custom-font': 'off',
57
36
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.html
58
- "nextjs/no-script-component-in-head": "off",
37
+ 'nextjs/no-script-component-in-head': 'off',
59
38
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.html
60
- "nextjs/no-styled-jsx-in-document": "off",
39
+ 'nextjs/no-styled-jsx-in-document': 'off',
61
40
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.html
62
- "nextjs/no-sync-scripts": "off",
41
+ 'nextjs/no-sync-scripts': 'off',
63
42
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.html
64
- "nextjs/no-title-in-document-head": "off",
43
+ 'nextjs/no-title-in-document-head': 'off',
65
44
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-typos.html
66
- "nextjs/no-typos": "off",
45
+ 'nextjs/no-typos': 'off',
67
46
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.html
68
- "nextjs/no-unwanted-polyfillio": "off"
47
+ 'nextjs/no-unwanted-polyfillio': 'off'
69
48
  };
70
- var nextjs_default = {
71
- plugins: ["nextjs"],
49
+ var nextjs = {
50
+ plugins: ['nextjs'],
72
51
  rules
73
52
  };
53
+
54
+ exports.default = nextjs;
package/dist/nextjs.js CHANGED
@@ -1,52 +1,50 @@
1
- // src/nextjs.ts
2
- var rules = {
1
+ const rules = {
3
2
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-display.html
4
- "nextjs/google-font-display": "off",
3
+ 'nextjs/google-font-display': 'off',
5
4
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.html
6
- "nextjs/google-font-preconnect": "off",
5
+ 'nextjs/google-font-preconnect': 'off',
7
6
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/inline-script-id.html
8
- "nextjs/inline-script-id": "off",
7
+ 'nextjs/inline-script-id': 'off',
9
8
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.html
10
- "nextjs/next-script-for-ga": "off",
9
+ 'nextjs/next-script-for-ga': 'off',
11
10
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.html
12
- "nextjs/no-assign-module-variable": "off",
11
+ 'nextjs/no-assign-module-variable': 'off',
13
12
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-async-client-component.html
14
- "nextjs/no-async-client-component": "off",
13
+ 'nextjs/no-async-client-component': 'off',
15
14
  // 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",
15
+ 'nextjs/no-before-interactive-script-outside-document': 'off',
17
16
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-css-tags.html
18
- "nextjs/no-css-tags": "off",
17
+ 'nextjs/no-css-tags': 'off',
19
18
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.html
20
- "nextjs/no-document-import-in-page": "off",
19
+ 'nextjs/no-document-import-in-page': 'off',
21
20
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.html
22
- "nextjs/no-duplicate-head": "off",
21
+ 'nextjs/no-duplicate-head': 'off',
23
22
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-element.html
24
- "nextjs/no-head-element": "off",
23
+ 'nextjs/no-head-element': 'off',
25
24
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.html
26
- "nextjs/no-head-import-in-document": "off",
25
+ 'nextjs/no-head-import-in-document': 'off',
27
26
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-html-link-for-pages.html
28
- "nextjs/no-html-link-for-pages": "off",
27
+ 'nextjs/no-html-link-for-pages': 'off',
29
28
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-img-element.html
30
- "nextjs/no-img-element": "off",
29
+ 'nextjs/no-img-element': 'off',
31
30
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.html
32
- "nextjs/no-page-custom-font": "off",
31
+ 'nextjs/no-page-custom-font': 'off',
33
32
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.html
34
- "nextjs/no-script-component-in-head": "off",
33
+ 'nextjs/no-script-component-in-head': 'off',
35
34
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.html
36
- "nextjs/no-styled-jsx-in-document": "off",
35
+ 'nextjs/no-styled-jsx-in-document': 'off',
37
36
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.html
38
- "nextjs/no-sync-scripts": "off",
37
+ 'nextjs/no-sync-scripts': 'off',
39
38
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.html
40
- "nextjs/no-title-in-document-head": "off",
39
+ 'nextjs/no-title-in-document-head': 'off',
41
40
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-typos.html
42
- "nextjs/no-typos": "off",
41
+ 'nextjs/no-typos': 'off',
43
42
  // https://oxc.rs/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.html
44
- "nextjs/no-unwanted-polyfillio": "off"
43
+ 'nextjs/no-unwanted-polyfillio': 'off'
45
44
  };
46
- var nextjs_default = {
47
- plugins: ["nextjs"],
45
+ var nextjs = {
46
+ plugins: ['nextjs'],
48
47
  rules
49
48
  };
50
- export {
51
- nextjs_default as default
52
- };
49
+
50
+ export { nextjs as default };
package/dist/node.cjs CHANGED
@@ -1,53 +1,34 @@
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);
1
+ 'use strict';
19
2
 
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 = {
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const rules = {
27
6
  // https://oxc.rs/docs/guide/usage/linter/rules/node/callback-return.html
28
- "node/callback-return": "off",
7
+ 'node/callback-return': 'off',
29
8
  // https://oxc.rs/docs/guide/usage/linter/rules/node/exports-style.html
30
- "node/exports-style": "off",
9
+ 'node/exports-style': 'off',
31
10
  // https://oxc.rs/docs/guide/usage/linter/rules/node/global-require.html
32
- "node/global-require": "off",
11
+ 'node/global-require': 'off',
33
12
  // https://oxc.rs/docs/guide/usage/linter/rules/node/handle-callback-err.html
34
- "node/handle-callback-err": "off",
13
+ 'node/handle-callback-err': 'off',
35
14
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-exports-assign.html
36
- "node/no-exports-assign": "off",
15
+ 'node/no-exports-assign': 'off',
37
16
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-mixed-requires.html
38
- "node/no-mixed-requires": "off",
17
+ 'node/no-mixed-requires': 'off',
39
18
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-new-require.html
40
- "node/no-new-require": "off",
19
+ 'node/no-new-require': 'off',
41
20
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-path-concat.html
42
- "node/no-path-concat": "off",
21
+ 'node/no-path-concat': 'off',
43
22
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-process-env.html
44
- "node/no-process-env": "off",
23
+ 'node/no-process-env': 'off',
45
24
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-sync.html
46
- "node/no-sync": "off",
25
+ 'node/no-sync': 'off',
47
26
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-top-level-await.html
48
- "node/no-top-level-await": "off"
27
+ 'node/no-top-level-await': 'off'
49
28
  };
50
- var node_default = {
51
- plugins: ["node"],
29
+ var node = {
30
+ plugins: ['node'],
52
31
  rules
53
32
  };
33
+
34
+ exports.default = node;
package/dist/node.js CHANGED
@@ -1,32 +1,30 @@
1
- // src/node.ts
2
- var rules = {
1
+ const rules = {
3
2
  // https://oxc.rs/docs/guide/usage/linter/rules/node/callback-return.html
4
- "node/callback-return": "off",
3
+ 'node/callback-return': 'off',
5
4
  // https://oxc.rs/docs/guide/usage/linter/rules/node/exports-style.html
6
- "node/exports-style": "off",
5
+ 'node/exports-style': 'off',
7
6
  // https://oxc.rs/docs/guide/usage/linter/rules/node/global-require.html
8
- "node/global-require": "off",
7
+ 'node/global-require': 'off',
9
8
  // https://oxc.rs/docs/guide/usage/linter/rules/node/handle-callback-err.html
10
- "node/handle-callback-err": "off",
9
+ 'node/handle-callback-err': 'off',
11
10
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-exports-assign.html
12
- "node/no-exports-assign": "off",
11
+ 'node/no-exports-assign': 'off',
13
12
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-mixed-requires.html
14
- "node/no-mixed-requires": "off",
13
+ 'node/no-mixed-requires': 'off',
15
14
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-new-require.html
16
- "node/no-new-require": "off",
15
+ 'node/no-new-require': 'off',
17
16
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-path-concat.html
18
- "node/no-path-concat": "off",
17
+ 'node/no-path-concat': 'off',
19
18
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-process-env.html
20
- "node/no-process-env": "off",
19
+ 'node/no-process-env': 'off',
21
20
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-sync.html
22
- "node/no-sync": "off",
21
+ 'node/no-sync': 'off',
23
22
  // https://oxc.rs/docs/guide/usage/linter/rules/node/no-top-level-await.html
24
- "node/no-top-level-await": "off"
23
+ 'node/no-top-level-await': 'off'
25
24
  };
26
- var node_default = {
27
- plugins: ["node"],
25
+ var node = {
26
+ plugins: ['node'],
28
27
  rules
29
28
  };
30
- export {
31
- node_default as default
32
- };
29
+
30
+ export { node as default };
package/dist/oxc.cjs CHANGED
@@ -1,85 +1,66 @@
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);
1
+ 'use strict';
19
2
 
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 = {
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const rules = {
27
6
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/approx-constant.html
28
- "oxc/approx-constant": "off",
7
+ 'oxc/approx-constant': 'off',
29
8
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.html
30
- "oxc/bad-array-method-on-arguments": "off",
9
+ 'oxc/bad-array-method-on-arguments': 'off',
31
10
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.html
32
- "oxc/bad-bitwise-operator": "off",
11
+ 'oxc/bad-bitwise-operator': 'off',
33
12
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.html
34
- "oxc/bad-char-at-comparison": "off",
13
+ 'oxc/bad-char-at-comparison': 'off',
35
14
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.html
36
- "oxc/bad-comparison-sequence": "off",
15
+ 'oxc/bad-comparison-sequence': 'off',
37
16
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-match-all-arg.html
38
- "oxc/bad-match-all-arg": "off",
17
+ 'oxc/bad-match-all-arg': 'off',
39
18
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-min-max-func.html
40
- "oxc/bad-min-max-func": "off",
19
+ 'oxc/bad-min-max-func': 'off',
41
20
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.html
42
- "oxc/bad-object-literal-comparison": "off",
21
+ 'oxc/bad-object-literal-comparison': 'off',
43
22
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.html
44
- "oxc/bad-replace-all-arg": "off",
23
+ 'oxc/bad-replace-all-arg': 'off',
45
24
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/branches-sharing-code.html
46
- "oxc/branches-sharing-code": "off",
25
+ 'oxc/branches-sharing-code': 'off',
47
26
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/const-comparisons.html
48
- "oxc/const-comparisons": "off",
27
+ 'oxc/const-comparisons': 'off',
49
28
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/double-comparisons.html
50
- "oxc/double-comparisons": "off",
29
+ 'oxc/double-comparisons': 'off',
51
30
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/erasing-op.html
52
- "oxc/erasing-op": "off",
31
+ 'oxc/erasing-op': 'off',
53
32
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.html
54
- "oxc/misrefactored-assign-op": "off",
33
+ 'oxc/misrefactored-assign-op': 'off',
55
34
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/missing-throw.html
56
- "oxc/missing-throw": "off",
35
+ 'oxc/missing-throw': 'off',
57
36
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.html
58
- "oxc/no-accumulating-spread": "off",
37
+ 'oxc/no-accumulating-spread': 'off',
59
38
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-await.html
60
- "oxc/no-async-await": "off",
39
+ 'oxc/no-async-await': 'off',
61
40
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.html
62
- "oxc/no-async-endpoint-handlers": "off",
41
+ 'oxc/no-async-endpoint-handlers': 'off',
63
42
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-barrel-file.html
64
- "oxc/no-barrel-file": "off",
43
+ 'oxc/no-barrel-file': 'off',
65
44
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-const-enum.html
66
- "oxc/no-const-enum": "off",
45
+ 'oxc/no-const-enum': 'off',
67
46
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-map-spread.html
68
- "oxc/no-map-spread": "off",
47
+ 'oxc/no-map-spread': 'off',
69
48
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-optional-chaining.html
70
- "oxc/no-optional-chaining": "off",
49
+ 'oxc/no-optional-chaining': 'off',
71
50
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.html
72
- "oxc/no-rest-spread-properties": "off",
51
+ 'oxc/no-rest-spread-properties': 'off',
73
52
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/no-this-in-exported-function.html
74
- "oxc/no-this-in-exported-function": "off",
53
+ 'oxc/no-this-in-exported-function': 'off',
75
54
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.html
76
- "oxc/number-arg-out-of-range": "off",
55
+ 'oxc/number-arg-out-of-range': 'off',
77
56
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.html
78
- "oxc/only-used-in-recursion": "off",
57
+ 'oxc/only-used-in-recursion': 'off',
79
58
  // https://oxc.rs/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.html
80
- "oxc/uninvoked-array-callback": "off"
59
+ 'oxc/uninvoked-array-callback': 'off'
81
60
  };
82
- var oxc_default = {
83
- plugins: ["oxc"],
61
+ var oxc = {
62
+ plugins: ['oxc'],
84
63
  rules
85
64
  };
65
+
66
+ exports.default = oxc;