vize 0.601.0 → 0.603.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/content-mapper-helpers.d.cts +3 -0
- package/content-mapper-helpers.d.mts +3 -0
- package/content-mapper-helpers.d.ts +3 -0
- package/dist/{config-XtmOCYzH.mjs → config-8-i76Guw.mjs} +2 -2
- package/dist/config-8-i76Guw.mjs.map +1 -0
- package/dist/{config-BFgO7LX-.d.mts → config-P57ML6UM.d.mts} +5 -1
- package/dist/config-P57ML6UM.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/generated/content-mapper-types.d.ts +348 -0
- package/package.json +3 -2
- package/pkl/LinterConfig.pkl +3 -0
- package/pkl/jsonschema/LinterSchemaDefinitions.pkl +4 -0
- package/pkl/vize.pkl +3 -0
- package/schemas/vize.config.schema.json +4 -0
- package/src/types/generated.ts +4 -0
- package/dist/config-BFgO7LX-.d.mts.map +0 -1
- package/dist/config-XtmOCYzH.mjs.map +0 -1
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
// Generated by npm/cli/scripts/generate-content-mapper-types.ts. Do not edit.
|
|
2
|
+
// Context-free module types; no globals or compiler macros are declared here.
|
|
3
|
+
type __EmitShape<T> = T extends (...args: any[]) => any
|
|
4
|
+
? T
|
|
5
|
+
: T extends Record<string, any>
|
|
6
|
+
? {
|
|
7
|
+
[K in keyof T]: T[K] extends (...args: infer A) => any
|
|
8
|
+
? A
|
|
9
|
+
: T[K] extends any[]
|
|
10
|
+
? T[K]
|
|
11
|
+
: any[];
|
|
12
|
+
}
|
|
13
|
+
: Record<string, any[]>;
|
|
14
|
+
type __EmitArgs<T, K extends keyof T> = T[K] extends any[] ? T[K] : any[];
|
|
15
|
+
type __EmitFn<
|
|
16
|
+
T,
|
|
17
|
+
__S = __EmitShape<T>,
|
|
18
|
+
__K extends keyof __S & string = keyof __S & string,
|
|
19
|
+
__U = { [K in __K]: (event: K, ...args: __EmitArgs<__S, K>) => void }[__K],
|
|
20
|
+
> = __S extends (...args: any[]) => any
|
|
21
|
+
? __S
|
|
22
|
+
: [__K] extends [never]
|
|
23
|
+
? (event: never, ...args: any[]) => void
|
|
24
|
+
: (__U extends unknown ? (fn: __U) => void : never) extends (fn: infer __I) => void
|
|
25
|
+
? __I
|
|
26
|
+
: never;
|
|
27
|
+
type __RuntimePropValue<T> = T extends abstract new (...args: any[]) => infer V
|
|
28
|
+
? V
|
|
29
|
+
: T extends (...args: any[]) => infer V
|
|
30
|
+
? V
|
|
31
|
+
: never;
|
|
32
|
+
type __RuntimePropCtorInner<T> = T extends null | undefined
|
|
33
|
+
? never
|
|
34
|
+
: T extends readonly (infer U)[]
|
|
35
|
+
? __RuntimePropCtorInner<U>
|
|
36
|
+
: T extends { type: infer U }
|
|
37
|
+
? __RuntimePropCtorInner<U>
|
|
38
|
+
: T extends StringConstructor
|
|
39
|
+
? string
|
|
40
|
+
: T extends NumberConstructor
|
|
41
|
+
? number
|
|
42
|
+
: T extends BooleanConstructor
|
|
43
|
+
? boolean
|
|
44
|
+
: T extends ArrayConstructor
|
|
45
|
+
? unknown[]
|
|
46
|
+
: T extends ObjectConstructor
|
|
47
|
+
? Record<string, any>
|
|
48
|
+
: T extends DateConstructor
|
|
49
|
+
? Date
|
|
50
|
+
: T extends FunctionConstructor
|
|
51
|
+
? (...args: any[]) => any
|
|
52
|
+
: __RuntimePropValue<T>;
|
|
53
|
+
type __RuntimePropCtor<T> = [__RuntimePropCtorInner<T>] extends [never]
|
|
54
|
+
? unknown
|
|
55
|
+
: __RuntimePropCtorInner<T>;
|
|
56
|
+
type __RuntimePropHasBoolean<T> = T extends BooleanConstructor
|
|
57
|
+
? true
|
|
58
|
+
: T extends readonly (infer U)[]
|
|
59
|
+
? __RuntimePropHasBoolean<U>
|
|
60
|
+
: T extends { type: infer U }
|
|
61
|
+
? __RuntimePropHasBoolean<U>
|
|
62
|
+
: false;
|
|
63
|
+
type __RuntimePropResolved<T> = T extends { required: true }
|
|
64
|
+
? true
|
|
65
|
+
: T extends { default: any }
|
|
66
|
+
? true
|
|
67
|
+
: __RuntimePropHasBoolean<T>;
|
|
68
|
+
type __RuntimePropShape<T extends Record<string, any>> = {
|
|
69
|
+
[K in keyof T]: __RuntimePropResolved<T[K]> extends true
|
|
70
|
+
? __RuntimePropCtor<T[K]>
|
|
71
|
+
: __RuntimePropCtor<T[K]> | undefined;
|
|
72
|
+
};
|
|
73
|
+
type __VizeIsAny<T> = 0 extends 1 & T ? true : false;
|
|
74
|
+
|
|
75
|
+
type __LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] };
|
|
76
|
+
type __VizeBooleanKey<T, K extends keyof T = keyof T> = K extends any
|
|
77
|
+
? [Exclude<T[K], undefined>] extends [never]
|
|
78
|
+
? never
|
|
79
|
+
: [Exclude<T[K], undefined>] extends [boolean]
|
|
80
|
+
? K
|
|
81
|
+
: never
|
|
82
|
+
: never;
|
|
83
|
+
type __DefineProps<T, __BKeys extends keyof T = __VizeBooleanKey<T>> = Readonly<T> & {
|
|
84
|
+
readonly [K in __BKeys]-?: boolean;
|
|
85
|
+
};
|
|
86
|
+
type __VizeIfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
87
|
+
type __VizeNotUndefined<T> = T extends undefined ? never : T;
|
|
88
|
+
type __VizeMappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P] };
|
|
89
|
+
type __VizeDefaultNativeType = null | number | string | boolean | symbol | Function;
|
|
90
|
+
type __VizeInferDefault<P, T> =
|
|
91
|
+
| ((props: P) => T & {})
|
|
92
|
+
| (T extends __VizeDefaultNativeType ? T : never);
|
|
93
|
+
type __WithDefaultsArgs<T> = { [K in keyof T]?: __VizeInferDefault<T, T[K]> };
|
|
94
|
+
type __WithDefaultsResult<T, D, __BKeys extends keyof T = never> = T extends unknown
|
|
95
|
+
? Readonly<__VizeMappedOmit<T, keyof D>> & {
|
|
96
|
+
readonly [K in keyof D as K extends keyof T ? K : never]-?: K extends keyof T
|
|
97
|
+
? D[K] extends undefined
|
|
98
|
+
? __VizeIfAny<D[K], __VizeNotUndefined<T[K]>, T[K]>
|
|
99
|
+
: __VizeNotUndefined<T[K]>
|
|
100
|
+
: never;
|
|
101
|
+
} & {
|
|
102
|
+
readonly [K in __BKeys]-?: K extends keyof D
|
|
103
|
+
? D[K] extends undefined
|
|
104
|
+
? boolean | undefined
|
|
105
|
+
: boolean
|
|
106
|
+
: boolean;
|
|
107
|
+
}
|
|
108
|
+
: never;
|
|
109
|
+
type __Ref<T> = import("vue").Ref<T>;
|
|
110
|
+
type __ShallowRef<T> = import("vue").ShallowRef<T>;
|
|
111
|
+
|
|
112
|
+
type __VizeKebabCase<
|
|
113
|
+
S extends string,
|
|
114
|
+
Acc extends string = "",
|
|
115
|
+
> = S extends `${infer Head}${infer Tail}`
|
|
116
|
+
? Head extends Lowercase<Head>
|
|
117
|
+
? __VizeKebabCase<Tail, `${Acc}${Head}`>
|
|
118
|
+
: __VizeKebabCase<Tail, `${Acc}-${Lowercase<Head>}`>
|
|
119
|
+
: `${Acc}${S}`;
|
|
120
|
+
type __VizeKebabProps<T> = { [K in keyof T & string as __VizeKebabCase<K>]: T[K] };
|
|
121
|
+
type __VizeRequiredKeys<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? never : K }[keyof T];
|
|
122
|
+
type __VizeDomListenerProps = {
|
|
123
|
+
[K in keyof GlobalEventHandlersEventMap as K extends string ? `on${Capitalize<K>}` : never]?: (
|
|
124
|
+
event: GlobalEventHandlersEventMap[K],
|
|
125
|
+
) => void;
|
|
126
|
+
};
|
|
127
|
+
type __VizeFallthroughAttrs<Owned = {}> = { class?: unknown; style?: unknown } & {
|
|
128
|
+
[K in `data-${string}` | `data${Capitalize<string>}`]?: unknown;
|
|
129
|
+
} & { [K in `aria-${string}` | `aria${Capitalize<string>}`]?: unknown } & Omit<
|
|
130
|
+
__VizeDomListenerProps,
|
|
131
|
+
keyof Owned
|
|
132
|
+
>;
|
|
133
|
+
// Match Vue's public prop contract, including runtime-core module augmentations.
|
|
134
|
+
type __VizePublicComponentInputProps = import("vue").VNodeProps &
|
|
135
|
+
import("vue").AllowedComponentProps &
|
|
136
|
+
import("vue").ComponentCustomProps;
|
|
137
|
+
type __VizeComponentMetadataKeys<T> =
|
|
138
|
+
__VizeIsAny<T> extends true ? never : T extends unknown ? keyof NonNullable<T> : never;
|
|
139
|
+
type __VizeComponentOwnKeys<P = {}, E = {}> =
|
|
140
|
+
| keyof __VizePublicComponentInputProps
|
|
141
|
+
| __VizeComponentMetadataKeys<P>
|
|
142
|
+
| __VizeComponentMetadataKeys<E>;
|
|
143
|
+
type __VizeUnownedComponentAttrs<F, P = {}, E = {}> =
|
|
144
|
+
__VizeIsAny<F> extends true
|
|
145
|
+
? F
|
|
146
|
+
: unknown extends F
|
|
147
|
+
? F
|
|
148
|
+
: F extends unknown
|
|
149
|
+
? F extends null | undefined
|
|
150
|
+
? F
|
|
151
|
+
: { [K in keyof F as K extends __VizeComponentOwnKeys<P, E> ? never : K]: F[K] }
|
|
152
|
+
: never;
|
|
153
|
+
type __VizePrettify<T> = (T extends any
|
|
154
|
+
? { [K in keyof T]: T[K] }
|
|
155
|
+
: { [K in keyof T as K]: T[K] }) & {};
|
|
156
|
+
type __VizeComponentFallthroughSurface<C> = (C extends {
|
|
157
|
+
new (...args: any[]): { $props: infer __P };
|
|
158
|
+
}
|
|
159
|
+
? __P
|
|
160
|
+
: C extends (props: infer __P, ...args: any[]) => any
|
|
161
|
+
? __P
|
|
162
|
+
: Record<string, unknown>) &
|
|
163
|
+
(C extends { readonly __vizeFallthroughProps?: infer __F }
|
|
164
|
+
? __VizeIsAny<__F> extends true
|
|
165
|
+
? {}
|
|
166
|
+
: NonNullable<__F>
|
|
167
|
+
: {});
|
|
168
|
+
type __VizeComponentFallthroughProps<C> = {
|
|
169
|
+
[K in keyof __VizeComponentFallthroughSurface<C>]: __VizeComponentFallthroughSurface<C>[K];
|
|
170
|
+
};
|
|
171
|
+
type __VizeComponentInputProps<T, Declared = {}> = T extends unknown
|
|
172
|
+
? Partial<T> &
|
|
173
|
+
Partial<__VizeKebabProps<T>> &
|
|
174
|
+
Declared &
|
|
175
|
+
__VizeFallthroughAttrs<T & Declared> &
|
|
176
|
+
__VizePublicComponentInputProps
|
|
177
|
+
: never;
|
|
178
|
+
type __VizeMissingRequiredInputKeys<
|
|
179
|
+
T,
|
|
180
|
+
Authored,
|
|
181
|
+
K extends __VizeRequiredKeys<T> & string = __VizeRequiredKeys<T> & string,
|
|
182
|
+
> = K extends unknown
|
|
183
|
+
? K extends keyof Authored
|
|
184
|
+
? never
|
|
185
|
+
: __VizeKebabCase<K> extends keyof Authored
|
|
186
|
+
? never
|
|
187
|
+
: K
|
|
188
|
+
: never;
|
|
189
|
+
type __VizeIsPropKeyUnion<T, U = T> = T extends unknown ? ([U] extends [T] ? false : true) : false;
|
|
190
|
+
type __VizeIsSinglePropKey<T> = [T] extends [never]
|
|
191
|
+
? false
|
|
192
|
+
: __VizeIsPropKeyUnion<T> extends true
|
|
193
|
+
? false
|
|
194
|
+
: true;
|
|
195
|
+
type __VizeRelaxedDynamicUnionExtra<T, Declared, Authored, K extends keyof Authored> = [
|
|
196
|
+
keyof Declared,
|
|
197
|
+
] extends [never]
|
|
198
|
+
? __VizeIsSinglePropKey<__VizeRequiredKeys<T>> extends true
|
|
199
|
+
? K extends string
|
|
200
|
+
? K extends `on${string}`
|
|
201
|
+
? false
|
|
202
|
+
: Authored[K] extends true
|
|
203
|
+
? false
|
|
204
|
+
: true
|
|
205
|
+
: false
|
|
206
|
+
: false
|
|
207
|
+
: false;
|
|
208
|
+
type __VizeExtraInputKeys<
|
|
209
|
+
T,
|
|
210
|
+
Declared,
|
|
211
|
+
Authored,
|
|
212
|
+
Allowed,
|
|
213
|
+
K extends keyof Authored = Exclude<keyof Authored, keyof Allowed>,
|
|
214
|
+
> = K extends unknown
|
|
215
|
+
? __VizeRelaxedDynamicUnionExtra<T, Declared, Authored, K> extends true
|
|
216
|
+
? never
|
|
217
|
+
: K
|
|
218
|
+
: never;
|
|
219
|
+
type __VizeComponentMissingInputGuard<T, Authored> = T extends unknown
|
|
220
|
+
? [__VizeMissingRequiredInputKeys<T, Authored>] extends [never]
|
|
221
|
+
? {}
|
|
222
|
+
: {
|
|
223
|
+
readonly __vizeInvalidComponentProps: {
|
|
224
|
+
readonly missing: __VizeMissingRequiredInputKeys<T, Authored>;
|
|
225
|
+
readonly extra: never;
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
: never;
|
|
229
|
+
type __VizeComponentInputGuardFor<T, Declared, Authored, Allowed> = [
|
|
230
|
+
| __VizeMissingRequiredInputKeys<T, Authored>
|
|
231
|
+
| __VizeExtraInputKeys<T, Declared, Authored, Allowed>,
|
|
232
|
+
] extends [never]
|
|
233
|
+
? {}
|
|
234
|
+
: {
|
|
235
|
+
readonly __vizeInvalidComponentProps: {
|
|
236
|
+
readonly missing: __VizeMissingRequiredInputKeys<T, Authored>;
|
|
237
|
+
readonly extra: __VizeExtraInputKeys<T, Declared, Authored, Allowed>;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
type __VizeComponentInputGuard<T, Declared, Authored> =
|
|
241
|
+
__VizeUsePublicInstance<Authored> extends true
|
|
242
|
+
? {}
|
|
243
|
+
: T extends unknown
|
|
244
|
+
? __VizeComponentInputGuardFor<T, Declared, Authored, __VizeComponentInputProps<T, Declared>>
|
|
245
|
+
: never;
|
|
246
|
+
type __VizeComponentInputFor<T, Declared, Authored, Allowed> = Allowed &
|
|
247
|
+
__VizeComponentInputGuardFor<T, Declared, Authored, Allowed>;
|
|
248
|
+
type __VizeComponentInput<T, Declared, Authored> =
|
|
249
|
+
__VizeUsePublicInstance<Authored> extends true
|
|
250
|
+
? __VizeComponentInputProps<T, Declared>
|
|
251
|
+
: T extends unknown
|
|
252
|
+
? __VizeComponentInputFor<T, Declared, Authored, __VizeComponentInputProps<T, Declared>>
|
|
253
|
+
: never;
|
|
254
|
+
type __VizeAuthoredKeyWitness<T> = { [K in keyof T]: unknown };
|
|
255
|
+
type __VizeIsUnknown<T> = unknown extends T ? ([keyof T] extends [never] ? true : false) : false;
|
|
256
|
+
type __VizeUsePublicInstance<T> = __VizeIsAny<T> extends true ? true : __VizeIsUnknown<T>;
|
|
257
|
+
type __VizeLiteralKeys<T> = keyof {
|
|
258
|
+
[
|
|
259
|
+
K in keyof T as K extends string
|
|
260
|
+
? string extends K
|
|
261
|
+
? never
|
|
262
|
+
: K extends `$${infer R}`
|
|
263
|
+
? string extends R
|
|
264
|
+
? never
|
|
265
|
+
: K
|
|
266
|
+
: K
|
|
267
|
+
: number extends K
|
|
268
|
+
? never
|
|
269
|
+
: symbol extends K
|
|
270
|
+
? never
|
|
271
|
+
: K
|
|
272
|
+
]: unknown;
|
|
273
|
+
};
|
|
274
|
+
type __VizeReplaceComponentProps<T, P> = Omit<T, "$props"> &
|
|
275
|
+
Pick<T, Exclude<__VizeLiteralKeys<T>, "$props">> & { $props: P };
|
|
276
|
+
type __VizePublicEmit<
|
|
277
|
+
T,
|
|
278
|
+
S = __EmitShape<T>,
|
|
279
|
+
K extends keyof S & string = keyof S & string,
|
|
280
|
+
> = S extends (...args: any[]) => any
|
|
281
|
+
? S
|
|
282
|
+
: [K] extends [never]
|
|
283
|
+
? (event: string, ...args: any[]) => void
|
|
284
|
+
: __EmitFn<T>;
|
|
285
|
+
type __VizePublicSlots<T> = [keyof T] extends [never]
|
|
286
|
+
? import("vue").ComponentPublicInstance["$slots"]
|
|
287
|
+
: T;
|
|
288
|
+
// @ts-ignore TS2694/TS2307: a `vue` without `ComponentPublicInstance` must degrade component public extras to unchecked, never error.
|
|
289
|
+
type __VizeComponentPublicBase = Omit<
|
|
290
|
+
import("vue").ComponentPublicInstance,
|
|
291
|
+
"$props" | "$emit" | "$slots"
|
|
292
|
+
>;
|
|
293
|
+
|
|
294
|
+
export type {
|
|
295
|
+
__EmitShape,
|
|
296
|
+
__EmitArgs,
|
|
297
|
+
__EmitFn,
|
|
298
|
+
__RuntimePropValue,
|
|
299
|
+
__RuntimePropCtorInner,
|
|
300
|
+
__RuntimePropCtor,
|
|
301
|
+
__RuntimePropHasBoolean,
|
|
302
|
+
__RuntimePropResolved,
|
|
303
|
+
__RuntimePropShape,
|
|
304
|
+
__VizeIsAny,
|
|
305
|
+
__LooseRequired,
|
|
306
|
+
__VizeBooleanKey,
|
|
307
|
+
__DefineProps,
|
|
308
|
+
__VizeIfAny,
|
|
309
|
+
__VizeNotUndefined,
|
|
310
|
+
__VizeMappedOmit,
|
|
311
|
+
__VizeDefaultNativeType,
|
|
312
|
+
__VizeInferDefault,
|
|
313
|
+
__WithDefaultsArgs,
|
|
314
|
+
__WithDefaultsResult,
|
|
315
|
+
__Ref,
|
|
316
|
+
__ShallowRef,
|
|
317
|
+
__VizeKebabCase,
|
|
318
|
+
__VizeKebabProps,
|
|
319
|
+
__VizeRequiredKeys,
|
|
320
|
+
__VizeDomListenerProps,
|
|
321
|
+
__VizeFallthroughAttrs,
|
|
322
|
+
__VizePublicComponentInputProps,
|
|
323
|
+
__VizeComponentMetadataKeys,
|
|
324
|
+
__VizeComponentOwnKeys,
|
|
325
|
+
__VizeUnownedComponentAttrs,
|
|
326
|
+
__VizePrettify,
|
|
327
|
+
__VizeComponentFallthroughSurface,
|
|
328
|
+
__VizeComponentFallthroughProps,
|
|
329
|
+
__VizeComponentInputProps,
|
|
330
|
+
__VizeMissingRequiredInputKeys,
|
|
331
|
+
__VizeIsPropKeyUnion,
|
|
332
|
+
__VizeIsSinglePropKey,
|
|
333
|
+
__VizeRelaxedDynamicUnionExtra,
|
|
334
|
+
__VizeExtraInputKeys,
|
|
335
|
+
__VizeComponentMissingInputGuard,
|
|
336
|
+
__VizeComponentInputGuardFor,
|
|
337
|
+
__VizeComponentInputGuard,
|
|
338
|
+
__VizeComponentInputFor,
|
|
339
|
+
__VizeComponentInput,
|
|
340
|
+
__VizeAuthoredKeyWitness,
|
|
341
|
+
__VizeIsUnknown,
|
|
342
|
+
__VizeUsePublicInstance,
|
|
343
|
+
__VizeLiteralKeys,
|
|
344
|
+
__VizeReplaceComponentProps,
|
|
345
|
+
__VizePublicEmit,
|
|
346
|
+
__VizePublicSlots,
|
|
347
|
+
__VizeComponentPublicBase,
|
|
348
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.603.0",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"content-mapper-helpers.d.cts",
|
|
31
31
|
"content-mapper-helpers.d.mts",
|
|
32
32
|
"content-mapper-helpers.d.ts",
|
|
33
|
+
"generated/content-mapper-types.d.ts",
|
|
33
34
|
"dist",
|
|
34
35
|
"src",
|
|
35
36
|
"schemas",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"access": "public"
|
|
66
67
|
},
|
|
67
68
|
"dependencies": {
|
|
68
|
-
"@vizejs/native": "0.
|
|
69
|
+
"@vizejs/native": "0.603.0",
|
|
69
70
|
"oxc-transform": "0.144.0"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
package/pkl/LinterConfig.pkl
CHANGED
|
@@ -202,6 +202,9 @@ class LinterConfig {
|
|
|
202
202
|
/// Fail when warnings exceed this non-negative limit; absent means unlimited.
|
|
203
203
|
maxWarnings: Int(isBetween(0, 9007199254740991))? = null
|
|
204
204
|
|
|
205
|
+
/// Report template eslint/oxlint disable comments that suppress no active rule
|
|
206
|
+
reportUnusedDisableDirectives: Boolean? = null
|
|
207
|
+
|
|
205
208
|
/// Rules to enable/disable.
|
|
206
209
|
rules: Mapping<String, RuleSeverity> = new Mapping {}
|
|
207
210
|
|
|
@@ -48,6 +48,10 @@ linterConfigDef: JsonSchema = new JsonSchema {
|
|
|
48
48
|
minimum = 0
|
|
49
49
|
description = "Fail when warnings exceed this limit; absent means unlimited"
|
|
50
50
|
}
|
|
51
|
+
["reportUnusedDisableDirectives"] = new JsonSchema {
|
|
52
|
+
description = "Report template eslint/oxlint disable comments that suppress no active rule; defaults to false"
|
|
53
|
+
type = "boolean"
|
|
54
|
+
}
|
|
51
55
|
["rules"] = new JsonSchema {
|
|
52
56
|
type = "object"
|
|
53
57
|
description = "Rules to enable/disable"
|
package/pkl/vize.pkl
CHANGED
|
@@ -220,6 +220,9 @@ class LinterConfig {
|
|
|
220
220
|
/// Fail when warnings exceed this non-negative limit; absent means unlimited.
|
|
221
221
|
maxWarnings: Int(isBetween(0, 9007199254740991))? = null
|
|
222
222
|
|
|
223
|
+
/// Report template eslint/oxlint disable comments that suppress no active rule
|
|
224
|
+
reportUnusedDisableDirectives: Boolean? = null
|
|
225
|
+
|
|
223
226
|
rules: Mapping<String, RuleSeverity>? = null
|
|
224
227
|
ruleOptions: LintRuleOptions? = null
|
|
225
228
|
categories: Mapping<String, RuleSeverity>? = null
|
|
@@ -250,6 +250,10 @@
|
|
|
250
250
|
"type": "integer",
|
|
251
251
|
"minimum": 0
|
|
252
252
|
},
|
|
253
|
+
"reportUnusedDisableDirectives": {
|
|
254
|
+
"description": "Report template eslint/oxlint disable comments that suppress no active rule; defaults to false",
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
},
|
|
253
257
|
"rules": {
|
|
254
258
|
"description": "Rules to enable/disable",
|
|
255
259
|
"type": "object",
|
package/src/types/generated.ts
CHANGED
|
@@ -236,6 +236,10 @@ export interface LinterConfig {
|
|
|
236
236
|
* Fail when warnings exceed this limit; absent means unlimited
|
|
237
237
|
*/
|
|
238
238
|
maxWarnings?: number;
|
|
239
|
+
/**
|
|
240
|
+
* Report template eslint/oxlint disable comments that suppress no active rule; defaults to false
|
|
241
|
+
*/
|
|
242
|
+
reportUnusedDisableDirectives?: boolean;
|
|
239
243
|
/**
|
|
240
244
|
* Rules to enable/disable
|
|
241
245
|
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-BFgO7LX-.d.mts","names":["mode","command","isSsrBuild","isPreview","filePath","typeChecker","jsxTypecheck","T","vue","source","base","own","ConfigEnv","env","configDir","Promise","exported"],"sources":["../src/types/generated.ts","../src/types/rules.ts","../src/types/runtime.ts","../src/types/index.ts","../../../crates/vize_carton/src/config/loader/vite-runtime.d.mts","../src/config.ts"],"mappings":";;AAOA;;;;KAAY,UAAA,GAAa,WAAW,CAAC,YAAA;AAAA,KAEzB,YAAA;AAAA,KAEA,YAAA;;;AAFY;KAOZ,UAAA;;;;UAKK,UAAA;EALL;;;EASV,IAAA;EAToB;AAKtB;;EAQE,QAAA;EAaW;;;EATX,KAAA;EAqBY;;;EAjBZ,OAAA;EAqBc;;;EAjBd,OAAA;EACA,QAAA,GAAW,cAAA;EACX,aAAA;IAAA,CACG,CAAA;MAAA,CAGM,CAAA;IAAA;EAAA;EAIT,IAAA,GAAO,gBAAA;EACP,MAAA,GAAS,YAAA;EACT,WAAA,GAAc,iBAAA;EACd,SAAA,GAAY,eAAA;EACZ,cAAA,GAAiB,oBAAA;EACjB,GAAA,GAAM,oBAAA;EACN,KAAA,GAAQ,WAAA;EACR,WAAA,GAAc,iBAAA;EACd,GAAA,GAAM,SAAA;EANN;;;EAUA,OAAA,GAAU,eAAA;AAAA;;;;UAKK,cAAA;EAXP;;;EAeR,IAAA;EAbM;;;EAiBN,KAAA;EAbyB;AAK3B;;EAYE,OAAA;EA6D2C;;;EAzD3C,SAAA;EAAA;;;EAIA,cAAA;EAYA;;;EARA,cAAA;EAwBA;;;EApBA,GAAA;EAoCA;;;EAhCA,cAAA;EAyCgB;;AAA2B;EArC3C,UAAA;EA0C0C;;;EAtC1C,SAAA;EAuCa;;;EAnCb,iBAAA;EAmDA;;;EA/CA,WAAA;EAqDe;;;EAjDf,aAAA;E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