@mado/oxlint 0.0.0-stage → 0.2.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE +21 -0
  3. package/README.md +48 -2
  4. package/dist/eslint.cjs +405 -0
  5. package/dist/eslint.d.cts +8 -0
  6. package/dist/eslint.d.ts +8 -0
  7. package/dist/eslint.js +384 -0
  8. package/dist/import.cjs +97 -0
  9. package/dist/import.d.cts +8 -0
  10. package/dist/import.d.ts +8 -0
  11. package/dist/import.js +76 -0
  12. package/dist/index.cjs +42 -0
  13. package/dist/index.d.cts +5 -0
  14. package/dist/index.d.ts +5 -0
  15. package/dist/index.js +21 -0
  16. package/dist/jest.cjs +151 -0
  17. package/dist/jest.d.cts +8 -0
  18. package/dist/jest.d.ts +8 -0
  19. package/dist/jest.js +130 -0
  20. package/dist/jsdoc.cjs +77 -0
  21. package/dist/jsdoc.d.cts +8 -0
  22. package/dist/jsdoc.d.ts +8 -0
  23. package/dist/jsdoc.js +56 -0
  24. package/dist/jsx-a11y.cjs +103 -0
  25. package/dist/jsx-a11y.d.cts +8 -0
  26. package/dist/jsx-a11y.d.ts +8 -0
  27. package/dist/jsx-a11y.js +82 -0
  28. package/dist/nextjs.cjs +73 -0
  29. package/dist/nextjs.d.cts +8 -0
  30. package/dist/nextjs.d.ts +8 -0
  31. package/dist/nextjs.js +52 -0
  32. package/dist/node.cjs +53 -0
  33. package/dist/node.d.cts +8 -0
  34. package/dist/node.d.ts +8 -0
  35. package/dist/node.js +32 -0
  36. package/dist/oxc.cjs +85 -0
  37. package/dist/oxc.d.cts +8 -0
  38. package/dist/oxc.d.ts +8 -0
  39. package/dist/oxc.js +64 -0
  40. package/dist/promise.cjs +63 -0
  41. package/dist/promise.d.cts +8 -0
  42. package/dist/promise.d.ts +8 -0
  43. package/dist/promise.js +42 -0
  44. package/dist/react-perf.cjs +39 -0
  45. package/dist/react-perf.d.cts +8 -0
  46. package/dist/react-perf.d.ts +8 -0
  47. package/dist/react-perf.js +18 -0
  48. package/dist/react.cjs +201 -0
  49. package/dist/react.d.cts +8 -0
  50. package/dist/react.d.ts +8 -0
  51. package/dist/react.js +180 -0
  52. package/dist/typescript.cjs +253 -0
  53. package/dist/typescript.d.cts +8 -0
  54. package/dist/typescript.d.ts +8 -0
  55. package/dist/typescript.js +232 -0
  56. package/dist/unicorn.cjs +307 -0
  57. package/dist/unicorn.d.cts +8 -0
  58. package/dist/unicorn.d.ts +8 -0
  59. package/dist/unicorn.js +286 -0
  60. package/dist/vitest.cjs +177 -0
  61. package/dist/vitest.d.cts +8 -0
  62. package/dist/vitest.d.ts +8 -0
  63. package/dist/vitest.js +156 -0
  64. package/dist/vue.cjs +123 -0
  65. package/dist/vue.d.cts +8 -0
  66. package/dist/vue.d.ts +8 -0
  67. package/dist/vue.js +102 -0
  68. package/package.json +77 -3
@@ -0,0 +1,5 @@
1
+ import { OxlintConfig } from 'oxlint';
2
+
3
+ declare const config: OxlintConfig;
4
+
5
+ export { config as default };
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ // src/index.ts
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
+ };
package/dist/jest.cjs ADDED
@@ -0,0 +1,151 @@
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
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jest"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/jest.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jest"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/jest.js ADDED
@@ -0,0 +1,130 @@
1
+ // src/jest.ts
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
+ };
package/dist/jsdoc.cjs ADDED
@@ -0,0 +1,77 @@
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
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jsdoc"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jsdoc"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/jsdoc.js ADDED
@@ -0,0 +1,56 @@
1
+ // src/jsdoc.ts
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
+ };
@@ -0,0 +1,103 @@
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
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jsx-a11y"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "jsx-a11y"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };