@pawover/eslint-rules 0.0.0-alpha.7 → 0.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ export default {
24
24
  "no-empty-character-class": 2,
25
25
  "no-empty-pattern": 2,
26
26
  "no-ex-assign": 2,
27
- "no-fallthrough": 2,
27
+ "no-fallthrough": 0,
28
28
  "no-func-assign": 2,
29
29
  "no-import-assign": 2,
30
30
  "no-inner-declarations": 2,
@@ -75,7 +75,7 @@ export default {
75
75
  "dot-notation": 0,
76
76
  "eqeqeq": 2,
77
77
  "func-name-matching": 2,
78
- "func-names": 2,
78
+ "func-names": 1,
79
79
  "func-style": 0,
80
80
  "grouped-accessor-pairs": [2, "getBeforeSet"],
81
81
  "guard-for-in": 2,
@@ -57,7 +57,7 @@ export default {
57
57
  "stylistic/line-comment-position": 0,
58
58
  "stylistic/linebreak-style": 0,
59
59
  "stylistic/lines-around-comment": 0,
60
- "stylistic/lines-between-class-members": 2,
60
+ "stylistic/lines-between-class-members": 0,
61
61
  "stylistic/max-len": 0,
62
62
  "stylistic/max-statements-per-line": 0,
63
63
  "stylistic/member-delimiter-style": 2,
@@ -81,7 +81,7 @@ export default {
81
81
  "stylistic/object-curly-spacing": [2, "always"],
82
82
  "stylistic/object-property-newline": [2, { allowAllPropertiesOnSameLine: true }],
83
83
  "stylistic/one-var-declaration-per-line": 2,
84
- "stylistic/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
84
+ "stylistic/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore", "|": "before" } }],
85
85
  "stylistic/padded-blocks": 0,
86
86
  "stylistic/padding-line-between-statements": [
87
87
  2,
@@ -97,10 +97,7 @@ export default {
97
97
  "stylistic/semi-spacing": 2,
98
98
  "stylistic/semi-style": 2,
99
99
  "stylistic/space-before-blocks": 2,
100
- "stylistic/space-before-function-paren": [
101
- 2,
102
- { anonymous: "never", named: "never", asyncArrow: "always", catch: "always" },
103
- ],
100
+ "stylistic/space-before-function-paren": [2, { anonymous: "always", named: "never", asyncArrow: "always", catch: "always" }],
104
101
  "stylistic/space-in-parens": 2,
105
102
  "stylistic/space-infix-ops": 2,
106
103
  "stylistic/space-unary-ops": 2,
@@ -37,7 +37,7 @@ export default {
37
37
  "ts/default-param-last": 2,
38
38
  "ts/dot-notation": 0,
39
39
  "ts/explicit-function-return-type": 0,
40
- "ts/explicit-member-accessibility": 2,
40
+ "ts/explicit-member-accessibility": 0,
41
41
  "ts/explicit-module-boundary-types": 0,
42
42
  "ts/init-declarations": 0,
43
43
  "ts/max-params": 0,
@@ -63,7 +63,7 @@ export default {
63
63
  "ts/no-for-in-array": 0,
64
64
  "ts/no-implied-eval": 2,
65
65
  "ts/no-import-type-side-effects": 2,
66
- "ts/no-inferrable-types": 2,
66
+ "ts/no-inferrable-types": [2, { ignoreParameters: true, ignoreProperties: true }],
67
67
  "ts/no-invalid-void-type": 2,
68
68
  "ts/no-loop-func": 0,
69
69
  "ts/no-magic-numbers": 0,
@@ -115,7 +115,7 @@ export default {
115
115
  "ts/prefer-destructuring": 0,
116
116
  "ts/prefer-enum-initializers": 0,
117
117
  "ts/prefer-find": 2,
118
- "ts/prefer-for-of": 2,
118
+ "ts/prefer-for-of": 0,
119
119
  "ts/prefer-function-type": 2,
120
120
  "ts/prefer-includes": 0,
121
121
  "ts/prefer-literal-enum-member": 0,
package/dist/core.vue.js CHANGED
@@ -1,14 +1,256 @@
1
+ import preset from "./preset.js";
1
2
  export default {
3
+ // Base Rules
4
+ "vue/comment-directive": 2,
5
+ "vue/jsx-uses-vars": 2,
6
+ // Priority A: Essential
7
+ "vue/multi-word-component-names": 0,
8
+ "vue/no-arrow-functions-in-watch": 2,
9
+ "vue/no-async-in-computed-properties": 2,
10
+ "vue/no-child-content": 2,
11
+ "vue/no-computed-properties-in-data": 2,
12
+ "vue/no-dupe-keys": 2,
13
+ "vue/no-dupe-v-else-if": 2,
14
+ "vue/no-duplicate-attributes": 2,
15
+ "vue/no-export-in-script-setup": 2,
16
+ "vue/no-mutating-props": 2,
17
+ "vue/no-parsing-error": 2,
18
+ "vue/no-ref-as-operand": 2,
19
+ "vue/no-reserved-component-names": 2,
20
+ "vue/no-reserved-keys": 2,
21
+ "vue/no-reserved-props": 2,
22
+ "vue/no-shared-component-data": 2,
23
+ "vue/no-side-effects-in-computed-properties": 2,
24
+ "vue/no-template-key": 2,
25
+ "vue/no-textarea-mustache": 2,
26
+ "vue/no-unused-components": 2,
27
+ "vue/no-unused-vars": 2,
28
+ "vue/no-use-computed-property-like-method": 2,
29
+ "vue/no-use-v-if-with-v-for": 2,
30
+ "vue/no-useless-template-attributes": 2,
31
+ "vue/no-v-text-v-html-on-component": 2,
32
+ "vue/require-component-is": 2,
33
+ "vue/require-prop-type-constructor": 2,
34
+ "vue/require-render-return": 2,
35
+ "vue/require-v-for-key": 2,
36
+ "vue/require-valid-default-prop": 2,
37
+ "vue/return-in-computed-property": 2,
38
+ "vue/return-in-emits-validator": 2,
39
+ "vue/use-v-on-exact": 2,
40
+ "vue/valid-attribute-name": 2,
41
+ "vue/valid-define-emits": 2,
42
+ "vue/valid-define-props": 2,
43
+ "vue/valid-next-tick": 2,
44
+ "vue/valid-template-root": 2,
45
+ "vue/valid-v-bind": 2,
46
+ "vue/valid-v-cloak": 2,
47
+ "vue/valid-v-else-if": 2,
48
+ "vue/valid-v-else": 2,
49
+ "vue/valid-v-for": 2,
50
+ "vue/valid-v-html": 2,
51
+ "vue/valid-v-if": 2,
52
+ "vue/valid-v-model": 2,
53
+ "vue/valid-v-on": 2,
54
+ "vue/valid-v-once": 2,
55
+ "vue/valid-v-pre": 2,
56
+ "vue/valid-v-show": 2,
57
+ "vue/valid-v-slot": 2,
58
+ "vue/valid-v-text": 2,
59
+ // Priority A: Essential for Vue.js 3.x
60
+ "vue/no-deprecated-data-object-declaration": 2,
61
+ "vue/no-deprecated-delete-set": 2,
62
+ "vue/no-deprecated-destroyed-lifecycle": 2,
63
+ "vue/no-deprecated-dollar-listeners-api": 2,
64
+ "vue/no-deprecated-dollar-scopedslots-api": 2,
65
+ "vue/no-deprecated-events-api": 2,
66
+ "vue/no-deprecated-filter": 2,
67
+ "vue/no-deprecated-functional-template": 2,
68
+ "vue/no-deprecated-html-element-is": 2,
69
+ "vue/no-deprecated-inline-template": 2,
70
+ "vue/no-deprecated-model-definition": 2,
71
+ "vue/no-deprecated-props-default-this": 2,
72
+ "vue/no-deprecated-router-link-tag-prop": 2,
73
+ "vue/no-deprecated-scope-attribute": 2,
74
+ "vue/no-deprecated-slot-attribute": 2,
75
+ "vue/no-deprecated-slot-scope-attribute": 2,
76
+ "vue/no-deprecated-v-bind-sync": 2,
77
+ "vue/no-deprecated-v-is": 2,
78
+ "vue/no-deprecated-v-on-native-modifier": 2,
79
+ "vue/no-deprecated-v-on-number-modifiers": 2,
80
+ "vue/no-deprecated-vue-config-keycodes": 2,
81
+ "vue/no-expose-after-await": 2,
82
+ "vue/no-lifecycle-after-await": 2,
83
+ "vue/no-v-for-template-key-on-child": 2,
84
+ "vue/no-watch-after-await": 2,
85
+ "vue/prefer-import-from-vue": 2,
86
+ "vue/require-slots-as-functions": 2,
87
+ "vue/require-toggle-inside-transition": 2,
88
+ "vue/valid-define-options": 2,
89
+ "vue/valid-v-is": 2,
90
+ "vue/valid-v-memo": 2,
91
+ // Priority A: Essential for Vue.js 2.x
92
+ "vue/no-custom-modifiers-on-v-model": 2,
93
+ "vue/no-multiple-template-root": 0,
94
+ // Priority B: Strongly Recommended
2
95
  "vue/attribute-hyphenation": [2, "never", { ignore: [] }],
96
+ "vue/component-definition-name-casing": 2,
3
97
  "vue/first-attribute-linebreak": [2, { singleline: "beside", multiline: "below" }],
4
- "vue/multi-word-component-names": 0,
98
+ "vue/html-closing-bracket-newline": 2,
99
+ "vue/html-closing-bracket-spacing": 2,
100
+ "vue/html-end-tags": 2,
101
+ "vue/html-indent": 2,
102
+ "vue/html-quotes": 2,
5
103
  "vue/html-self-closing": [2, { html: { void: "always", normal: "always", component: "always" }, svg: "always", math: "always" }],
6
- "vue/script-indent": [2, 2, { baseIndent: 0, switchCase: 1, ignores: [] }],
7
- "vue/block-order": [2, { order: ["script:not([setup])", "script[setup]", "template", "style:not([scoped])", "style[scoped]"] }],
104
+ "vue/max-attributes-per-line": 2,
105
+ "vue/multiline-html-element-content-newline": 2,
106
+ "vue/mustache-interpolation-spacing": 2,
107
+ "vue/no-multi-spaces": 2,
108
+ "vue/no-spaces-around-equal-signs-in-attribute": 2,
109
+ "vue/no-template-shadow": 2,
110
+ "vue/one-component-per-file": 2,
111
+ "vue/prop-name-casing": 2,
112
+ "vue/require-default-prop": 0,
113
+ "vue/require-prop-types": 2,
114
+ "vue/singleline-html-element-content-newline": 2,
115
+ "vue/v-bind-style": 2,
116
+ "vue/v-on-style": 2,
117
+ "vue/v-slot-style": 2,
118
+ // Priority B: Strongly Recommended for Vue.js 3.x
119
+ "vue/require-explicit-emits": 2,
120
+ "vue/v-on-event-hyphenation": [2, "never", { autofix: true }],
121
+ // Priority C: Recommended
122
+ "vue/attributes-order": 2,
123
+ "vue/block-order": [2, { order: ["script:not([setup])", "script[setup]", "template", "style[scoped]", "style:not([scoped])"] }],
124
+ "vue/no-lone-template": 2,
125
+ "vue/no-multiple-slot-args": 2,
126
+ "vue/no-required-prop-with-default": 2,
127
+ "vue/no-v-html": 0,
128
+ "vue/order-in-components": 2,
129
+ "vue/this-in-template": 2,
130
+ // Uncategorised
131
+ "vue/block-lang": 0,
132
+ "vue/block-tag-newline": 2,
133
+ "vue/component-api-style": 2,
8
134
  "vue/component-name-in-template-casing": [2, "PascalCase", { registeredComponentsOnly: false }],
9
135
  "vue/component-options-name-casing": [2, "PascalCase"],
10
136
  "vue/custom-event-name-casing": [2, "camelCase", { ignores: [] }],
11
- "vue/define-macros-order": [2, { order: ["defineOptions", "defineProps", "defineEmits"], defineExposeLast: false }],
12
- "vue/v-on-event-hyphenation": [2, "never", { autofix: true }],
13
- "vue/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
137
+ "vue/define-emits-declaration": 0,
138
+ "vue/define-macros-order": [2, { order: ["defineOptions", "defineProps", "defineSlots", "defineEmits"], defineExposeLast: false }],
139
+ "vue/define-props-declaration": 0,
140
+ "vue/define-props-destructuring": 0,
141
+ "vue/enforce-style-attribute": 0,
142
+ "vue/html-button-has-type": 0,
143
+ "vue/html-comment-content-newline": 2,
144
+ "vue/html-comment-content-spacing": 2,
145
+ "vue/html-comment-indent": 2,
146
+ "vue/match-component-file-name": 0,
147
+ "vue/match-component-import-name": 2,
148
+ "vue/max-lines-per-block": 2,
149
+ "vue/max-props": 0,
150
+ "vue/max-template-depth": 0,
151
+ "vue/new-line-between-multi-line-property": 0,
152
+ "vue/next-tick-style": 0,
153
+ "vue/no-bare-strings-in-template": 0,
154
+ "vue/no-boolean-default": 0,
155
+ "vue/no-duplicate-attr-inheritance": 2,
156
+ "vue/no-duplicate-class-names": 2,
157
+ "vue/no-empty-component-block": 2,
158
+ "vue/no-import-compiler-macros": 0,
159
+ "vue/no-multiple-objects-in-class": 0,
160
+ "vue/no-negated-v-if-condition": 0,
161
+ "vue/no-potential-component-option-typo": 0,
162
+ "vue/no-ref-object-reactivity-loss": 0,
163
+ "vue/no-restricted-block": 0,
164
+ "vue/no-restricted-call-after-await": 0,
165
+ "vue/no-restricted-class": 0,
166
+ "vue/no-restricted-component-names": 0,
167
+ "vue/no-restricted-component-options": 0,
168
+ "vue/no-restricted-custom-event": 0,
169
+ "vue/no-restricted-html-elements": 0,
170
+ "vue/no-restricted-props": 0,
171
+ "vue/no-restricted-static-attribute": 0,
172
+ "vue/no-restricted-v-bind": 0,
173
+ "vue/no-restricted-v-on": 0,
174
+ "vue/no-root-v-if": 0,
175
+ "vue/no-setup-props-reactivity-loss": 0,
176
+ "vue/no-static-inline-styles": 0,
177
+ "vue/no-template-target-blank": 0,
178
+ "vue/no-this-in-before-route-enter": 2,
179
+ "vue/no-undef-components": 0,
180
+ "vue/no-undef-properties": 0,
181
+ "vue/no-unsupported-features": 0,
182
+ "vue/no-unused-emit-declarations": 0,
183
+ "vue/no-unused-properties": 1,
184
+ "vue/no-unused-refs": 2,
185
+ "vue/no-use-v-else-with-v-for": 0,
186
+ "vue/no-useless-mustaches": 2,
187
+ "vue/no-useless-v-bind": 2,
188
+ "vue/no-v-text": 0,
189
+ "vue/padding-line-between-blocks": 2,
190
+ "vue/padding-line-between-tags": 0,
191
+ "vue/padding-lines-in-component-definition": 0,
192
+ "vue/prefer-define-options": 2,
193
+ "vue/prefer-prop-type-boolean-first": 2,
194
+ "vue/prefer-separate-static-class": 0,
195
+ "vue/prefer-true-attribute-shorthand": 0,
196
+ "vue/prefer-use-template-ref": 2,
197
+ "vue/require-default-export": 2,
198
+ "vue/require-direct-export": 2,
199
+ "vue/require-emit-validator": 0,
200
+ "vue/require-explicit-slots": 2,
201
+ "vue/require-expose": 2,
202
+ "vue/require-macro-variable-name": [2, { defineProps: "props", defineEmits: "emits", defineSlots: "slots", useSlots: "slots", useAttrs: "attrs" }],
203
+ "vue/require-name-property": 0,
204
+ "vue/require-prop-comment": 0,
205
+ "vue/require-typed-object-prop": 0,
206
+ "vue/require-typed-ref": 2,
207
+ "vue/restricted-component-names": 0,
208
+ "vue/script-indent": [0, preset.indent, { baseIndent: 0, switchCase: 1, ignores: [] }],
209
+ "vue/slot-name-casing": 2,
210
+ "vue/sort-keys": 0,
211
+ "vue/static-class-names-order": 0,
212
+ "vue/v-for-delimiter-style": 0,
213
+ "vue/v-if-else-key": 0,
214
+ "vue/v-on-handler-style": 0,
215
+ // Extension Rules
216
+ "vue/array-bracket-newline": [2, "consistent"],
217
+ "vue/array-bracket-spacing": 2,
218
+ "vue/array-element-newline": [2, "consistent"],
219
+ "vue/arrow-spacing": 2,
220
+ "vue/block-spacing": 2,
221
+ "vue/brace-style": 2,
222
+ "vue/camelcase": 0,
223
+ "vue/comma-dangle": [2, "always-multiline"],
224
+ "vue/comma-spacing": 2,
225
+ "vue/comma-style": 2,
226
+ "vue/dot-location": 0,
227
+ "vue/dot-notation": 0,
228
+ "vue/eqeqeq": 2,
229
+ "vue/func-call-spacing": 2,
230
+ "vue/key-spacing": 2,
231
+ "vue/keyword-spacing": 2,
232
+ "vue/max-len": 0,
233
+ "vue/multiline-ternary": [2, "always-multiline"],
234
+ "vue/no-console": 0,
235
+ "vue/no-constant-condition": 2,
236
+ "vue/no-empty-pattern": 2,
237
+ "vue/no-extra-parens": 0,
238
+ "vue/no-implicit-coercion": [2, { allow: ["!!"] }],
239
+ "vue/no-irregular-whitespace": 2,
240
+ "vue/no-loss-of-precision": 2,
241
+ "vue/no-negated-condition": 0,
242
+ "vue/no-restricted-syntax": 0,
243
+ "vue/no-sparse-arrays": 2,
244
+ "vue/no-useless-concat": 0,
245
+ "vue/object-curly-newline": 2,
246
+ "vue/object-curly-spacing": [2, "always"],
247
+ "vue/object-property-newline": [2, { allowAllPropertiesOnSameLine: true }],
248
+ "vue/object-shorthand": 0,
249
+ "vue/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore", "|": "before" } }],
250
+ "vue/prefer-template": 0,
251
+ "vue/quote-props": [2, "consistent-as-needed"],
252
+ "vue/space-in-parens": 2,
253
+ "vue/space-infix-ops": 2,
254
+ "vue/space-unary-ops": 2,
255
+ "vue/template-curly-spacing": 2,
14
256
  };
@@ -12,3 +12,4 @@ declare const _default: {
12
12
  "antfu/top-level-function": number;
13
13
  };
14
14
  export default _default;
15
+ //# sourceMappingURL=core.antfu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.antfu.d.ts","sourceRoot":"","sources":["../../src/core.antfu.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,wBAYE"}
@@ -230,3 +230,4 @@ declare const _default: {
230
230
  })[];
231
231
  };
232
232
  export default _default;
233
+ //# sourceMappingURL=core.javascript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.javascript.d.ts","sourceRoot":"","sources":["../../src/core.javascript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwME"}
@@ -90,3 +90,4 @@ declare const _default: {
90
90
  "react-naming-convention/use-state": number;
91
91
  };
92
92
  export default _default;
93
+ //# sourceMappingURL=core.react.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA0FE"}
@@ -93,6 +93,7 @@ declare const _default: {
93
93
  overrides: {
94
94
  "?": string;
95
95
  ":": string;
96
+ "|": string;
96
97
  };
97
98
  })[];
98
99
  "stylistic/padded-blocks": number;
@@ -129,3 +130,4 @@ declare const _default: {
129
130
  "stylistic/yield-star-spacing": number;
130
131
  };
131
132
  export default _default;
133
+ //# sourceMappingURL=core.stylistic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.stylistic.d.ts","sourceRoot":"","sources":["../../src/core.stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAgHE"}
@@ -74,7 +74,10 @@ declare const _default: {
74
74
  "ts/no-for-in-array": number;
75
75
  "ts/no-implied-eval": number;
76
76
  "ts/no-import-type-side-effects": number;
77
- "ts/no-inferrable-types": number;
77
+ "ts/no-inferrable-types": (number | {
78
+ ignoreParameters: boolean;
79
+ ignoreProperties: boolean;
80
+ })[];
78
81
  "ts/no-invalid-void-type": number;
79
82
  "ts/no-loop-func": number;
80
83
  "ts/no-magic-numbers": number;
@@ -189,3 +192,4 @@ declare const _default: {
189
192
  "ts/use-unknown-in-catch-callback-variable": number;
190
193
  };
191
194
  export default _default;
195
+ //# sourceMappingURL=core.typescript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.typescript.d.ts","sourceRoot":"","sources":["../../src/core.typescript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAiJE"}
@@ -1,12 +1,104 @@
1
1
  declare const _default: {
2
+ "vue/comment-directive": number;
3
+ "vue/jsx-uses-vars": number;
4
+ "vue/multi-word-component-names": number;
5
+ "vue/no-arrow-functions-in-watch": number;
6
+ "vue/no-async-in-computed-properties": number;
7
+ "vue/no-child-content": number;
8
+ "vue/no-computed-properties-in-data": number;
9
+ "vue/no-dupe-keys": number;
10
+ "vue/no-dupe-v-else-if": number;
11
+ "vue/no-duplicate-attributes": number;
12
+ "vue/no-export-in-script-setup": number;
13
+ "vue/no-mutating-props": number;
14
+ "vue/no-parsing-error": number;
15
+ "vue/no-ref-as-operand": number;
16
+ "vue/no-reserved-component-names": number;
17
+ "vue/no-reserved-keys": number;
18
+ "vue/no-reserved-props": number;
19
+ "vue/no-shared-component-data": number;
20
+ "vue/no-side-effects-in-computed-properties": number;
21
+ "vue/no-template-key": number;
22
+ "vue/no-textarea-mustache": number;
23
+ "vue/no-unused-components": number;
24
+ "vue/no-unused-vars": number;
25
+ "vue/no-use-computed-property-like-method": number;
26
+ "vue/no-use-v-if-with-v-for": number;
27
+ "vue/no-useless-template-attributes": number;
28
+ "vue/no-v-text-v-html-on-component": number;
29
+ "vue/require-component-is": number;
30
+ "vue/require-prop-type-constructor": number;
31
+ "vue/require-render-return": number;
32
+ "vue/require-v-for-key": number;
33
+ "vue/require-valid-default-prop": number;
34
+ "vue/return-in-computed-property": number;
35
+ "vue/return-in-emits-validator": number;
36
+ "vue/use-v-on-exact": number;
37
+ "vue/valid-attribute-name": number;
38
+ "vue/valid-define-emits": number;
39
+ "vue/valid-define-props": number;
40
+ "vue/valid-next-tick": number;
41
+ "vue/valid-template-root": number;
42
+ "vue/valid-v-bind": number;
43
+ "vue/valid-v-cloak": number;
44
+ "vue/valid-v-else-if": number;
45
+ "vue/valid-v-else": number;
46
+ "vue/valid-v-for": number;
47
+ "vue/valid-v-html": number;
48
+ "vue/valid-v-if": number;
49
+ "vue/valid-v-model": number;
50
+ "vue/valid-v-on": number;
51
+ "vue/valid-v-once": number;
52
+ "vue/valid-v-pre": number;
53
+ "vue/valid-v-show": number;
54
+ "vue/valid-v-slot": number;
55
+ "vue/valid-v-text": number;
56
+ "vue/no-deprecated-data-object-declaration": number;
57
+ "vue/no-deprecated-delete-set": number;
58
+ "vue/no-deprecated-destroyed-lifecycle": number;
59
+ "vue/no-deprecated-dollar-listeners-api": number;
60
+ "vue/no-deprecated-dollar-scopedslots-api": number;
61
+ "vue/no-deprecated-events-api": number;
62
+ "vue/no-deprecated-filter": number;
63
+ "vue/no-deprecated-functional-template": number;
64
+ "vue/no-deprecated-html-element-is": number;
65
+ "vue/no-deprecated-inline-template": number;
66
+ "vue/no-deprecated-model-definition": number;
67
+ "vue/no-deprecated-props-default-this": number;
68
+ "vue/no-deprecated-router-link-tag-prop": number;
69
+ "vue/no-deprecated-scope-attribute": number;
70
+ "vue/no-deprecated-slot-attribute": number;
71
+ "vue/no-deprecated-slot-scope-attribute": number;
72
+ "vue/no-deprecated-v-bind-sync": number;
73
+ "vue/no-deprecated-v-is": number;
74
+ "vue/no-deprecated-v-on-native-modifier": number;
75
+ "vue/no-deprecated-v-on-number-modifiers": number;
76
+ "vue/no-deprecated-vue-config-keycodes": number;
77
+ "vue/no-expose-after-await": number;
78
+ "vue/no-lifecycle-after-await": number;
79
+ "vue/no-v-for-template-key-on-child": number;
80
+ "vue/no-watch-after-await": number;
81
+ "vue/prefer-import-from-vue": number;
82
+ "vue/require-slots-as-functions": number;
83
+ "vue/require-toggle-inside-transition": number;
84
+ "vue/valid-define-options": number;
85
+ "vue/valid-v-is": number;
86
+ "vue/valid-v-memo": number;
87
+ "vue/no-custom-modifiers-on-v-model": number;
88
+ "vue/no-multiple-template-root": number;
2
89
  "vue/attribute-hyphenation": (string | number | {
3
90
  ignore: never[];
4
91
  })[];
92
+ "vue/component-definition-name-casing": number;
5
93
  "vue/first-attribute-linebreak": (number | {
6
94
  singleline: string;
7
95
  multiline: string;
8
96
  })[];
9
- "vue/multi-word-component-names": number;
97
+ "vue/html-closing-bracket-newline": number;
98
+ "vue/html-closing-bracket-spacing": number;
99
+ "vue/html-end-tags": number;
100
+ "vue/html-indent": number;
101
+ "vue/html-quotes": number;
10
102
  "vue/html-self-closing": (number | {
11
103
  html: {
12
104
  void: string;
@@ -16,14 +108,37 @@ declare const _default: {
16
108
  svg: string;
17
109
  math: string;
18
110
  })[];
19
- "vue/script-indent": (number | {
20
- baseIndent: number;
21
- switchCase: number;
22
- ignores: never[];
111
+ "vue/max-attributes-per-line": number;
112
+ "vue/multiline-html-element-content-newline": number;
113
+ "vue/mustache-interpolation-spacing": number;
114
+ "vue/no-multi-spaces": number;
115
+ "vue/no-spaces-around-equal-signs-in-attribute": number;
116
+ "vue/no-template-shadow": number;
117
+ "vue/one-component-per-file": number;
118
+ "vue/prop-name-casing": number;
119
+ "vue/require-default-prop": number;
120
+ "vue/require-prop-types": number;
121
+ "vue/singleline-html-element-content-newline": number;
122
+ "vue/v-bind-style": number;
123
+ "vue/v-on-style": number;
124
+ "vue/v-slot-style": number;
125
+ "vue/require-explicit-emits": number;
126
+ "vue/v-on-event-hyphenation": (string | number | {
127
+ autofix: boolean;
23
128
  })[];
129
+ "vue/attributes-order": number;
24
130
  "vue/block-order": (number | {
25
131
  order: string[];
26
132
  })[];
133
+ "vue/no-lone-template": number;
134
+ "vue/no-multiple-slot-args": number;
135
+ "vue/no-required-prop-with-default": number;
136
+ "vue/no-v-html": number;
137
+ "vue/order-in-components": number;
138
+ "vue/this-in-template": number;
139
+ "vue/block-lang": number;
140
+ "vue/block-tag-newline": number;
141
+ "vue/component-api-style": number;
27
142
  "vue/component-name-in-template-casing": (string | number | {
28
143
  registeredComponentsOnly: boolean;
29
144
  })[];
@@ -31,18 +146,147 @@ declare const _default: {
31
146
  "vue/custom-event-name-casing": (string | number | {
32
147
  ignores: never[];
33
148
  })[];
149
+ "vue/define-emits-declaration": number;
34
150
  "vue/define-macros-order": (number | {
35
151
  order: string[];
36
152
  defineExposeLast: boolean;
37
153
  })[];
38
- "vue/v-on-event-hyphenation": (string | number | {
39
- autofix: boolean;
154
+ "vue/define-props-declaration": number;
155
+ "vue/define-props-destructuring": number;
156
+ "vue/enforce-style-attribute": number;
157
+ "vue/html-button-has-type": number;
158
+ "vue/html-comment-content-newline": number;
159
+ "vue/html-comment-content-spacing": number;
160
+ "vue/html-comment-indent": number;
161
+ "vue/match-component-file-name": number;
162
+ "vue/match-component-import-name": number;
163
+ "vue/max-lines-per-block": number;
164
+ "vue/max-props": number;
165
+ "vue/max-template-depth": number;
166
+ "vue/new-line-between-multi-line-property": number;
167
+ "vue/next-tick-style": number;
168
+ "vue/no-bare-strings-in-template": number;
169
+ "vue/no-boolean-default": number;
170
+ "vue/no-duplicate-attr-inheritance": number;
171
+ "vue/no-duplicate-class-names": number;
172
+ "vue/no-empty-component-block": number;
173
+ "vue/no-import-compiler-macros": number;
174
+ "vue/no-multiple-objects-in-class": number;
175
+ "vue/no-negated-v-if-condition": number;
176
+ "vue/no-potential-component-option-typo": number;
177
+ "vue/no-ref-object-reactivity-loss": number;
178
+ "vue/no-restricted-block": number;
179
+ "vue/no-restricted-call-after-await": number;
180
+ "vue/no-restricted-class": number;
181
+ "vue/no-restricted-component-names": number;
182
+ "vue/no-restricted-component-options": number;
183
+ "vue/no-restricted-custom-event": number;
184
+ "vue/no-restricted-html-elements": number;
185
+ "vue/no-restricted-props": number;
186
+ "vue/no-restricted-static-attribute": number;
187
+ "vue/no-restricted-v-bind": number;
188
+ "vue/no-restricted-v-on": number;
189
+ "vue/no-root-v-if": number;
190
+ "vue/no-setup-props-reactivity-loss": number;
191
+ "vue/no-static-inline-styles": number;
192
+ "vue/no-template-target-blank": number;
193
+ "vue/no-this-in-before-route-enter": number;
194
+ "vue/no-undef-components": number;
195
+ "vue/no-undef-properties": number;
196
+ "vue/no-unsupported-features": number;
197
+ "vue/no-unused-emit-declarations": number;
198
+ "vue/no-unused-properties": number;
199
+ "vue/no-unused-refs": number;
200
+ "vue/no-use-v-else-with-v-for": number;
201
+ "vue/no-useless-mustaches": number;
202
+ "vue/no-useless-v-bind": number;
203
+ "vue/no-v-text": number;
204
+ "vue/padding-line-between-blocks": number;
205
+ "vue/padding-line-between-tags": number;
206
+ "vue/padding-lines-in-component-definition": number;
207
+ "vue/prefer-define-options": number;
208
+ "vue/prefer-prop-type-boolean-first": number;
209
+ "vue/prefer-separate-static-class": number;
210
+ "vue/prefer-true-attribute-shorthand": number;
211
+ "vue/prefer-use-template-ref": number;
212
+ "vue/require-default-export": number;
213
+ "vue/require-direct-export": number;
214
+ "vue/require-emit-validator": number;
215
+ "vue/require-explicit-slots": number;
216
+ "vue/require-expose": number;
217
+ "vue/require-macro-variable-name": (number | {
218
+ defineProps: string;
219
+ defineEmits: string;
220
+ defineSlots: string;
221
+ useSlots: string;
222
+ useAttrs: string;
223
+ })[];
224
+ "vue/require-name-property": number;
225
+ "vue/require-prop-comment": number;
226
+ "vue/require-typed-object-prop": number;
227
+ "vue/require-typed-ref": number;
228
+ "vue/restricted-component-names": number;
229
+ "vue/script-indent": (number | {
230
+ baseIndent: number;
231
+ switchCase: number;
232
+ ignores: never[];
233
+ })[];
234
+ "vue/slot-name-casing": number;
235
+ "vue/sort-keys": number;
236
+ "vue/static-class-names-order": number;
237
+ "vue/v-for-delimiter-style": number;
238
+ "vue/v-if-else-key": number;
239
+ "vue/v-on-handler-style": number;
240
+ "vue/array-bracket-newline": (string | number)[];
241
+ "vue/array-bracket-spacing": number;
242
+ "vue/array-element-newline": (string | number)[];
243
+ "vue/arrow-spacing": number;
244
+ "vue/block-spacing": number;
245
+ "vue/brace-style": number;
246
+ "vue/camelcase": number;
247
+ "vue/comma-dangle": (string | number)[];
248
+ "vue/comma-spacing": number;
249
+ "vue/comma-style": number;
250
+ "vue/dot-location": number;
251
+ "vue/dot-notation": number;
252
+ "vue/eqeqeq": number;
253
+ "vue/func-call-spacing": number;
254
+ "vue/key-spacing": number;
255
+ "vue/keyword-spacing": number;
256
+ "vue/max-len": number;
257
+ "vue/multiline-ternary": (string | number)[];
258
+ "vue/no-console": number;
259
+ "vue/no-constant-condition": number;
260
+ "vue/no-empty-pattern": number;
261
+ "vue/no-extra-parens": number;
262
+ "vue/no-implicit-coercion": (number | {
263
+ allow: string[];
264
+ })[];
265
+ "vue/no-irregular-whitespace": number;
266
+ "vue/no-loss-of-precision": number;
267
+ "vue/no-negated-condition": number;
268
+ "vue/no-restricted-syntax": number;
269
+ "vue/no-sparse-arrays": number;
270
+ "vue/no-useless-concat": number;
271
+ "vue/object-curly-newline": number;
272
+ "vue/object-curly-spacing": (string | number)[];
273
+ "vue/object-property-newline": (number | {
274
+ allowAllPropertiesOnSameLine: boolean;
40
275
  })[];
276
+ "vue/object-shorthand": number;
41
277
  "vue/operator-linebreak": (string | number | {
42
278
  overrides: {
43
279
  "?": string;
44
280
  ":": string;
281
+ "|": string;
45
282
  };
46
283
  })[];
284
+ "vue/prefer-template": number;
285
+ "vue/quote-props": (string | number)[];
286
+ "vue/space-in-parens": number;
287
+ "vue/space-infix-ops": number;
288
+ "vue/space-unary-ops": number;
289
+ "vue/template-curly-spacing": number;
47
290
  };
48
291
  export default _default;
292
+ //# sourceMappingURL=core.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.vue.d.ts","sourceRoot":"","sources":["../../src/core.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAuQE"}
@@ -6,8 +6,9 @@ declare const _default: {
6
6
  javascript: Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig>;
7
7
  typescript: Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig>;
8
8
  react: Record<"react/jsx-key-before-spread" | "react/jsx-no-comment-textnodes" | "react/jsx-no-duplicate-props" | "react/jsx-no-iife" | "react/jsx-no-undef" | "react/jsx-shorthand-boolean" | "react/jsx-shorthand-fragment" | "react/jsx-uses-react" | "react/jsx-uses-vars" | "react/no-access-state-in-setstate" | "react/no-array-index-key" | "react/no-children-count" | "react/no-children-for-each" | "react/no-children-map" | "react/no-children-only" | "react/no-children-prop" | "react/no-children-to-array" | "react/no-class-component" | "react/no-clone-element" | "react/no-component-will-mount" | "react/no-component-will-receive-props" | "react/no-component-will-update" | "react/no-context-provider" | "react/no-create-ref" | "react/no-default-props" | "react/no-direct-mutation-state" | "react/no-duplicate-key" | "react/no-forward-ref" | "react/no-implicit-key" | "react/no-leaked-conditional-rendering" | "react/no-missing-component-display-name" | "react/no-missing-context-display-name" | "react/no-missing-key" | "react/no-misused-capture-owner-stack" | "react/no-nested-component-definitions" | "react/no-nested-lazy-component-declarations" | "react/no-prop-types" | "react/no-redundant-should-component-update" | "react/no-set-state-in-component-did-mount" | "react/no-set-state-in-component-did-update" | "react/no-set-state-in-component-will-update" | "react/no-string-refs" | "react/no-unnecessary-key" | "react/no-unnecessary-use-callback" | "react/no-unnecessary-use-memo" | "react/no-unnecessary-use-prefix" | "react/no-unsafe-component-will-mount" | "react/no-unsafe-component-will-receive-props" | "react/no-unsafe-component-will-update" | "react/no-unstable-context-value" | "react/no-unstable-default-props" | "react/no-unused-class-component-members" | "react/no-unused-props" | "react/no-unused-state" | "react/no-use-context" | "react/no-useless-forward-ref" | "react/no-useless-fragment" | "react/prefer-destructuring-assignment" | "react/prefer-namespace-import" | "react/prefer-read-only-props" | "react/prefer-use-state-lazy-initialization" | "react-dom/no-dangerously-set-innerhtml" | "react-dom/no-dangerously-set-innerhtml-with-children" | "react-dom/no-find-dom-node" | "react-dom/no-flush-sync" | "react-dom/no-hydrate" | "react-dom/no-missing-button-type" | "react-dom/no-missing-iframe-sandbox" | "react-dom/no-namespace" | "react-dom/no-render" | "react-dom/no-render-return-value" | "react-dom/no-script-url" | "react-dom/no-string-style-prop" | "react-dom/no-unknown-property" | "react-dom/no-unsafe-iframe-sandbox" | "react-dom/no-unsafe-target-blank" | "react-dom/no-use-form-state" | "react-dom/no-void-elements-with-children" | "react-dom/prefer-namespace-import" | "react-web-api/no-leaked-event-listener" | "react-web-api/no-leaked-interval" | "react-web-api/no-leaked-resize-observer" | "react-web-api/no-leaked-timeout" | "react-hooks-extra/no-direct-set-state-in-use-effect" | "react-naming-convention/component-name" | "react-naming-convention/context-name" | "react-naming-convention/filename" | "react-naming-convention/filename-extension" | "react-naming-convention/use-state", RuleConfig>;
9
- vue: Record<"vue/attribute-hyphenation" | "vue/first-attribute-linebreak" | "vue/multi-word-component-names" | "vue/html-self-closing" | "vue/script-indent" | "vue/block-order" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-macros-order" | "vue/v-on-event-hyphenation" | "vue/operator-linebreak", RuleConfig>;
9
+ vue: Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig>;
10
10
  stylistic: Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-sort-props" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig>;
11
11
  antfu: Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig>;
12
12
  };
13
13
  export default _default;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,CAAC,QAAQ,CAAC,CAAC;;;;;;;;;AAS/C,wBAOE"}
@@ -3,3 +3,4 @@ declare const _default: {
3
3
  tsMemberOrder: string[];
4
4
  };
5
5
  export default _default;
6
+ //# sourceMappingURL=preset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.ts"],"names":[],"mappings":";;;;AAAA,wBAqFE"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "pawover's esLint rules",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "version": "0.0.0-alpha.7",
7
+ "version": "0.0.0-beta.1",
8
8
  "packageManager": "pnpm@10.20.0",
9
9
  "engines": {
10
10
  "node": ">=22.20.0"
@@ -38,43 +38,43 @@
38
38
  }
39
39
  },
40
40
  "scripts": {
41
- "build": "tsc",
41
+ "build": "pnpm clean:output && tsc -p tsconfig.build.json",
42
42
  "public": "pnpm build && npm publish --access public",
43
43
  "check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
44
44
  "check:types": "tsc --noEmit",
45
- "check:eslint": "eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=eslint.cache.json --cache",
46
- "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json --cache-location=prettier.cache.json --cache",
45
+ "check:eslint": "eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=.cache/eslint.cache.json --cache",
46
+ "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json --cache-location=.cache/prettier.cache.json --cache",
47
47
  "check:pack": "attw --pack .",
48
48
  "clean": "pnpm clean:cache & pnpm clean:lib & pnpm clean:output",
49
- "clean:cache": "rimraf -g **/*.cache.json **/auto-*.json **/auto-*.d.ts",
49
+ "clean:cache": "rimraf -g **/.cache **/auto-*.json **/auto-*.d.ts",
50
50
  "clean:lib": "rimraf -g **/node_modules",
51
51
  "clean:output": "rimraf dist",
52
- "lib:up": "taze -I -r --exclude pnpm"
52
+ "lib:up": "taze -I -r"
53
53
  },
54
54
  "devDependencies": {
55
- "@eslint-react/eslint-plugin": "^2.3.5",
56
- "@stylistic/eslint-plugin": "^5.5.0",
57
- "eslint": "^9.39.1",
55
+ "@eslint-react/eslint-plugin": "^2.5.1",
56
+ "@stylistic/eslint-plugin": "^5.6.1",
57
+ "eslint": "^9.39.2",
58
58
  "eslint-plugin-antfu": "^3.1.1",
59
59
  "eslint-plugin-react-hooks": "^7.0.1",
60
- "eslint-plugin-vue": "^10.5.1",
61
- "globals": "^16.5.0",
62
- "prettier": "^3.6.2",
63
- "rimraf": "^6.1.0",
64
- "taze": "^19.9.0",
60
+ "eslint-plugin-vue": "^10.6.2",
61
+ "globals": "^17.0.0",
62
+ "prettier": "^3.7.4",
63
+ "rimraf": "^6.1.2",
64
+ "taze": "^19.9.2",
65
65
  "typescript": "^5.9.3",
66
- "typescript-eslint": "^8.46.4"
66
+ "typescript-eslint": "^8.52.0"
67
67
  },
68
68
  "peerDependencies": {
69
- "@eslint-react/eslint-plugin": "^2.3.5",
70
- "@stylistic/eslint-plugin": "^5.5.0",
71
- "eslint": "^9.39.1",
72
- "eslint-plugin-antfu": "^3.1.1",
73
- "eslint-plugin-react-hooks": "^7.0.1",
74
- "eslint-plugin-vue": "^10.5.1",
75
- "globals": "^16.5.0",
76
- "typescript": "^5.9.3",
77
- "typescript-eslint": "^8.46.4"
69
+ "@eslint-react/eslint-plugin": ">=2.3.5",
70
+ "@stylistic/eslint-plugin": ">=5.5.0",
71
+ "eslint": ">=9.39.1",
72
+ "eslint-plugin-antfu": ">=3.1.1",
73
+ "eslint-plugin-react-hooks": ">=7.0.1",
74
+ "eslint-plugin-vue": ">=10.5.1",
75
+ "globals": ">=16.5.0",
76
+ "typescript": ">=5.9.3",
77
+ "typescript-eslint": ">=8.46.4"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "@eslint-react/eslint-plugin": {