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