@mado/oxlint 0.2.0 → 0.3.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/CHANGELOG.md +12 -0
- package/dist/eslint.cjs +1 -405
- package/dist/eslint.js +1 -384
- package/dist/import.cjs +1 -97
- package/dist/import.js +1 -76
- package/dist/index.cjs +1 -42
- package/dist/index.js +1 -21
- package/dist/jest.cjs +1 -151
- package/dist/jest.js +1 -130
- package/dist/jsdoc.cjs +1 -77
- package/dist/jsdoc.js +1 -56
- package/dist/jsx-a11y.cjs +1 -103
- package/dist/jsx-a11y.js +1 -82
- package/dist/nextjs.cjs +1 -73
- package/dist/nextjs.js +1 -52
- package/dist/node.cjs +1 -53
- package/dist/node.js +1 -32
- package/dist/oxc.cjs +1 -85
- package/dist/oxc.js +1 -64
- package/dist/promise.cjs +1 -63
- package/dist/promise.js +1 -42
- package/dist/react-perf.cjs +1 -39
- package/dist/react-perf.js +1 -18
- package/dist/react.cjs +1 -201
- package/dist/react.js +1 -180
- package/dist/typescript.cjs +1 -253
- package/dist/typescript.js +1 -232
- package/dist/unicorn.cjs +1 -307
- package/dist/unicorn.js +1 -286
- package/dist/vitest.cjs +1 -177
- package/dist/vitest.js +1 -156
- package/dist/vue.cjs +1 -123
- package/dist/vue.js +1 -102
- package/package.json +8 -7
package/dist/jsx-a11y.js
CHANGED
|
@@ -1,82 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const rules={"jsx-a11y/alt-text":"off","jsx-a11y/anchor-ambiguous-text":"off","jsx-a11y/anchor-has-content":"off","jsx-a11y/anchor-is-valid":"off","jsx-a11y/aria-activedescendant-has-tabindex":"off","jsx-a11y/aria-props":"off","jsx-a11y/aria-proptypes":"off","jsx-a11y/aria-role":"off","jsx-a11y/aria-unsupported-elements":"off","jsx-a11y/autocomplete-valid":"off","jsx-a11y/click-events-have-key-events":"off","jsx-a11y/control-has-associated-label":"off","jsx-a11y/heading-has-content":"off","jsx-a11y/html-has-lang":"off","jsx-a11y/iframe-has-title":"off","jsx-a11y/img-redundant-alt":"off","jsx-a11y/interactive-supports-focus":"off","jsx-a11y/label-has-associated-control":"off","jsx-a11y/lang":"off","jsx-a11y/media-has-caption":"off","jsx-a11y/mouse-events-have-key-events":"off","jsx-a11y/no-access-key":"off","jsx-a11y/no-aria-hidden-on-focusable":"off","jsx-a11y/no-autofocus":"off","jsx-a11y/no-distracting-elements":"off","jsx-a11y/no-interactive-element-to-noninteractive-role":"off","jsx-a11y/no-noninteractive-element-interactions":"off","jsx-a11y/no-noninteractive-element-to-interactive-role":"off","jsx-a11y/no-noninteractive-tabindex":"off","jsx-a11y/no-redundant-roles":"off","jsx-a11y/no-static-element-interactions":"off","jsx-a11y/prefer-tag-over-role":"off","jsx-a11y/role-has-required-aria-props":"off","jsx-a11y/role-supports-aria-props":"off","jsx-a11y/scope":"off","jsx-a11y/tabindex-no-positive":"off"};var jsxA11y={plugins:["jsx-a11y"],rules:rules};export{jsxA11y as default};
|
package/dist/nextjs.cjs
CHANGED
|
@@ -1,73 +1 @@
|
|
|
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
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"nextjs/google-font-display":"off","nextjs/google-font-preconnect":"off","nextjs/inline-script-id":"off","nextjs/next-script-for-ga":"off","nextjs/no-assign-module-variable":"off","nextjs/no-async-client-component":"off","nextjs/no-before-interactive-script-outside-document":"off","nextjs/no-css-tags":"off","nextjs/no-document-import-in-page":"off","nextjs/no-duplicate-head":"off","nextjs/no-head-element":"off","nextjs/no-head-import-in-document":"off","nextjs/no-html-link-for-pages":"off","nextjs/no-img-element":"off","nextjs/no-page-custom-font":"off","nextjs/no-script-component-in-head":"off","nextjs/no-styled-jsx-in-document":"off","nextjs/no-sync-scripts":"off","nextjs/no-title-in-document-head":"off","nextjs/no-typos":"off","nextjs/no-unwanted-polyfillio":"off"};var nextjs={plugins:["nextjs"],rules:rules};exports.default=nextjs;
|
package/dist/nextjs.js
CHANGED
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const rules={"nextjs/google-font-display":"off","nextjs/google-font-preconnect":"off","nextjs/inline-script-id":"off","nextjs/next-script-for-ga":"off","nextjs/no-assign-module-variable":"off","nextjs/no-async-client-component":"off","nextjs/no-before-interactive-script-outside-document":"off","nextjs/no-css-tags":"off","nextjs/no-document-import-in-page":"off","nextjs/no-duplicate-head":"off","nextjs/no-head-element":"off","nextjs/no-head-import-in-document":"off","nextjs/no-html-link-for-pages":"off","nextjs/no-img-element":"off","nextjs/no-page-custom-font":"off","nextjs/no-script-component-in-head":"off","nextjs/no-styled-jsx-in-document":"off","nextjs/no-sync-scripts":"off","nextjs/no-title-in-document-head":"off","nextjs/no-typos":"off","nextjs/no-unwanted-polyfillio":"off"};var nextjs={plugins:["nextjs"],rules:rules};export{nextjs as default};
|
package/dist/node.cjs
CHANGED
|
@@ -1,53 +1 @@
|
|
|
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
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"node/callback-return":"off","node/exports-style":"off","node/global-require":"off","node/handle-callback-err":"off","node/no-exports-assign":"off","node/no-mixed-requires":"off","node/no-new-require":"off","node/no-path-concat":"off","node/no-process-env":"off","node/no-sync":"off","node/no-top-level-await":"off"};var node={plugins:["node"],rules:rules};exports.default=node;
|
package/dist/node.js
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const rules={"node/callback-return":"off","node/exports-style":"off","node/global-require":"off","node/handle-callback-err":"off","node/no-exports-assign":"off","node/no-mixed-requires":"off","node/no-new-require":"off","node/no-path-concat":"off","node/no-process-env":"off","node/no-sync":"off","node/no-top-level-await":"off"};var node={plugins:["node"],rules:rules};export{node as default};
|
package/dist/oxc.cjs
CHANGED
|
@@ -1,85 +1 @@
|
|
|
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
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"oxc/approx-constant":"warn","oxc/bad-array-method-on-arguments":"error","oxc/bad-bitwise-operator":"error","oxc/bad-char-at-comparison":"error","oxc/bad-comparison-sequence":"error","oxc/bad-match-all-arg":"error","oxc/bad-min-max-func":"error","oxc/bad-object-literal-comparison":"error","oxc/bad-replace-all-arg":"error","oxc/branches-sharing-code":"warn","oxc/const-comparisons":"error","oxc/double-comparisons":"warn","oxc/erasing-op":"warn","oxc/misrefactored-assign-op":"warn","oxc/missing-throw":"error","oxc/no-accumulating-spread":"warn","oxc/no-async-await":"off","oxc/no-async-endpoint-handlers":"off","oxc/no-barrel-file":"off","oxc/no-const-enum":"warn","oxc/no-map-spread":"off","oxc/no-optional-chaining":"off","oxc/no-rest-spread-properties":"off","oxc/no-this-in-exported-function":"warn","oxc/number-arg-out-of-range":"warn","oxc/only-used-in-recursion":"warn","oxc/uninvoked-array-callback":"error"};var oxc={plugins:["oxc"],rules:rules};exports.default=oxc;
|
package/dist/oxc.js
CHANGED
|
@@ -1,64 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const rules={"oxc/approx-constant":"warn","oxc/bad-array-method-on-arguments":"error","oxc/bad-bitwise-operator":"error","oxc/bad-char-at-comparison":"error","oxc/bad-comparison-sequence":"error","oxc/bad-match-all-arg":"error","oxc/bad-min-max-func":"error","oxc/bad-object-literal-comparison":"error","oxc/bad-replace-all-arg":"error","oxc/branches-sharing-code":"warn","oxc/const-comparisons":"error","oxc/double-comparisons":"warn","oxc/erasing-op":"warn","oxc/misrefactored-assign-op":"warn","oxc/missing-throw":"error","oxc/no-accumulating-spread":"warn","oxc/no-async-await":"off","oxc/no-async-endpoint-handlers":"off","oxc/no-barrel-file":"off","oxc/no-const-enum":"warn","oxc/no-map-spread":"off","oxc/no-optional-chaining":"off","oxc/no-rest-spread-properties":"off","oxc/no-this-in-exported-function":"warn","oxc/number-arg-out-of-range":"warn","oxc/only-used-in-recursion":"warn","oxc/uninvoked-array-callback":"error"};var oxc={plugins:["oxc"],rules:rules};export{oxc as default};
|
package/dist/promise.cjs
CHANGED
|
@@ -1,63 +1 @@
|
|
|
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
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"promise/always-return":"off","promise/avoid-new":"off","promise/catch-or-return":"off","promise/no-callback-in-promise":"off","promise/no-multiple-resolved":"off","promise/no-nesting":"off","promise/no-new-statics":"off","promise/no-promise-in-callback":"off","promise/no-return-in-finally":"off","promise/no-return-wrap":"off","promise/param-names":"off","promise/prefer-await-to-callbacks":"off","promise/prefer-await-to-then":"off","promise/prefer-catch":"off","promise/spec-only":"off","promise/valid-params":"off"};var promise={plugins:["promise"],rules:rules};exports.default=promise;
|
package/dist/promise.js
CHANGED
|
@@ -1,42 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const rules={"promise/always-return":"off","promise/avoid-new":"off","promise/catch-or-return":"off","promise/no-callback-in-promise":"off","promise/no-multiple-resolved":"off","promise/no-nesting":"off","promise/no-new-statics":"off","promise/no-promise-in-callback":"off","promise/no-return-in-finally":"off","promise/no-return-wrap":"off","promise/param-names":"off","promise/prefer-await-to-callbacks":"off","promise/prefer-await-to-then":"off","promise/prefer-catch":"off","promise/spec-only":"off","promise/valid-params":"off"};var promise={plugins:["promise"],rules:rules};export{promise as default};
|