@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/index.cjs
CHANGED
|
@@ -1,42 +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/index.ts
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
default: () => index_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(index_exports);
|
|
26
|
-
var config = {
|
|
27
|
-
jsPlugins: ["eslint-plugin-perfectionist", "eslint-plugin-simple-import-sort", "eslint-plugin-trim"],
|
|
28
|
-
rules: {
|
|
29
|
-
"perfectionist/sort-heritage-clauses": "warn",
|
|
30
|
-
"perfectionist/sort-interfaces": "warn",
|
|
31
|
-
"perfectionist/sort-intersection-types": "warn",
|
|
32
|
-
"perfectionist/sort-object-types": "warn",
|
|
33
|
-
"perfectionist/sort-objects": "warn",
|
|
34
|
-
"perfectionist/sort-switch-case": "warn",
|
|
35
|
-
"perfectionist/sort-union-types": "warn",
|
|
36
|
-
"simple-import-sort/exports": "warn",
|
|
37
|
-
"simple-import-sort/imports": "warn",
|
|
38
|
-
"trim/argument": "warn",
|
|
39
|
-
"trim/class-name": "warn"
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
var index_default = config;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var oxc=require("./oxc.cjs");const config={extends:[oxc.default],jsPlugins:["eslint-plugin-perfectionist","eslint-plugin-simple-import-sort","eslint-plugin-trim"],rules:{"perfectionist/sort-heritage-clauses":"warn","perfectionist/sort-interfaces":"warn","perfectionist/sort-intersection-types":"warn","perfectionist/sort-object-types":"warn","perfectionist/sort-objects":"warn","perfectionist/sort-switch-case":"warn","perfectionist/sort-union-types":"warn","simple-import-sort/exports":"warn","simple-import-sort/imports":"warn","trim/argument":"warn","trim/class-name":"warn"}};exports.default=config;
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var config = {
|
|
3
|
-
jsPlugins: ["eslint-plugin-perfectionist", "eslint-plugin-simple-import-sort", "eslint-plugin-trim"],
|
|
4
|
-
rules: {
|
|
5
|
-
"perfectionist/sort-heritage-clauses": "warn",
|
|
6
|
-
"perfectionist/sort-interfaces": "warn",
|
|
7
|
-
"perfectionist/sort-intersection-types": "warn",
|
|
8
|
-
"perfectionist/sort-object-types": "warn",
|
|
9
|
-
"perfectionist/sort-objects": "warn",
|
|
10
|
-
"perfectionist/sort-switch-case": "warn",
|
|
11
|
-
"perfectionist/sort-union-types": "warn",
|
|
12
|
-
"simple-import-sort/exports": "warn",
|
|
13
|
-
"simple-import-sort/imports": "warn",
|
|
14
|
-
"trim/argument": "warn",
|
|
15
|
-
"trim/class-name": "warn"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
var index_default = config;
|
|
19
|
-
export {
|
|
20
|
-
index_default as default
|
|
21
|
-
};
|
|
1
|
+
import oxc from"./oxc.js";const config={extends:[oxc],jsPlugins:["eslint-plugin-perfectionist","eslint-plugin-simple-import-sort","eslint-plugin-trim"],rules:{"perfectionist/sort-heritage-clauses":"warn","perfectionist/sort-interfaces":"warn","perfectionist/sort-intersection-types":"warn","perfectionist/sort-object-types":"warn","perfectionist/sort-objects":"warn","perfectionist/sort-switch-case":"warn","perfectionist/sort-union-types":"warn","simple-import-sort/exports":"warn","simple-import-sort/imports":"warn","trim/argument":"warn","trim/class-name":"warn"}};export{config as default};
|
package/dist/jest.cjs
CHANGED
|
@@ -1,151 +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/jest.ts
|
|
21
|
-
var jest_exports = {};
|
|
22
|
-
__export(jest_exports, {
|
|
23
|
-
default: () => jest_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(jest_exports);
|
|
26
|
-
var rules = {
|
|
27
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/consistent-test-it.html
|
|
28
|
-
"jest/consistent-test-it": "off",
|
|
29
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/expect-expect.html
|
|
30
|
-
"jest/expect-expect": "off",
|
|
31
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-expects.html
|
|
32
|
-
"jest/max-expects": "off",
|
|
33
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-nested-describe.html
|
|
34
|
-
"jest/max-nested-describe": "off",
|
|
35
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-alias-methods.html
|
|
36
|
-
"jest/no-alias-methods": "off",
|
|
37
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-commented-out-tests.html
|
|
38
|
-
"jest/no-commented-out-tests": "off",
|
|
39
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-expect.html
|
|
40
|
-
"jest/no-conditional-expect": "off",
|
|
41
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-in-test.html
|
|
42
|
-
"jest/no-conditional-in-test": "off",
|
|
43
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.html
|
|
44
|
-
"jest/no-confusing-set-timeout": "off",
|
|
45
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-deprecated-functions.html
|
|
46
|
-
"jest/no-deprecated-functions": "off",
|
|
47
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-disabled-tests.html
|
|
48
|
-
"jest/no-disabled-tests": "off",
|
|
49
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-done-callback.html
|
|
50
|
-
"jest/no-done-callback": "off",
|
|
51
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.html
|
|
52
|
-
"jest/no-duplicate-hooks": "off",
|
|
53
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-export.html
|
|
54
|
-
"jest/no-export": "off",
|
|
55
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-focused-tests.html
|
|
56
|
-
"jest/no-focused-tests": "off",
|
|
57
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-hooks.html
|
|
58
|
-
"jest/no-hooks": "off",
|
|
59
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-identical-title.html
|
|
60
|
-
"jest/no-identical-title": "off",
|
|
61
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.html
|
|
62
|
-
"jest/no-interpolation-in-snapshots": "off",
|
|
63
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-jasmine-globals.html
|
|
64
|
-
"jest/no-jasmine-globals": "off",
|
|
65
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-large-snapshots.html
|
|
66
|
-
"jest/no-large-snapshots": "off",
|
|
67
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-mocks-import.html
|
|
68
|
-
"jest/no-mocks-import": "off",
|
|
69
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.html
|
|
70
|
-
"jest/no-restricted-jest-methods": "off",
|
|
71
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-matchers.html
|
|
72
|
-
"jest/no-restricted-matchers": "off",
|
|
73
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-standalone-expect.html
|
|
74
|
-
"jest/no-standalone-expect": "off",
|
|
75
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-prefixes.html
|
|
76
|
-
"jest/no-test-prefixes": "off",
|
|
77
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-return-statement.html
|
|
78
|
-
"jest/no-test-return-statement": "off",
|
|
79
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-unneeded-async-expect-function.html
|
|
80
|
-
"jest/no-unneeded-async-expect-function": "off",
|
|
81
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.html
|
|
82
|
-
"jest/no-untyped-mock-factory": "off",
|
|
83
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-after-all-blocks.html
|
|
84
|
-
"jest/padding-around-after-all-blocks": "off",
|
|
85
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-test-blocks.html
|
|
86
|
-
"jest/padding-around-test-blocks": "off",
|
|
87
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-called-with.html
|
|
88
|
-
"jest/prefer-called-with": "off",
|
|
89
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.html
|
|
90
|
-
"jest/prefer-comparison-matcher": "off",
|
|
91
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-each.html
|
|
92
|
-
"jest/prefer-each": "off",
|
|
93
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-ending-with-an-expect.html
|
|
94
|
-
"jest/prefer-ending-with-an-expect": "off",
|
|
95
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.html
|
|
96
|
-
"jest/prefer-equality-matcher": "off",
|
|
97
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-assertions.html
|
|
98
|
-
"jest/prefer-expect-assertions": "off",
|
|
99
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.html
|
|
100
|
-
"jest/prefer-expect-resolves": "off",
|
|
101
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.html
|
|
102
|
-
"jest/prefer-hooks-in-order": "off",
|
|
103
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.html
|
|
104
|
-
"jest/prefer-hooks-on-top": "off",
|
|
105
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-importing-jest-globals.html
|
|
106
|
-
"jest/prefer-importing-jest-globals": "off",
|
|
107
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.html
|
|
108
|
-
"jest/prefer-jest-mocked": "off",
|
|
109
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.html
|
|
110
|
-
"jest/prefer-lowercase-title": "off",
|
|
111
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.html
|
|
112
|
-
"jest/prefer-mock-promise-shorthand": "off",
|
|
113
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-return-shorthand.html
|
|
114
|
-
"jest/prefer-mock-return-shorthand": "off",
|
|
115
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-snapshot-hint.html
|
|
116
|
-
"jest/prefer-snapshot-hint": "off",
|
|
117
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-spy-on.html
|
|
118
|
-
"jest/prefer-spy-on": "off",
|
|
119
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-strict-equal.html
|
|
120
|
-
"jest/prefer-strict-equal": "off",
|
|
121
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-be.html
|
|
122
|
-
"jest/prefer-to-be": "off",
|
|
123
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-contain.html
|
|
124
|
-
"jest/prefer-to-contain": "off",
|
|
125
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called.html
|
|
126
|
-
"jest/prefer-to-have-been-called": "off",
|
|
127
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called-times.html
|
|
128
|
-
"jest/prefer-to-have-been-called-times": "off",
|
|
129
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-length.html
|
|
130
|
-
"jest/prefer-to-have-length": "off",
|
|
131
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-todo.html
|
|
132
|
-
"jest/prefer-todo": "off",
|
|
133
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-hook.html
|
|
134
|
-
"jest/require-hook": "off",
|
|
135
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-to-throw-message.html
|
|
136
|
-
"jest/require-to-throw-message": "off",
|
|
137
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-top-level-describe.html
|
|
138
|
-
"jest/require-top-level-describe": "off",
|
|
139
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-describe-callback.html
|
|
140
|
-
"jest/valid-describe-callback": "off",
|
|
141
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
|
|
142
|
-
"jest/valid-expect": "off",
|
|
143
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect-in-promise.html
|
|
144
|
-
"jest/valid-expect-in-promise": "off",
|
|
145
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-title.html
|
|
146
|
-
"jest/valid-title": "off"
|
|
147
|
-
};
|
|
148
|
-
var jest_default = {
|
|
149
|
-
plugins: ["jest"],
|
|
150
|
-
rules
|
|
151
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"jest/consistent-test-it":"off","jest/expect-expect":"off","jest/max-expects":"off","jest/max-nested-describe":"off","jest/no-alias-methods":"off","jest/no-commented-out-tests":"off","jest/no-conditional-expect":"off","jest/no-conditional-in-test":"off","jest/no-confusing-set-timeout":"off","jest/no-deprecated-functions":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-hooks":"off","jest/no-identical-title":"off","jest/no-interpolation-in-snapshots":"off","jest/no-jasmine-globals":"off","jest/no-large-snapshots":"off","jest/no-mocks-import":"off","jest/no-restricted-jest-methods":"off","jest/no-restricted-matchers":"off","jest/no-standalone-expect":"off","jest/no-test-prefixes":"off","jest/no-test-return-statement":"off","jest/no-unneeded-async-expect-function":"off","jest/no-untyped-mock-factory":"off","jest/padding-around-after-all-blocks":"off","jest/padding-around-test-blocks":"off","jest/prefer-called-with":"off","jest/prefer-comparison-matcher":"off","jest/prefer-each":"off","jest/prefer-ending-with-an-expect":"off","jest/prefer-equality-matcher":"off","jest/prefer-expect-assertions":"off","jest/prefer-expect-resolves":"off","jest/prefer-hooks-in-order":"off","jest/prefer-hooks-on-top":"off","jest/prefer-importing-jest-globals":"off","jest/prefer-jest-mocked":"off","jest/prefer-lowercase-title":"off","jest/prefer-mock-promise-shorthand":"off","jest/prefer-mock-return-shorthand":"off","jest/prefer-snapshot-hint":"off","jest/prefer-spy-on":"off","jest/prefer-strict-equal":"off","jest/prefer-to-be":"off","jest/prefer-to-contain":"off","jest/prefer-to-have-been-called":"off","jest/prefer-to-have-been-called-times":"off","jest/prefer-to-have-length":"off","jest/prefer-todo":"off","jest/require-hook":"off","jest/require-to-throw-message":"off","jest/require-top-level-describe":"off","jest/valid-describe-callback":"off","jest/valid-expect":"off","jest/valid-expect-in-promise":"off","jest/valid-title":"off"};var jest={plugins:["jest"],rules:rules};exports.default=jest;
|
package/dist/jest.js
CHANGED
|
@@ -1,130 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var rules = {
|
|
3
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/consistent-test-it.html
|
|
4
|
-
"jest/consistent-test-it": "off",
|
|
5
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/expect-expect.html
|
|
6
|
-
"jest/expect-expect": "off",
|
|
7
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-expects.html
|
|
8
|
-
"jest/max-expects": "off",
|
|
9
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-nested-describe.html
|
|
10
|
-
"jest/max-nested-describe": "off",
|
|
11
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-alias-methods.html
|
|
12
|
-
"jest/no-alias-methods": "off",
|
|
13
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-commented-out-tests.html
|
|
14
|
-
"jest/no-commented-out-tests": "off",
|
|
15
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-expect.html
|
|
16
|
-
"jest/no-conditional-expect": "off",
|
|
17
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-in-test.html
|
|
18
|
-
"jest/no-conditional-in-test": "off",
|
|
19
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.html
|
|
20
|
-
"jest/no-confusing-set-timeout": "off",
|
|
21
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-deprecated-functions.html
|
|
22
|
-
"jest/no-deprecated-functions": "off",
|
|
23
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-disabled-tests.html
|
|
24
|
-
"jest/no-disabled-tests": "off",
|
|
25
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-done-callback.html
|
|
26
|
-
"jest/no-done-callback": "off",
|
|
27
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.html
|
|
28
|
-
"jest/no-duplicate-hooks": "off",
|
|
29
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-export.html
|
|
30
|
-
"jest/no-export": "off",
|
|
31
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-focused-tests.html
|
|
32
|
-
"jest/no-focused-tests": "off",
|
|
33
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-hooks.html
|
|
34
|
-
"jest/no-hooks": "off",
|
|
35
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-identical-title.html
|
|
36
|
-
"jest/no-identical-title": "off",
|
|
37
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.html
|
|
38
|
-
"jest/no-interpolation-in-snapshots": "off",
|
|
39
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-jasmine-globals.html
|
|
40
|
-
"jest/no-jasmine-globals": "off",
|
|
41
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-large-snapshots.html
|
|
42
|
-
"jest/no-large-snapshots": "off",
|
|
43
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-mocks-import.html
|
|
44
|
-
"jest/no-mocks-import": "off",
|
|
45
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.html
|
|
46
|
-
"jest/no-restricted-jest-methods": "off",
|
|
47
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-matchers.html
|
|
48
|
-
"jest/no-restricted-matchers": "off",
|
|
49
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-standalone-expect.html
|
|
50
|
-
"jest/no-standalone-expect": "off",
|
|
51
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-prefixes.html
|
|
52
|
-
"jest/no-test-prefixes": "off",
|
|
53
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-return-statement.html
|
|
54
|
-
"jest/no-test-return-statement": "off",
|
|
55
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-unneeded-async-expect-function.html
|
|
56
|
-
"jest/no-unneeded-async-expect-function": "off",
|
|
57
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.html
|
|
58
|
-
"jest/no-untyped-mock-factory": "off",
|
|
59
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-after-all-blocks.html
|
|
60
|
-
"jest/padding-around-after-all-blocks": "off",
|
|
61
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-test-blocks.html
|
|
62
|
-
"jest/padding-around-test-blocks": "off",
|
|
63
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-called-with.html
|
|
64
|
-
"jest/prefer-called-with": "off",
|
|
65
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.html
|
|
66
|
-
"jest/prefer-comparison-matcher": "off",
|
|
67
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-each.html
|
|
68
|
-
"jest/prefer-each": "off",
|
|
69
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-ending-with-an-expect.html
|
|
70
|
-
"jest/prefer-ending-with-an-expect": "off",
|
|
71
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.html
|
|
72
|
-
"jest/prefer-equality-matcher": "off",
|
|
73
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-assertions.html
|
|
74
|
-
"jest/prefer-expect-assertions": "off",
|
|
75
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.html
|
|
76
|
-
"jest/prefer-expect-resolves": "off",
|
|
77
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.html
|
|
78
|
-
"jest/prefer-hooks-in-order": "off",
|
|
79
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.html
|
|
80
|
-
"jest/prefer-hooks-on-top": "off",
|
|
81
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-importing-jest-globals.html
|
|
82
|
-
"jest/prefer-importing-jest-globals": "off",
|
|
83
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.html
|
|
84
|
-
"jest/prefer-jest-mocked": "off",
|
|
85
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.html
|
|
86
|
-
"jest/prefer-lowercase-title": "off",
|
|
87
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.html
|
|
88
|
-
"jest/prefer-mock-promise-shorthand": "off",
|
|
89
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-return-shorthand.html
|
|
90
|
-
"jest/prefer-mock-return-shorthand": "off",
|
|
91
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-snapshot-hint.html
|
|
92
|
-
"jest/prefer-snapshot-hint": "off",
|
|
93
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-spy-on.html
|
|
94
|
-
"jest/prefer-spy-on": "off",
|
|
95
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-strict-equal.html
|
|
96
|
-
"jest/prefer-strict-equal": "off",
|
|
97
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-be.html
|
|
98
|
-
"jest/prefer-to-be": "off",
|
|
99
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-contain.html
|
|
100
|
-
"jest/prefer-to-contain": "off",
|
|
101
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called.html
|
|
102
|
-
"jest/prefer-to-have-been-called": "off",
|
|
103
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called-times.html
|
|
104
|
-
"jest/prefer-to-have-been-called-times": "off",
|
|
105
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-length.html
|
|
106
|
-
"jest/prefer-to-have-length": "off",
|
|
107
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-todo.html
|
|
108
|
-
"jest/prefer-todo": "off",
|
|
109
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-hook.html
|
|
110
|
-
"jest/require-hook": "off",
|
|
111
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-to-throw-message.html
|
|
112
|
-
"jest/require-to-throw-message": "off",
|
|
113
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-top-level-describe.html
|
|
114
|
-
"jest/require-top-level-describe": "off",
|
|
115
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-describe-callback.html
|
|
116
|
-
"jest/valid-describe-callback": "off",
|
|
117
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
|
|
118
|
-
"jest/valid-expect": "off",
|
|
119
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect-in-promise.html
|
|
120
|
-
"jest/valid-expect-in-promise": "off",
|
|
121
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-title.html
|
|
122
|
-
"jest/valid-title": "off"
|
|
123
|
-
};
|
|
124
|
-
var jest_default = {
|
|
125
|
-
plugins: ["jest"],
|
|
126
|
-
rules
|
|
127
|
-
};
|
|
128
|
-
export {
|
|
129
|
-
jest_default as default
|
|
130
|
-
};
|
|
1
|
+
const rules={"jest/consistent-test-it":"off","jest/expect-expect":"off","jest/max-expects":"off","jest/max-nested-describe":"off","jest/no-alias-methods":"off","jest/no-commented-out-tests":"off","jest/no-conditional-expect":"off","jest/no-conditional-in-test":"off","jest/no-confusing-set-timeout":"off","jest/no-deprecated-functions":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-hooks":"off","jest/no-identical-title":"off","jest/no-interpolation-in-snapshots":"off","jest/no-jasmine-globals":"off","jest/no-large-snapshots":"off","jest/no-mocks-import":"off","jest/no-restricted-jest-methods":"off","jest/no-restricted-matchers":"off","jest/no-standalone-expect":"off","jest/no-test-prefixes":"off","jest/no-test-return-statement":"off","jest/no-unneeded-async-expect-function":"off","jest/no-untyped-mock-factory":"off","jest/padding-around-after-all-blocks":"off","jest/padding-around-test-blocks":"off","jest/prefer-called-with":"off","jest/prefer-comparison-matcher":"off","jest/prefer-each":"off","jest/prefer-ending-with-an-expect":"off","jest/prefer-equality-matcher":"off","jest/prefer-expect-assertions":"off","jest/prefer-expect-resolves":"off","jest/prefer-hooks-in-order":"off","jest/prefer-hooks-on-top":"off","jest/prefer-importing-jest-globals":"off","jest/prefer-jest-mocked":"off","jest/prefer-lowercase-title":"off","jest/prefer-mock-promise-shorthand":"off","jest/prefer-mock-return-shorthand":"off","jest/prefer-snapshot-hint":"off","jest/prefer-spy-on":"off","jest/prefer-strict-equal":"off","jest/prefer-to-be":"off","jest/prefer-to-contain":"off","jest/prefer-to-have-been-called":"off","jest/prefer-to-have-been-called-times":"off","jest/prefer-to-have-length":"off","jest/prefer-todo":"off","jest/require-hook":"off","jest/require-to-throw-message":"off","jest/require-top-level-describe":"off","jest/valid-describe-callback":"off","jest/valid-expect":"off","jest/valid-expect-in-promise":"off","jest/valid-title":"off"};var jest={plugins:["jest"],rules:rules};export{jest as default};
|
package/dist/jsdoc.cjs
CHANGED
|
@@ -1,77 +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/jsdoc.ts
|
|
21
|
-
var jsdoc_exports = {};
|
|
22
|
-
__export(jsdoc_exports, {
|
|
23
|
-
default: () => jsdoc_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(jsdoc_exports);
|
|
26
|
-
var rules = {
|
|
27
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-access.html
|
|
28
|
-
"jsdoc/check-access": "off",
|
|
29
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-property-names.html
|
|
30
|
-
"jsdoc/check-property-names": "off",
|
|
31
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-tag-names.html
|
|
32
|
-
"jsdoc/check-tag-names": "off",
|
|
33
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/empty-tags.html
|
|
34
|
-
"jsdoc/empty-tags": "off",
|
|
35
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.html
|
|
36
|
-
"jsdoc/implements-on-classes": "off",
|
|
37
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-blank-blocks.html
|
|
38
|
-
"jsdoc/no-blank-blocks": "off",
|
|
39
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-defaults.html
|
|
40
|
-
"jsdoc/no-defaults": "off",
|
|
41
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param.html
|
|
42
|
-
"jsdoc/require-param": "off",
|
|
43
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-description.html
|
|
44
|
-
"jsdoc/require-param-description": "off",
|
|
45
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-name.html
|
|
46
|
-
"jsdoc/require-param-name": "off",
|
|
47
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-type.html
|
|
48
|
-
"jsdoc/require-param-type": "off",
|
|
49
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property.html
|
|
50
|
-
"jsdoc/require-property": "off",
|
|
51
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-description.html
|
|
52
|
-
"jsdoc/require-property-description": "off",
|
|
53
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-name.html
|
|
54
|
-
"jsdoc/require-property-name": "off",
|
|
55
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-type.html
|
|
56
|
-
"jsdoc/require-property-type": "off",
|
|
57
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns.html
|
|
58
|
-
"jsdoc/require-returns": "off",
|
|
59
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-description.html
|
|
60
|
-
"jsdoc/require-returns-description": "off",
|
|
61
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-type.html
|
|
62
|
-
"jsdoc/require-returns-type": "off",
|
|
63
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-description.html
|
|
64
|
-
"jsdoc/require-throws-description": "off",
|
|
65
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-type.html
|
|
66
|
-
"jsdoc/require-throws-type": "off",
|
|
67
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields.html
|
|
68
|
-
"jsdoc/require-yields": "off",
|
|
69
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-description.html
|
|
70
|
-
"jsdoc/require-yields-description": "off",
|
|
71
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-type.html
|
|
72
|
-
"jsdoc/require-yields-type": "off"
|
|
73
|
-
};
|
|
74
|
-
var jsdoc_default = {
|
|
75
|
-
plugins: ["jsdoc"],
|
|
76
|
-
rules
|
|
77
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"jsdoc/check-access":"off","jsdoc/check-property-names":"off","jsdoc/check-tag-names":"off","jsdoc/empty-tags":"off","jsdoc/implements-on-classes":"off","jsdoc/no-blank-blocks":"off","jsdoc/no-defaults":"off","jsdoc/require-param":"off","jsdoc/require-param-description":"off","jsdoc/require-param-name":"off","jsdoc/require-param-type":"off","jsdoc/require-property":"off","jsdoc/require-property-description":"off","jsdoc/require-property-name":"off","jsdoc/require-property-type":"off","jsdoc/require-returns":"off","jsdoc/require-returns-description":"off","jsdoc/require-returns-type":"off","jsdoc/require-throws-description":"off","jsdoc/require-throws-type":"off","jsdoc/require-yields":"off","jsdoc/require-yields-description":"off","jsdoc/require-yields-type":"off"};var jsdoc={plugins:["jsdoc"],rules:rules};exports.default=jsdoc;
|
package/dist/jsdoc.js
CHANGED
|
@@ -1,56 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var rules = {
|
|
3
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-access.html
|
|
4
|
-
"jsdoc/check-access": "off",
|
|
5
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-property-names.html
|
|
6
|
-
"jsdoc/check-property-names": "off",
|
|
7
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-tag-names.html
|
|
8
|
-
"jsdoc/check-tag-names": "off",
|
|
9
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/empty-tags.html
|
|
10
|
-
"jsdoc/empty-tags": "off",
|
|
11
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.html
|
|
12
|
-
"jsdoc/implements-on-classes": "off",
|
|
13
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-blank-blocks.html
|
|
14
|
-
"jsdoc/no-blank-blocks": "off",
|
|
15
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-defaults.html
|
|
16
|
-
"jsdoc/no-defaults": "off",
|
|
17
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param.html
|
|
18
|
-
"jsdoc/require-param": "off",
|
|
19
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-description.html
|
|
20
|
-
"jsdoc/require-param-description": "off",
|
|
21
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-name.html
|
|
22
|
-
"jsdoc/require-param-name": "off",
|
|
23
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-type.html
|
|
24
|
-
"jsdoc/require-param-type": "off",
|
|
25
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property.html
|
|
26
|
-
"jsdoc/require-property": "off",
|
|
27
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-description.html
|
|
28
|
-
"jsdoc/require-property-description": "off",
|
|
29
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-name.html
|
|
30
|
-
"jsdoc/require-property-name": "off",
|
|
31
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-type.html
|
|
32
|
-
"jsdoc/require-property-type": "off",
|
|
33
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns.html
|
|
34
|
-
"jsdoc/require-returns": "off",
|
|
35
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-description.html
|
|
36
|
-
"jsdoc/require-returns-description": "off",
|
|
37
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-type.html
|
|
38
|
-
"jsdoc/require-returns-type": "off",
|
|
39
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-description.html
|
|
40
|
-
"jsdoc/require-throws-description": "off",
|
|
41
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-type.html
|
|
42
|
-
"jsdoc/require-throws-type": "off",
|
|
43
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields.html
|
|
44
|
-
"jsdoc/require-yields": "off",
|
|
45
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-description.html
|
|
46
|
-
"jsdoc/require-yields-description": "off",
|
|
47
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-type.html
|
|
48
|
-
"jsdoc/require-yields-type": "off"
|
|
49
|
-
};
|
|
50
|
-
var jsdoc_default = {
|
|
51
|
-
plugins: ["jsdoc"],
|
|
52
|
-
rules
|
|
53
|
-
};
|
|
54
|
-
export {
|
|
55
|
-
jsdoc_default as default
|
|
56
|
-
};
|
|
1
|
+
const rules={"jsdoc/check-access":"off","jsdoc/check-property-names":"off","jsdoc/check-tag-names":"off","jsdoc/empty-tags":"off","jsdoc/implements-on-classes":"off","jsdoc/no-blank-blocks":"off","jsdoc/no-defaults":"off","jsdoc/require-param":"off","jsdoc/require-param-description":"off","jsdoc/require-param-name":"off","jsdoc/require-param-type":"off","jsdoc/require-property":"off","jsdoc/require-property-description":"off","jsdoc/require-property-name":"off","jsdoc/require-property-type":"off","jsdoc/require-returns":"off","jsdoc/require-returns-description":"off","jsdoc/require-returns-type":"off","jsdoc/require-throws-description":"off","jsdoc/require-throws-type":"off","jsdoc/require-yields":"off","jsdoc/require-yields-description":"off","jsdoc/require-yields-type":"off"};var jsdoc={plugins:["jsdoc"],rules:rules};export{jsdoc as default};
|
package/dist/jsx-a11y.cjs
CHANGED
|
@@ -1,103 +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/jsx-a11y.ts
|
|
21
|
-
var jsx_a11y_exports = {};
|
|
22
|
-
__export(jsx_a11y_exports, {
|
|
23
|
-
default: () => jsx_a11y_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(jsx_a11y_exports);
|
|
26
|
-
var rules = {
|
|
27
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/alt-text.html
|
|
28
|
-
"jsx-a11y/alt-text": "off",
|
|
29
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.html
|
|
30
|
-
"jsx-a11y/anchor-ambiguous-text": "off",
|
|
31
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.html
|
|
32
|
-
"jsx-a11y/anchor-has-content": "off",
|
|
33
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.html
|
|
34
|
-
"jsx-a11y/anchor-is-valid": "off",
|
|
35
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.html
|
|
36
|
-
"jsx-a11y/aria-activedescendant-has-tabindex": "off",
|
|
37
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-props.html
|
|
38
|
-
"jsx-a11y/aria-props": "off",
|
|
39
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-proptypes.html
|
|
40
|
-
"jsx-a11y/aria-proptypes": "off",
|
|
41
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-role.html
|
|
42
|
-
"jsx-a11y/aria-role": "off",
|
|
43
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.html
|
|
44
|
-
"jsx-a11y/aria-unsupported-elements": "off",
|
|
45
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.html
|
|
46
|
-
"jsx-a11y/autocomplete-valid": "off",
|
|
47
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.html
|
|
48
|
-
"jsx-a11y/click-events-have-key-events": "off",
|
|
49
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/control-has-associated-label.html
|
|
50
|
-
"jsx-a11y/control-has-associated-label": "off",
|
|
51
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.html
|
|
52
|
-
"jsx-a11y/heading-has-content": "off",
|
|
53
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.html
|
|
54
|
-
"jsx-a11y/html-has-lang": "off",
|
|
55
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.html
|
|
56
|
-
"jsx-a11y/iframe-has-title": "off",
|
|
57
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.html
|
|
58
|
-
"jsx-a11y/img-redundant-alt": "off",
|
|
59
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/interactive-supports-focus.html
|
|
60
|
-
"jsx-a11y/interactive-supports-focus": "off",
|
|
61
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.html
|
|
62
|
-
"jsx-a11y/label-has-associated-control": "off",
|
|
63
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/lang.html
|
|
64
|
-
"jsx-a11y/lang": "off",
|
|
65
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.html
|
|
66
|
-
"jsx-a11y/media-has-caption": "off",
|
|
67
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.html
|
|
68
|
-
"jsx-a11y/mouse-events-have-key-events": "off",
|
|
69
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.html
|
|
70
|
-
"jsx-a11y/no-access-key": "off",
|
|
71
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.html
|
|
72
|
-
"jsx-a11y/no-aria-hidden-on-focusable": "off",
|
|
73
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.html
|
|
74
|
-
"jsx-a11y/no-autofocus": "off",
|
|
75
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.html
|
|
76
|
-
"jsx-a11y/no-distracting-elements": "off",
|
|
77
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-interactive-element-to-noninteractive-role.html
|
|
78
|
-
"jsx-a11y/no-interactive-element-to-noninteractive-role": "off",
|
|
79
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-interactions.html
|
|
80
|
-
"jsx-a11y/no-noninteractive-element-interactions": "off",
|
|
81
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-element-to-interactive-role.html
|
|
82
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
|
|
83
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.html
|
|
84
|
-
"jsx-a11y/no-noninteractive-tabindex": "off",
|
|
85
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.html
|
|
86
|
-
"jsx-a11y/no-redundant-roles": "off",
|
|
87
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-static-element-interactions.html
|
|
88
|
-
"jsx-a11y/no-static-element-interactions": "off",
|
|
89
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.html
|
|
90
|
-
"jsx-a11y/prefer-tag-over-role": "off",
|
|
91
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.html
|
|
92
|
-
"jsx-a11y/role-has-required-aria-props": "off",
|
|
93
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.html
|
|
94
|
-
"jsx-a11y/role-supports-aria-props": "off",
|
|
95
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/scope.html
|
|
96
|
-
"jsx-a11y/scope": "off",
|
|
97
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.html
|
|
98
|
-
"jsx-a11y/tabindex-no-positive": "off"
|
|
99
|
-
};
|
|
100
|
-
var jsx_a11y_default = {
|
|
101
|
-
plugins: ["jsx-a11y"],
|
|
102
|
-
rules
|
|
103
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});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};exports.default=jsxA11y;
|