@mado/oxlint 0.0.0-stage → 0.1.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 +7 -0
- package/LICENSE +21 -0
- package/README.md +48 -2
- package/dist/eslint.cjs +405 -0
- package/dist/eslint.d.cts +8 -0
- package/dist/eslint.d.ts +8 -0
- package/dist/eslint.js +384 -0
- package/dist/import.cjs +97 -0
- package/dist/import.d.cts +8 -0
- package/dist/import.d.ts +8 -0
- package/dist/import.js +76 -0
- package/dist/index.cjs +40 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +19 -0
- package/dist/jest.cjs +151 -0
- package/dist/jest.d.cts +8 -0
- package/dist/jest.d.ts +8 -0
- package/dist/jest.js +130 -0
- package/dist/jsdoc.cjs +77 -0
- package/dist/jsdoc.d.cts +8 -0
- package/dist/jsdoc.d.ts +8 -0
- package/dist/jsdoc.js +56 -0
- package/dist/jsx-a11y.cjs +103 -0
- package/dist/jsx-a11y.d.cts +8 -0
- package/dist/jsx-a11y.d.ts +8 -0
- package/dist/jsx-a11y.js +82 -0
- package/dist/nextjs.cjs +73 -0
- package/dist/nextjs.d.cts +8 -0
- package/dist/nextjs.d.ts +8 -0
- package/dist/nextjs.js +52 -0
- package/dist/node.cjs +53 -0
- package/dist/node.d.cts +8 -0
- package/dist/node.d.ts +8 -0
- package/dist/node.js +32 -0
- package/dist/oxc.cjs +85 -0
- package/dist/oxc.d.cts +8 -0
- package/dist/oxc.d.ts +8 -0
- package/dist/oxc.js +64 -0
- package/dist/promise.cjs +63 -0
- package/dist/promise.d.cts +8 -0
- package/dist/promise.d.ts +8 -0
- package/dist/promise.js +42 -0
- package/dist/react-perf.cjs +39 -0
- package/dist/react-perf.d.cts +8 -0
- package/dist/react-perf.d.ts +8 -0
- package/dist/react-perf.js +18 -0
- package/dist/react.cjs +201 -0
- package/dist/react.d.cts +8 -0
- package/dist/react.d.ts +8 -0
- package/dist/react.js +180 -0
- package/dist/typescript.cjs +253 -0
- package/dist/typescript.d.cts +8 -0
- package/dist/typescript.d.ts +8 -0
- package/dist/typescript.js +232 -0
- package/dist/unicorn.cjs +307 -0
- package/dist/unicorn.d.cts +8 -0
- package/dist/unicorn.d.ts +8 -0
- package/dist/unicorn.js +286 -0
- package/dist/vitest.cjs +177 -0
- package/dist/vitest.d.cts +8 -0
- package/dist/vitest.d.ts +8 -0
- package/dist/vitest.js +156 -0
- package/dist/vue.cjs +123 -0
- package/dist/vue.d.cts +8 -0
- package/dist/vue.d.ts +8 -0
- package/dist/vue.js +102 -0
- package/package.json +76 -3
package/dist/vitest.js
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// src/vitest.ts
|
|
2
|
+
var rules = {
|
|
3
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-each-for.html
|
|
4
|
+
"vitest/consistent-each-for": "off",
|
|
5
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-filename.html
|
|
6
|
+
"vitest/consistent-test-filename": "off",
|
|
7
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-it.html
|
|
8
|
+
"vitest/consistent-test-it": "off",
|
|
9
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-vitest-vi.html
|
|
10
|
+
"vitest/consistent-vitest-vi": "off",
|
|
11
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/expect-expect.html
|
|
12
|
+
"vitest/expect-expect": "off",
|
|
13
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/hoisted-apis-on-top.html
|
|
14
|
+
"vitest/hoisted-apis-on-top": "off",
|
|
15
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-expects.html
|
|
16
|
+
"vitest/max-expects": "off",
|
|
17
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-nested-describe.html
|
|
18
|
+
"vitest/max-nested-describe": "off",
|
|
19
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-alias-methods.html
|
|
20
|
+
"vitest/no-alias-methods": "off",
|
|
21
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-commented-out-tests.html
|
|
22
|
+
"vitest/no-commented-out-tests": "off",
|
|
23
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-expect.html
|
|
24
|
+
"vitest/no-conditional-expect": "off",
|
|
25
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-in-test.html
|
|
26
|
+
"vitest/no-conditional-in-test": "off",
|
|
27
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-tests.html
|
|
28
|
+
"vitest/no-conditional-tests": "off",
|
|
29
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-disabled-tests.html
|
|
30
|
+
"vitest/no-disabled-tests": "off",
|
|
31
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-duplicate-hooks.html
|
|
32
|
+
"vitest/no-duplicate-hooks": "off",
|
|
33
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-focused-tests.html
|
|
34
|
+
"vitest/no-focused-tests": "off",
|
|
35
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-hooks.html
|
|
36
|
+
"vitest/no-hooks": "off",
|
|
37
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-identical-title.html
|
|
38
|
+
"vitest/no-identical-title": "off",
|
|
39
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-import-node-test.html
|
|
40
|
+
"vitest/no-import-node-test": "off",
|
|
41
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-importing-vitest-globals.html
|
|
42
|
+
"vitest/no-importing-vitest-globals": "off",
|
|
43
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-interpolation-in-snapshots.html
|
|
44
|
+
"vitest/no-interpolation-in-snapshots": "off",
|
|
45
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-large-snapshots.html
|
|
46
|
+
"vitest/no-large-snapshots": "off",
|
|
47
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-mocks-import.html
|
|
48
|
+
"vitest/no-mocks-import": "off",
|
|
49
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-matchers.html
|
|
50
|
+
"vitest/no-restricted-matchers": "off",
|
|
51
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-vi-methods.html
|
|
52
|
+
"vitest/no-restricted-vi-methods": "off",
|
|
53
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-standalone-expect.html
|
|
54
|
+
"vitest/no-standalone-expect": "off",
|
|
55
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-prefixes.html
|
|
56
|
+
"vitest/no-test-prefixes": "off",
|
|
57
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-return-statement.html
|
|
58
|
+
"vitest/no-test-return-statement": "off",
|
|
59
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-unneeded-async-expect-function.html
|
|
60
|
+
"vitest/no-unneeded-async-expect-function": "off",
|
|
61
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-after-all-blocks.html
|
|
62
|
+
"vitest/padding-around-after-all-blocks": "off",
|
|
63
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-test-blocks.html
|
|
64
|
+
"vitest/padding-around-test-blocks": "off",
|
|
65
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-exactly-once-with.html
|
|
66
|
+
"vitest/prefer-called-exactly-once-with": "off",
|
|
67
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-once.html
|
|
68
|
+
"vitest/prefer-called-once": "off",
|
|
69
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-times.html
|
|
70
|
+
"vitest/prefer-called-times": "off",
|
|
71
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-with.html
|
|
72
|
+
"vitest/prefer-called-with": "off",
|
|
73
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-comparison-matcher.html
|
|
74
|
+
"vitest/prefer-comparison-matcher": "off",
|
|
75
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-describe-function-title.html
|
|
76
|
+
"vitest/prefer-describe-function-title": "off",
|
|
77
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-each.html
|
|
78
|
+
"vitest/prefer-each": "off",
|
|
79
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-equality-matcher.html
|
|
80
|
+
"vitest/prefer-equality-matcher": "off",
|
|
81
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-assertions.html
|
|
82
|
+
"vitest/prefer-expect-assertions": "off",
|
|
83
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-resolves.html
|
|
84
|
+
"vitest/prefer-expect-resolves": "off",
|
|
85
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-type-of.html
|
|
86
|
+
"vitest/prefer-expect-type-of": "off",
|
|
87
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-in-order.html
|
|
88
|
+
"vitest/prefer-hooks-in-order": "off",
|
|
89
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-on-top.html
|
|
90
|
+
"vitest/prefer-hooks-on-top": "off",
|
|
91
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-import-in-mock.html
|
|
92
|
+
"vitest/prefer-import-in-mock": "off",
|
|
93
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-importing-vitest-globals.html
|
|
94
|
+
"vitest/prefer-importing-vitest-globals": "off",
|
|
95
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-lowercase-title.html
|
|
96
|
+
"vitest/prefer-lowercase-title": "off",
|
|
97
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-promise-shorthand.html
|
|
98
|
+
"vitest/prefer-mock-promise-shorthand": "off",
|
|
99
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-return-shorthand.html
|
|
100
|
+
"vitest/prefer-mock-return-shorthand": "off",
|
|
101
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-snapshot-hint.html
|
|
102
|
+
"vitest/prefer-snapshot-hint": "off",
|
|
103
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-spy-on.html
|
|
104
|
+
"vitest/prefer-spy-on": "off",
|
|
105
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-boolean-matchers.html
|
|
106
|
+
"vitest/prefer-strict-boolean-matchers": "off",
|
|
107
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-equal.html
|
|
108
|
+
"vitest/prefer-strict-equal": "off",
|
|
109
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be.html
|
|
110
|
+
"vitest/prefer-to-be": "off",
|
|
111
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.html
|
|
112
|
+
"vitest/prefer-to-be-falsy": "off",
|
|
113
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.html
|
|
114
|
+
"vitest/prefer-to-be-object": "off",
|
|
115
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.html
|
|
116
|
+
"vitest/prefer-to-be-truthy": "off",
|
|
117
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-contain.html
|
|
118
|
+
"vitest/prefer-to-contain": "off",
|
|
119
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-been-called-times.html
|
|
120
|
+
"vitest/prefer-to-have-been-called-times": "off",
|
|
121
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-length.html
|
|
122
|
+
"vitest/prefer-to-have-length": "off",
|
|
123
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-todo.html
|
|
124
|
+
"vitest/prefer-todo": "off",
|
|
125
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-awaited-expect-poll.html
|
|
126
|
+
"vitest/require-awaited-expect-poll": "off",
|
|
127
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-hook.html
|
|
128
|
+
"vitest/require-hook": "off",
|
|
129
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.html
|
|
130
|
+
"vitest/require-local-test-context-for-concurrent-snapshots": "off",
|
|
131
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-mock-type-parameters.html
|
|
132
|
+
"vitest/require-mock-type-parameters": "off",
|
|
133
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-test-timeout.html
|
|
134
|
+
"vitest/require-test-timeout": "off",
|
|
135
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-to-throw-message.html
|
|
136
|
+
"vitest/require-to-throw-message": "off",
|
|
137
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-top-level-describe.html
|
|
138
|
+
"vitest/require-top-level-describe": "off",
|
|
139
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-describe-callback.html
|
|
140
|
+
"vitest/valid-describe-callback": "off",
|
|
141
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect.html
|
|
142
|
+
"vitest/valid-expect": "off",
|
|
143
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect-in-promise.html
|
|
144
|
+
"vitest/valid-expect-in-promise": "off",
|
|
145
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-title.html
|
|
146
|
+
"vitest/valid-title": "off",
|
|
147
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/warn-todo.html
|
|
148
|
+
"vitest/warn-todo": "off"
|
|
149
|
+
};
|
|
150
|
+
var vitest_default = {
|
|
151
|
+
plugins: ["vitest"],
|
|
152
|
+
rules
|
|
153
|
+
};
|
|
154
|
+
export {
|
|
155
|
+
vitest_default as default
|
|
156
|
+
};
|
package/dist/vue.cjs
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
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/vue.ts
|
|
21
|
+
var vue_exports = {};
|
|
22
|
+
__export(vue_exports, {
|
|
23
|
+
default: () => vue_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(vue_exports);
|
|
26
|
+
var rules = {
|
|
27
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/component-definition-name-casing.html
|
|
28
|
+
"vue/component-definition-name-casing": "off",
|
|
29
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-emits-declaration.html
|
|
30
|
+
"vue/define-emits-declaration": "off",
|
|
31
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-props-declaration.html
|
|
32
|
+
"vue/define-props-declaration": "off",
|
|
33
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-props-destructuring.html
|
|
34
|
+
"vue/define-props-destructuring": "off",
|
|
35
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/max-props.html
|
|
36
|
+
"vue/max-props": "off",
|
|
37
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/next-tick-style.html
|
|
38
|
+
"vue/next-tick-style": "off",
|
|
39
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-arrow-functions-in-watch.html
|
|
40
|
+
"vue/no-arrow-functions-in-watch": "off",
|
|
41
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-async-in-computed-properties.html
|
|
42
|
+
"vue/no-async-in-computed-properties": "off",
|
|
43
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-computed-properties-in-data.html
|
|
44
|
+
"vue/no-computed-properties-in-data": "off",
|
|
45
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-data-object-declaration.html
|
|
46
|
+
"vue/no-deprecated-data-object-declaration": "off",
|
|
47
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-delete-set.html
|
|
48
|
+
"vue/no-deprecated-delete-set": "off",
|
|
49
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-destroyed-lifecycle.html
|
|
50
|
+
"vue/no-deprecated-destroyed-lifecycle": "off",
|
|
51
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-events-api.html
|
|
52
|
+
"vue/no-deprecated-events-api": "off",
|
|
53
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-model-definition.html
|
|
54
|
+
"vue/no-deprecated-model-definition": "off",
|
|
55
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-props-default-this.html
|
|
56
|
+
"vue/no-deprecated-props-default-this": "off",
|
|
57
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-vue-config-keycodes.html
|
|
58
|
+
"vue/no-deprecated-vue-config-keycodes": "off",
|
|
59
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-dupe-keys.html
|
|
60
|
+
"vue/no-dupe-keys": "off",
|
|
61
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-export-in-script-setup.html
|
|
62
|
+
"vue/no-export-in-script-setup": "off",
|
|
63
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-expose-after-await.html
|
|
64
|
+
"vue/no-expose-after-await": "off",
|
|
65
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-import-compiler-macros.html
|
|
66
|
+
"vue/no-import-compiler-macros": "off",
|
|
67
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-lifecycle-after-await.html
|
|
68
|
+
"vue/no-lifecycle-after-await": "off",
|
|
69
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-multiple-slot-args.html
|
|
70
|
+
"vue/no-multiple-slot-args": "off",
|
|
71
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-required-prop-with-default.html
|
|
72
|
+
"vue/no-required-prop-with-default": "off",
|
|
73
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-component-names.html
|
|
74
|
+
"vue/no-reserved-component-names": "off",
|
|
75
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-keys.html
|
|
76
|
+
"vue/no-reserved-keys": "off",
|
|
77
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-props.html
|
|
78
|
+
"vue/no-reserved-props": "off",
|
|
79
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-shared-component-data.html
|
|
80
|
+
"vue/no-shared-component-data": "off",
|
|
81
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-side-effects-in-computed-properties.html
|
|
82
|
+
"vue/no-side-effects-in-computed-properties": "off",
|
|
83
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-this-in-before-route-enter.html
|
|
84
|
+
"vue/no-this-in-before-route-enter": "off",
|
|
85
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-watch-after-await.html
|
|
86
|
+
"vue/no-watch-after-await": "off",
|
|
87
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/prefer-import-from-vue.html
|
|
88
|
+
"vue/prefer-import-from-vue": "off",
|
|
89
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/prop-name-casing.html
|
|
90
|
+
"vue/prop-name-casing": "off",
|
|
91
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-default-export.html
|
|
92
|
+
"vue/require-default-export": "off",
|
|
93
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-default-prop.html
|
|
94
|
+
"vue/require-default-prop": "off",
|
|
95
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-direct-export.html
|
|
96
|
+
"vue/require-direct-export": "off",
|
|
97
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-prop-type-constructor.html
|
|
98
|
+
"vue/require-prop-type-constructor": "off",
|
|
99
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-prop-types.html
|
|
100
|
+
"vue/require-prop-types": "off",
|
|
101
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-render-return.html
|
|
102
|
+
"vue/require-render-return": "off",
|
|
103
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-slots-as-functions.html
|
|
104
|
+
"vue/require-slots-as-functions": "off",
|
|
105
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-typed-ref.html
|
|
106
|
+
"vue/require-typed-ref": "off",
|
|
107
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/return-in-computed-property.html
|
|
108
|
+
"vue/return-in-computed-property": "off",
|
|
109
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/return-in-emits-validator.html
|
|
110
|
+
"vue/return-in-emits-validator": "off",
|
|
111
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-emits.html
|
|
112
|
+
"vue/valid-define-emits": "off",
|
|
113
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-options.html
|
|
114
|
+
"vue/valid-define-options": "off",
|
|
115
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-props.html
|
|
116
|
+
"vue/valid-define-props": "off",
|
|
117
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-next-tick.html
|
|
118
|
+
"vue/valid-next-tick": "off"
|
|
119
|
+
};
|
|
120
|
+
var vue_default = {
|
|
121
|
+
plugins: ["vue"],
|
|
122
|
+
rules
|
|
123
|
+
};
|
package/dist/vue.d.cts
ADDED
package/dist/vue.d.ts
ADDED
package/dist/vue.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// src/vue.ts
|
|
2
|
+
var rules = {
|
|
3
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/component-definition-name-casing.html
|
|
4
|
+
"vue/component-definition-name-casing": "off",
|
|
5
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-emits-declaration.html
|
|
6
|
+
"vue/define-emits-declaration": "off",
|
|
7
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-props-declaration.html
|
|
8
|
+
"vue/define-props-declaration": "off",
|
|
9
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/define-props-destructuring.html
|
|
10
|
+
"vue/define-props-destructuring": "off",
|
|
11
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/max-props.html
|
|
12
|
+
"vue/max-props": "off",
|
|
13
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/next-tick-style.html
|
|
14
|
+
"vue/next-tick-style": "off",
|
|
15
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-arrow-functions-in-watch.html
|
|
16
|
+
"vue/no-arrow-functions-in-watch": "off",
|
|
17
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-async-in-computed-properties.html
|
|
18
|
+
"vue/no-async-in-computed-properties": "off",
|
|
19
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-computed-properties-in-data.html
|
|
20
|
+
"vue/no-computed-properties-in-data": "off",
|
|
21
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-data-object-declaration.html
|
|
22
|
+
"vue/no-deprecated-data-object-declaration": "off",
|
|
23
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-delete-set.html
|
|
24
|
+
"vue/no-deprecated-delete-set": "off",
|
|
25
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-destroyed-lifecycle.html
|
|
26
|
+
"vue/no-deprecated-destroyed-lifecycle": "off",
|
|
27
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-events-api.html
|
|
28
|
+
"vue/no-deprecated-events-api": "off",
|
|
29
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-model-definition.html
|
|
30
|
+
"vue/no-deprecated-model-definition": "off",
|
|
31
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-props-default-this.html
|
|
32
|
+
"vue/no-deprecated-props-default-this": "off",
|
|
33
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-deprecated-vue-config-keycodes.html
|
|
34
|
+
"vue/no-deprecated-vue-config-keycodes": "off",
|
|
35
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-dupe-keys.html
|
|
36
|
+
"vue/no-dupe-keys": "off",
|
|
37
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-export-in-script-setup.html
|
|
38
|
+
"vue/no-export-in-script-setup": "off",
|
|
39
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-expose-after-await.html
|
|
40
|
+
"vue/no-expose-after-await": "off",
|
|
41
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-import-compiler-macros.html
|
|
42
|
+
"vue/no-import-compiler-macros": "off",
|
|
43
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-lifecycle-after-await.html
|
|
44
|
+
"vue/no-lifecycle-after-await": "off",
|
|
45
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-multiple-slot-args.html
|
|
46
|
+
"vue/no-multiple-slot-args": "off",
|
|
47
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-required-prop-with-default.html
|
|
48
|
+
"vue/no-required-prop-with-default": "off",
|
|
49
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-component-names.html
|
|
50
|
+
"vue/no-reserved-component-names": "off",
|
|
51
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-keys.html
|
|
52
|
+
"vue/no-reserved-keys": "off",
|
|
53
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-reserved-props.html
|
|
54
|
+
"vue/no-reserved-props": "off",
|
|
55
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-shared-component-data.html
|
|
56
|
+
"vue/no-shared-component-data": "off",
|
|
57
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-side-effects-in-computed-properties.html
|
|
58
|
+
"vue/no-side-effects-in-computed-properties": "off",
|
|
59
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-this-in-before-route-enter.html
|
|
60
|
+
"vue/no-this-in-before-route-enter": "off",
|
|
61
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/no-watch-after-await.html
|
|
62
|
+
"vue/no-watch-after-await": "off",
|
|
63
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/prefer-import-from-vue.html
|
|
64
|
+
"vue/prefer-import-from-vue": "off",
|
|
65
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/prop-name-casing.html
|
|
66
|
+
"vue/prop-name-casing": "off",
|
|
67
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-default-export.html
|
|
68
|
+
"vue/require-default-export": "off",
|
|
69
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-default-prop.html
|
|
70
|
+
"vue/require-default-prop": "off",
|
|
71
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-direct-export.html
|
|
72
|
+
"vue/require-direct-export": "off",
|
|
73
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-prop-type-constructor.html
|
|
74
|
+
"vue/require-prop-type-constructor": "off",
|
|
75
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-prop-types.html
|
|
76
|
+
"vue/require-prop-types": "off",
|
|
77
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-render-return.html
|
|
78
|
+
"vue/require-render-return": "off",
|
|
79
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-slots-as-functions.html
|
|
80
|
+
"vue/require-slots-as-functions": "off",
|
|
81
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/require-typed-ref.html
|
|
82
|
+
"vue/require-typed-ref": "off",
|
|
83
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/return-in-computed-property.html
|
|
84
|
+
"vue/return-in-computed-property": "off",
|
|
85
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/return-in-emits-validator.html
|
|
86
|
+
"vue/return-in-emits-validator": "off",
|
|
87
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-emits.html
|
|
88
|
+
"vue/valid-define-emits": "off",
|
|
89
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-options.html
|
|
90
|
+
"vue/valid-define-options": "off",
|
|
91
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-props.html
|
|
92
|
+
"vue/valid-define-props": "off",
|
|
93
|
+
// https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-next-tick.html
|
|
94
|
+
"vue/valid-next-tick": "off"
|
|
95
|
+
};
|
|
96
|
+
var vue_default = {
|
|
97
|
+
plugins: ["vue"],
|
|
98
|
+
rules
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
vue_default as default
|
|
102
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mado/oxlint",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared Oxlint configuration",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"config",
|
|
7
|
+
"lint",
|
|
8
|
+
"oxc",
|
|
9
|
+
"oxlint"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/doinki/mado/tree/main/packages/oxlint#readme",
|
|
12
|
+
"bugs": "https://github.com/doinki/mado/issues",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "doinki",
|
|
16
|
+
"email": "doinki94@gmail.com",
|
|
17
|
+
"url": "https://github.com/doinki"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/doinki/mado.git",
|
|
22
|
+
"directory": "packages/oxlint"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"CHANGELOG.md"
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"main": "./dist/index.cjs",
|
|
31
|
+
"module": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./dist/index.d.cts",
|
|
41
|
+
"default": "./dist/index.cjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"./*": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/*.d.ts",
|
|
47
|
+
"default": "./dist/*.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/*.d.cts",
|
|
51
|
+
"default": "./dist/*.cjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./package.json": "./package.json"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"eslint-plugin-perfectionist": "^5.12.1",
|
|
61
|
+
"eslint-plugin-simple-import-sort": "^12.1.1"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"oxlint": "^1.88.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"oxlint": "^1.88.0"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": "^22.18.0 || >=24.0.0"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "tsup",
|
|
74
|
+
"crawl": "node scripts/crawl.js",
|
|
75
|
+
"generate": "node scripts/generate.js",
|
|
76
|
+
"publint": "publint",
|
|
77
|
+
"typecheck": "tsc --noEmit"
|
|
78
|
+
}
|
|
6
79
|
}
|