@mado/oxlint 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/jest.js CHANGED
@@ -1,130 +1,128 @@
1
- // src/jest.ts
2
- var rules = {
1
+ const rules = {
3
2
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/consistent-test-it.html
4
- "jest/consistent-test-it": "off",
3
+ 'jest/consistent-test-it': 'off',
5
4
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/expect-expect.html
6
- "jest/expect-expect": "off",
5
+ 'jest/expect-expect': 'off',
7
6
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/max-expects.html
8
- "jest/max-expects": "off",
7
+ 'jest/max-expects': 'off',
9
8
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/max-nested-describe.html
10
- "jest/max-nested-describe": "off",
9
+ 'jest/max-nested-describe': 'off',
11
10
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-alias-methods.html
12
- "jest/no-alias-methods": "off",
11
+ 'jest/no-alias-methods': 'off',
13
12
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-commented-out-tests.html
14
- "jest/no-commented-out-tests": "off",
13
+ 'jest/no-commented-out-tests': 'off',
15
14
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-expect.html
16
- "jest/no-conditional-expect": "off",
15
+ 'jest/no-conditional-expect': 'off',
17
16
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-in-test.html
18
- "jest/no-conditional-in-test": "off",
17
+ 'jest/no-conditional-in-test': 'off',
19
18
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.html
20
- "jest/no-confusing-set-timeout": "off",
19
+ 'jest/no-confusing-set-timeout': 'off',
21
20
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-deprecated-functions.html
22
- "jest/no-deprecated-functions": "off",
21
+ 'jest/no-deprecated-functions': 'off',
23
22
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-disabled-tests.html
24
- "jest/no-disabled-tests": "off",
23
+ 'jest/no-disabled-tests': 'off',
25
24
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-done-callback.html
26
- "jest/no-done-callback": "off",
25
+ 'jest/no-done-callback': 'off',
27
26
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.html
28
- "jest/no-duplicate-hooks": "off",
27
+ 'jest/no-duplicate-hooks': 'off',
29
28
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-export.html
30
- "jest/no-export": "off",
29
+ 'jest/no-export': 'off',
31
30
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-focused-tests.html
32
- "jest/no-focused-tests": "off",
31
+ 'jest/no-focused-tests': 'off',
33
32
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-hooks.html
34
- "jest/no-hooks": "off",
33
+ 'jest/no-hooks': 'off',
35
34
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-identical-title.html
36
- "jest/no-identical-title": "off",
35
+ 'jest/no-identical-title': 'off',
37
36
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.html
38
- "jest/no-interpolation-in-snapshots": "off",
37
+ 'jest/no-interpolation-in-snapshots': 'off',
39
38
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-jasmine-globals.html
40
- "jest/no-jasmine-globals": "off",
39
+ 'jest/no-jasmine-globals': 'off',
41
40
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-large-snapshots.html
42
- "jest/no-large-snapshots": "off",
41
+ 'jest/no-large-snapshots': 'off',
43
42
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-mocks-import.html
44
- "jest/no-mocks-import": "off",
43
+ 'jest/no-mocks-import': 'off',
45
44
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.html
46
- "jest/no-restricted-jest-methods": "off",
45
+ 'jest/no-restricted-jest-methods': 'off',
47
46
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-matchers.html
48
- "jest/no-restricted-matchers": "off",
47
+ 'jest/no-restricted-matchers': 'off',
49
48
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-standalone-expect.html
50
- "jest/no-standalone-expect": "off",
49
+ 'jest/no-standalone-expect': 'off',
51
50
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-prefixes.html
52
- "jest/no-test-prefixes": "off",
51
+ 'jest/no-test-prefixes': 'off',
53
52
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-return-statement.html
54
- "jest/no-test-return-statement": "off",
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
- "jest/no-unneeded-async-expect-function": "off",
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
- "jest/no-untyped-mock-factory": "off",
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
- "jest/padding-around-after-all-blocks": "off",
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
- "jest/padding-around-test-blocks": "off",
61
+ 'jest/padding-around-test-blocks': 'off',
63
62
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-called-with.html
64
- "jest/prefer-called-with": "off",
63
+ 'jest/prefer-called-with': 'off',
65
64
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.html
66
- "jest/prefer-comparison-matcher": "off",
65
+ 'jest/prefer-comparison-matcher': 'off',
67
66
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-each.html
68
- "jest/prefer-each": "off",
67
+ 'jest/prefer-each': 'off',
69
68
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-ending-with-an-expect.html
70
- "jest/prefer-ending-with-an-expect": "off",
69
+ 'jest/prefer-ending-with-an-expect': 'off',
71
70
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.html
72
- "jest/prefer-equality-matcher": "off",
71
+ 'jest/prefer-equality-matcher': 'off',
73
72
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-assertions.html
74
- "jest/prefer-expect-assertions": "off",
73
+ 'jest/prefer-expect-assertions': 'off',
75
74
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.html
76
- "jest/prefer-expect-resolves": "off",
75
+ 'jest/prefer-expect-resolves': 'off',
77
76
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.html
78
- "jest/prefer-hooks-in-order": "off",
77
+ 'jest/prefer-hooks-in-order': 'off',
79
78
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.html
80
- "jest/prefer-hooks-on-top": "off",
79
+ 'jest/prefer-hooks-on-top': 'off',
81
80
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-importing-jest-globals.html
82
- "jest/prefer-importing-jest-globals": "off",
81
+ 'jest/prefer-importing-jest-globals': 'off',
83
82
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.html
84
- "jest/prefer-jest-mocked": "off",
83
+ 'jest/prefer-jest-mocked': 'off',
85
84
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.html
86
- "jest/prefer-lowercase-title": "off",
85
+ 'jest/prefer-lowercase-title': 'off',
87
86
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.html
88
- "jest/prefer-mock-promise-shorthand": "off",
87
+ 'jest/prefer-mock-promise-shorthand': 'off',
89
88
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-return-shorthand.html
90
- "jest/prefer-mock-return-shorthand": "off",
89
+ 'jest/prefer-mock-return-shorthand': 'off',
91
90
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-snapshot-hint.html
92
- "jest/prefer-snapshot-hint": "off",
91
+ 'jest/prefer-snapshot-hint': 'off',
93
92
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-spy-on.html
94
- "jest/prefer-spy-on": "off",
93
+ 'jest/prefer-spy-on': 'off',
95
94
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-strict-equal.html
96
- "jest/prefer-strict-equal": "off",
95
+ 'jest/prefer-strict-equal': 'off',
97
96
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-be.html
98
- "jest/prefer-to-be": "off",
97
+ 'jest/prefer-to-be': 'off',
99
98
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-contain.html
100
- "jest/prefer-to-contain": "off",
99
+ 'jest/prefer-to-contain': 'off',
101
100
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called.html
102
- "jest/prefer-to-have-been-called": "off",
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
- "jest/prefer-to-have-been-called-times": "off",
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
- "jest/prefer-to-have-length": "off",
105
+ 'jest/prefer-to-have-length': 'off',
107
106
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-todo.html
108
- "jest/prefer-todo": "off",
107
+ 'jest/prefer-todo': 'off',
109
108
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/require-hook.html
110
- "jest/require-hook": "off",
109
+ 'jest/require-hook': 'off',
111
110
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/require-to-throw-message.html
112
- "jest/require-to-throw-message": "off",
111
+ 'jest/require-to-throw-message': 'off',
113
112
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/require-top-level-describe.html
114
- "jest/require-top-level-describe": "off",
113
+ 'jest/require-top-level-describe': 'off',
115
114
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-describe-callback.html
116
- "jest/valid-describe-callback": "off",
115
+ 'jest/valid-describe-callback': 'off',
117
116
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
118
- "jest/valid-expect": "off",
117
+ 'jest/valid-expect': 'off',
119
118
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect-in-promise.html
120
- "jest/valid-expect-in-promise": "off",
119
+ 'jest/valid-expect-in-promise': 'off',
121
120
  // https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-title.html
122
- "jest/valid-title": "off"
121
+ 'jest/valid-title': 'off'
123
122
  };
124
- var jest_default = {
125
- plugins: ["jest"],
123
+ var jest = {
124
+ plugins: ['jest'],
126
125
  rules
127
126
  };
128
- export {
129
- jest_default as default
130
- };
127
+
128
+ export { jest as default };
package/dist/jsdoc.cjs CHANGED
@@ -1,77 +1,58 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
19
2
 
20
- // src/jsdoc.ts
21
- var jsdoc_exports = {};
22
- __export(jsdoc_exports, {
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
- "jsdoc/check-access": "off",
7
+ 'jsdoc/check-access': 'off',
29
8
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-property-names.html
30
- "jsdoc/check-property-names": "off",
9
+ 'jsdoc/check-property-names': 'off',
31
10
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-tag-names.html
32
- "jsdoc/check-tag-names": "off",
11
+ 'jsdoc/check-tag-names': 'off',
33
12
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/empty-tags.html
34
- "jsdoc/empty-tags": "off",
13
+ 'jsdoc/empty-tags': 'off',
35
14
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.html
36
- "jsdoc/implements-on-classes": "off",
15
+ 'jsdoc/implements-on-classes': 'off',
37
16
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-blank-blocks.html
38
- "jsdoc/no-blank-blocks": "off",
17
+ 'jsdoc/no-blank-blocks': 'off',
39
18
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-defaults.html
40
- "jsdoc/no-defaults": "off",
19
+ 'jsdoc/no-defaults': 'off',
41
20
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param.html
42
- "jsdoc/require-param": "off",
21
+ 'jsdoc/require-param': 'off',
43
22
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-description.html
44
- "jsdoc/require-param-description": "off",
23
+ 'jsdoc/require-param-description': 'off',
45
24
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-name.html
46
- "jsdoc/require-param-name": "off",
25
+ 'jsdoc/require-param-name': 'off',
47
26
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-type.html
48
- "jsdoc/require-param-type": "off",
27
+ 'jsdoc/require-param-type': 'off',
49
28
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property.html
50
- "jsdoc/require-property": "off",
29
+ 'jsdoc/require-property': 'off',
51
30
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-description.html
52
- "jsdoc/require-property-description": "off",
31
+ 'jsdoc/require-property-description': 'off',
53
32
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-name.html
54
- "jsdoc/require-property-name": "off",
33
+ 'jsdoc/require-property-name': 'off',
55
34
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-type.html
56
- "jsdoc/require-property-type": "off",
35
+ 'jsdoc/require-property-type': 'off',
57
36
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns.html
58
- "jsdoc/require-returns": "off",
37
+ 'jsdoc/require-returns': 'off',
59
38
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-description.html
60
- "jsdoc/require-returns-description": "off",
39
+ 'jsdoc/require-returns-description': 'off',
61
40
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-type.html
62
- "jsdoc/require-returns-type": "off",
41
+ 'jsdoc/require-returns-type': 'off',
63
42
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-description.html
64
- "jsdoc/require-throws-description": "off",
43
+ 'jsdoc/require-throws-description': 'off',
65
44
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-type.html
66
- "jsdoc/require-throws-type": "off",
45
+ 'jsdoc/require-throws-type': 'off',
67
46
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields.html
68
- "jsdoc/require-yields": "off",
47
+ 'jsdoc/require-yields': 'off',
69
48
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-description.html
70
- "jsdoc/require-yields-description": "off",
49
+ 'jsdoc/require-yields-description': 'off',
71
50
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-type.html
72
- "jsdoc/require-yields-type": "off"
51
+ 'jsdoc/require-yields-type': 'off'
73
52
  };
74
- var jsdoc_default = {
75
- plugins: ["jsdoc"],
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
- // src/jsdoc.ts
2
- var rules = {
1
+ const rules = {
3
2
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-access.html
4
- "jsdoc/check-access": "off",
3
+ 'jsdoc/check-access': 'off',
5
4
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-property-names.html
6
- "jsdoc/check-property-names": "off",
5
+ 'jsdoc/check-property-names': 'off',
7
6
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/check-tag-names.html
8
- "jsdoc/check-tag-names": "off",
7
+ 'jsdoc/check-tag-names': 'off',
9
8
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/empty-tags.html
10
- "jsdoc/empty-tags": "off",
9
+ 'jsdoc/empty-tags': 'off',
11
10
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.html
12
- "jsdoc/implements-on-classes": "off",
11
+ 'jsdoc/implements-on-classes': 'off',
13
12
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-blank-blocks.html
14
- "jsdoc/no-blank-blocks": "off",
13
+ 'jsdoc/no-blank-blocks': 'off',
15
14
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/no-defaults.html
16
- "jsdoc/no-defaults": "off",
15
+ 'jsdoc/no-defaults': 'off',
17
16
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param.html
18
- "jsdoc/require-param": "off",
17
+ 'jsdoc/require-param': 'off',
19
18
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-description.html
20
- "jsdoc/require-param-description": "off",
19
+ 'jsdoc/require-param-description': 'off',
21
20
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-name.html
22
- "jsdoc/require-param-name": "off",
21
+ 'jsdoc/require-param-name': 'off',
23
22
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-param-type.html
24
- "jsdoc/require-param-type": "off",
23
+ 'jsdoc/require-param-type': 'off',
25
24
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property.html
26
- "jsdoc/require-property": "off",
25
+ 'jsdoc/require-property': 'off',
27
26
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-description.html
28
- "jsdoc/require-property-description": "off",
27
+ 'jsdoc/require-property-description': 'off',
29
28
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-name.html
30
- "jsdoc/require-property-name": "off",
29
+ 'jsdoc/require-property-name': 'off',
31
30
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-type.html
32
- "jsdoc/require-property-type": "off",
31
+ 'jsdoc/require-property-type': 'off',
33
32
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns.html
34
- "jsdoc/require-returns": "off",
33
+ 'jsdoc/require-returns': 'off',
35
34
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-description.html
36
- "jsdoc/require-returns-description": "off",
35
+ 'jsdoc/require-returns-description': 'off',
37
36
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-returns-type.html
38
- "jsdoc/require-returns-type": "off",
37
+ 'jsdoc/require-returns-type': 'off',
39
38
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-description.html
40
- "jsdoc/require-throws-description": "off",
39
+ 'jsdoc/require-throws-description': 'off',
41
40
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-throws-type.html
42
- "jsdoc/require-throws-type": "off",
41
+ 'jsdoc/require-throws-type': 'off',
43
42
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields.html
44
- "jsdoc/require-yields": "off",
43
+ 'jsdoc/require-yields': 'off',
45
44
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-description.html
46
- "jsdoc/require-yields-description": "off",
45
+ 'jsdoc/require-yields-description': 'off',
47
46
  // https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-yields-type.html
48
- "jsdoc/require-yields-type": "off"
47
+ 'jsdoc/require-yields-type': 'off'
49
48
  };
50
- var jsdoc_default = {
51
- plugins: ["jsdoc"],
49
+ var jsdoc = {
50
+ plugins: ['jsdoc'],
52
51
  rules
53
52
  };
54
- export {
55
- jsdoc_default as default
56
- };
53
+
54
+ export { jsdoc as default };
package/dist/jsx-a11y.cjs CHANGED
@@ -1,103 +1,84 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
19
2
 
20
- // src/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 = {
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
- "jsx-a11y/alt-text": "off",
7
+ 'jsx-a11y/alt-text': 'off',
29
8
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.html
30
- "jsx-a11y/anchor-ambiguous-text": "off",
9
+ 'jsx-a11y/anchor-ambiguous-text': 'off',
31
10
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.html
32
- "jsx-a11y/anchor-has-content": "off",
11
+ 'jsx-a11y/anchor-has-content': 'off',
33
12
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.html
34
- "jsx-a11y/anchor-is-valid": "off",
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
- "jsx-a11y/aria-activedescendant-has-tabindex": "off",
15
+ 'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
37
16
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-props.html
38
- "jsx-a11y/aria-props": "off",
17
+ 'jsx-a11y/aria-props': 'off',
39
18
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-proptypes.html
40
- "jsx-a11y/aria-proptypes": "off",
19
+ 'jsx-a11y/aria-proptypes': 'off',
41
20
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-role.html
42
- "jsx-a11y/aria-role": "off",
21
+ 'jsx-a11y/aria-role': 'off',
43
22
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.html
44
- "jsx-a11y/aria-unsupported-elements": "off",
23
+ 'jsx-a11y/aria-unsupported-elements': 'off',
45
24
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.html
46
- "jsx-a11y/autocomplete-valid": "off",
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
- "jsx-a11y/click-events-have-key-events": "off",
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
- "jsx-a11y/control-has-associated-label": "off",
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
- "jsx-a11y/heading-has-content": "off",
31
+ 'jsx-a11y/heading-has-content': 'off',
53
32
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.html
54
- "jsx-a11y/html-has-lang": "off",
33
+ 'jsx-a11y/html-has-lang': 'off',
55
34
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.html
56
- "jsx-a11y/iframe-has-title": "off",
35
+ 'jsx-a11y/iframe-has-title': 'off',
57
36
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.html
58
- "jsx-a11y/img-redundant-alt": "off",
37
+ 'jsx-a11y/img-redundant-alt': 'off',
59
38
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/interactive-supports-focus.html
60
- "jsx-a11y/interactive-supports-focus": "off",
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
- "jsx-a11y/label-has-associated-control": "off",
41
+ 'jsx-a11y/label-has-associated-control': 'off',
63
42
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/lang.html
64
- "jsx-a11y/lang": "off",
43
+ 'jsx-a11y/lang': 'off',
65
44
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.html
66
- "jsx-a11y/media-has-caption": "off",
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
- "jsx-a11y/mouse-events-have-key-events": "off",
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
- "jsx-a11y/no-access-key": "off",
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
- "jsx-a11y/no-aria-hidden-on-focusable": "off",
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
- "jsx-a11y/no-autofocus": "off",
53
+ 'jsx-a11y/no-autofocus': 'off',
75
54
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.html
76
- "jsx-a11y/no-distracting-elements": "off",
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
- "jsx-a11y/no-interactive-element-to-noninteractive-role": "off",
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
- "jsx-a11y/no-noninteractive-element-interactions": "off",
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
- "jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
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
- "jsx-a11y/no-noninteractive-tabindex": "off",
63
+ 'jsx-a11y/no-noninteractive-tabindex': 'off',
85
64
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.html
86
- "jsx-a11y/no-redundant-roles": "off",
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
- "jsx-a11y/no-static-element-interactions": "off",
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
- "jsx-a11y/prefer-tag-over-role": "off",
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
- "jsx-a11y/role-has-required-aria-props": "off",
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
- "jsx-a11y/role-supports-aria-props": "off",
73
+ 'jsx-a11y/role-supports-aria-props': 'off',
95
74
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/scope.html
96
- "jsx-a11y/scope": "off",
75
+ 'jsx-a11y/scope': 'off',
97
76
  // https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.html
98
- "jsx-a11y/tabindex-no-positive": "off"
77
+ 'jsx-a11y/tabindex-no-positive': 'off'
99
78
  };
100
- var jsx_a11y_default = {
101
- plugins: ["jsx-a11y"],
79
+ var jsxA11y = {
80
+ plugins: ['jsx-a11y'],
102
81
  rules
103
82
  };
83
+
84
+ exports.default = jsxA11y;