@mado/oxlint 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vitest.js CHANGED
@@ -1,156 +1 @@
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
- };
1
+ const rules={"vitest/consistent-each-for":"off","vitest/consistent-test-filename":"off","vitest/consistent-test-it":"off","vitest/consistent-vitest-vi":"off","vitest/expect-expect":"off","vitest/hoisted-apis-on-top":"off","vitest/max-expects":"off","vitest/max-nested-describe":"off","vitest/no-alias-methods":"off","vitest/no-commented-out-tests":"off","vitest/no-conditional-expect":"off","vitest/no-conditional-in-test":"off","vitest/no-conditional-tests":"off","vitest/no-disabled-tests":"off","vitest/no-duplicate-hooks":"off","vitest/no-focused-tests":"off","vitest/no-hooks":"off","vitest/no-identical-title":"off","vitest/no-import-node-test":"off","vitest/no-importing-vitest-globals":"off","vitest/no-interpolation-in-snapshots":"off","vitest/no-large-snapshots":"off","vitest/no-mocks-import":"off","vitest/no-restricted-matchers":"off","vitest/no-restricted-vi-methods":"off","vitest/no-standalone-expect":"off","vitest/no-test-prefixes":"off","vitest/no-test-return-statement":"off","vitest/no-unneeded-async-expect-function":"off","vitest/padding-around-after-all-blocks":"off","vitest/padding-around-test-blocks":"off","vitest/prefer-called-exactly-once-with":"off","vitest/prefer-called-once":"off","vitest/prefer-called-times":"off","vitest/prefer-called-with":"off","vitest/prefer-comparison-matcher":"off","vitest/prefer-describe-function-title":"off","vitest/prefer-each":"off","vitest/prefer-equality-matcher":"off","vitest/prefer-expect-assertions":"off","vitest/prefer-expect-resolves":"off","vitest/prefer-expect-type-of":"off","vitest/prefer-hooks-in-order":"off","vitest/prefer-hooks-on-top":"off","vitest/prefer-import-in-mock":"off","vitest/prefer-importing-vitest-globals":"off","vitest/prefer-lowercase-title":"off","vitest/prefer-mock-promise-shorthand":"off","vitest/prefer-mock-return-shorthand":"off","vitest/prefer-snapshot-hint":"off","vitest/prefer-spy-on":"off","vitest/prefer-strict-boolean-matchers":"off","vitest/prefer-strict-equal":"off","vitest/prefer-to-be":"off","vitest/prefer-to-be-falsy":"off","vitest/prefer-to-be-object":"off","vitest/prefer-to-be-truthy":"off","vitest/prefer-to-contain":"off","vitest/prefer-to-have-been-called-times":"off","vitest/prefer-to-have-length":"off","vitest/prefer-todo":"off","vitest/require-awaited-expect-poll":"off","vitest/require-hook":"off","vitest/require-local-test-context-for-concurrent-snapshots":"off","vitest/require-mock-type-parameters":"off","vitest/require-test-timeout":"off","vitest/require-to-throw-message":"off","vitest/require-top-level-describe":"off","vitest/valid-describe-callback":"off","vitest/valid-expect":"off","vitest/valid-expect-in-promise":"off","vitest/valid-title":"off","vitest/warn-todo":"off"};var vitest={plugins:["vitest"],rules:rules};export{vitest as default};
package/dist/vue.cjs CHANGED
@@ -1,123 +1 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/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
- };
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"vue/component-definition-name-casing":"off","vue/define-emits-declaration":"off","vue/define-props-declaration":"off","vue/define-props-destructuring":"off","vue/max-props":"off","vue/next-tick-style":"off","vue/no-arrow-functions-in-watch":"off","vue/no-async-in-computed-properties":"off","vue/no-computed-properties-in-data":"off","vue/no-deprecated-data-object-declaration":"off","vue/no-deprecated-delete-set":"off","vue/no-deprecated-destroyed-lifecycle":"off","vue/no-deprecated-events-api":"off","vue/no-deprecated-model-definition":"off","vue/no-deprecated-props-default-this":"off","vue/no-deprecated-vue-config-keycodes":"off","vue/no-dupe-keys":"off","vue/no-export-in-script-setup":"off","vue/no-expose-after-await":"off","vue/no-import-compiler-macros":"off","vue/no-lifecycle-after-await":"off","vue/no-multiple-slot-args":"off","vue/no-required-prop-with-default":"off","vue/no-reserved-component-names":"off","vue/no-reserved-keys":"off","vue/no-reserved-props":"off","vue/no-shared-component-data":"off","vue/no-side-effects-in-computed-properties":"off","vue/no-this-in-before-route-enter":"off","vue/no-watch-after-await":"off","vue/prefer-import-from-vue":"off","vue/prop-name-casing":"off","vue/require-default-export":"off","vue/require-default-prop":"off","vue/require-direct-export":"off","vue/require-prop-type-constructor":"off","vue/require-prop-types":"off","vue/require-render-return":"off","vue/require-slots-as-functions":"off","vue/require-typed-ref":"off","vue/return-in-computed-property":"off","vue/return-in-emits-validator":"off","vue/valid-define-emits":"off","vue/valid-define-options":"off","vue/valid-define-props":"off","vue/valid-next-tick":"off"};var vue={plugins:["vue"],rules:rules};exports.default=vue;
package/dist/vue.js CHANGED
@@ -1,102 +1 @@
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
- };
1
+ const rules={"vue/component-definition-name-casing":"off","vue/define-emits-declaration":"off","vue/define-props-declaration":"off","vue/define-props-destructuring":"off","vue/max-props":"off","vue/next-tick-style":"off","vue/no-arrow-functions-in-watch":"off","vue/no-async-in-computed-properties":"off","vue/no-computed-properties-in-data":"off","vue/no-deprecated-data-object-declaration":"off","vue/no-deprecated-delete-set":"off","vue/no-deprecated-destroyed-lifecycle":"off","vue/no-deprecated-events-api":"off","vue/no-deprecated-model-definition":"off","vue/no-deprecated-props-default-this":"off","vue/no-deprecated-vue-config-keycodes":"off","vue/no-dupe-keys":"off","vue/no-export-in-script-setup":"off","vue/no-expose-after-await":"off","vue/no-import-compiler-macros":"off","vue/no-lifecycle-after-await":"off","vue/no-multiple-slot-args":"off","vue/no-required-prop-with-default":"off","vue/no-reserved-component-names":"off","vue/no-reserved-keys":"off","vue/no-reserved-props":"off","vue/no-shared-component-data":"off","vue/no-side-effects-in-computed-properties":"off","vue/no-this-in-before-route-enter":"off","vue/no-watch-after-await":"off","vue/prefer-import-from-vue":"off","vue/prop-name-casing":"off","vue/require-default-export":"off","vue/require-default-prop":"off","vue/require-direct-export":"off","vue/require-prop-type-constructor":"off","vue/require-prop-types":"off","vue/require-render-return":"off","vue/require-slots-as-functions":"off","vue/require-typed-ref":"off","vue/return-in-computed-property":"off","vue/return-in-emits-validator":"off","vue/valid-define-emits":"off","vue/valid-define-options":"off","vue/valid-define-props":"off","vue/valid-next-tick":"off"};var vue={plugins:["vue"],rules:rules};export{vue as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mado/oxlint",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Shared Oxlint configuration",
5
5
  "keywords": [
6
6
  "config",
@@ -8,7 +8,7 @@
8
8
  "oxc",
9
9
  "oxlint"
10
10
  ],
11
- "homepage": "https://github.com/doinki/mado/tree/main/packages/oxlint#readme",
11
+ "homepage": "https://github.com/doinki/mado/tree/main/packages/mado-oxlint#readme",
12
12
  "bugs": "https://github.com/doinki/mado/issues",
13
13
  "license": "MIT",
14
14
  "author": {
@@ -19,7 +19,7 @@
19
19
  "repository": {
20
20
  "type": "git",
21
21
  "url": "git+https://github.com/doinki/mado.git",
22
- "directory": "packages/oxlint"
22
+ "directory": "packages/mado-oxlint"
23
23
  },
24
24
  "files": [
25
25
  "dist",
@@ -57,21 +57,22 @@
57
57
  "access": "public"
58
58
  },
59
59
  "dependencies": {
60
- "eslint-plugin-perfectionist": "^5.12.1",
60
+ "@babel/runtime": "^7.29.15",
61
+ "eslint-plugin-perfectionist": "^5.14.0",
61
62
  "eslint-plugin-simple-import-sort": "^14.0.0",
62
63
  "eslint-plugin-trim": "^1.0.3"
63
64
  },
64
65
  "devDependencies": {
65
- "oxlint": "^1.89.0"
66
+ "oxlint": "^1.94.0"
66
67
  },
67
68
  "peerDependencies": {
68
- "oxlint": "^1.88.0"
69
+ "oxlint": "^1.94.0"
69
70
  },
70
71
  "engines": {
71
72
  "node": "^22.18.0 || >=24.0.0"
72
73
  },
73
74
  "scripts": {
74
- "build": "tsup",
75
+ "build": "rimraf dist && rollup -c --environment NODE_ENV:production",
75
76
  "crawl": "node scripts/crawl.js",
76
77
  "generate": "node scripts/generate.js",
77
78
  "publint": "publint",