vize 0.745.0 → 0.747.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/{config-CtyVnTG0.mjs → config-8YaAzL3p.mjs} +2 -2
- package/dist/config-8YaAzL3p.mjs.map +1 -0
- package/dist/{config-V1_fhsm2.d.mts → config-WBDk9f44.d.mts} +50 -2
- package/dist/config-WBDk9f44.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/package.json +2 -2
- package/pkl/LintRuleOptionTypes.pkl +74 -0
- package/pkl/LinterConfig.pkl +19 -0
- package/pkl/jsonschema/ConfiguredVueRuleOptions.pkl +89 -0
- package/pkl/jsonschema/LintRuleOptionsSchemaDefinitions.pkl +16 -0
- package/pkl/jsonschema/LinterSchemaDefinitions.pkl +4 -0
- package/pkl/vize.pkl +21 -39
- package/schemas/vize.config.schema.json +265 -0
- package/src/types/generated.ts +50 -0
- package/src/types/rules.ts +55 -0
- package/dist/config-CtyVnTG0.mjs.map +0 -1
- package/dist/config-V1_fhsm2.d.mts.map +0 -1
|
@@ -213,6 +213,10 @@ interface LinterConfig {
|
|
|
213
213
|
* Fail when warnings exceed this limit; absent means unlimited
|
|
214
214
|
*/
|
|
215
215
|
maxWarnings?: number;
|
|
216
|
+
/**
|
|
217
|
+
* Ignore eslint-disable comments in source files; defaults to false
|
|
218
|
+
*/
|
|
219
|
+
noInlineConfig?: boolean;
|
|
216
220
|
/**
|
|
217
221
|
* Report template eslint/oxlint disable comments that suppress no active rule; defaults to false
|
|
218
222
|
*/
|
|
@@ -317,6 +321,50 @@ interface LintRuleOptions {
|
|
|
317
321
|
script?: number;
|
|
318
322
|
skipBlankLines?: boolean;
|
|
319
323
|
};
|
|
324
|
+
"vue/max-props"?: {
|
|
325
|
+
maxProps?: number;
|
|
326
|
+
};
|
|
327
|
+
"vue/max-template-depth"?: {
|
|
328
|
+
maxDepth?: number;
|
|
329
|
+
};
|
|
330
|
+
"vue/no-restricted-block"?: string | string[];
|
|
331
|
+
"vue/no-restricted-call-after-await"?: {
|
|
332
|
+
module: string;
|
|
333
|
+
path?: string | string[];
|
|
334
|
+
message?: string;
|
|
335
|
+
} | {
|
|
336
|
+
module: string;
|
|
337
|
+
path?: string | string[];
|
|
338
|
+
message?: string;
|
|
339
|
+
}[];
|
|
340
|
+
"vue/no-restricted-class"?: string | string[];
|
|
341
|
+
"vue/no-restricted-component-names"?: string | string[];
|
|
342
|
+
"vue/no-restricted-component-options"?: string | string[];
|
|
343
|
+
"vue/no-restricted-custom-event"?: string | string[];
|
|
344
|
+
"vue/no-restricted-html-elements"?: string | string[];
|
|
345
|
+
"vue/no-restricted-props"?: string | string[];
|
|
346
|
+
"vue/no-restricted-static-attribute"?: string | string[];
|
|
347
|
+
"vue/no-restricted-v-on"?: string | string[];
|
|
348
|
+
"vue/no-unsupported-features"?: {
|
|
349
|
+
version?: string;
|
|
350
|
+
ignores?: string[];
|
|
351
|
+
};
|
|
352
|
+
"vue/no-unused-script-vars"?: {
|
|
353
|
+
vars?: "all" | "local";
|
|
354
|
+
varsIgnorePattern?: string;
|
|
355
|
+
args?: "all" | "after-used" | "none";
|
|
356
|
+
argsIgnorePattern?: string;
|
|
357
|
+
caughtErrors?: "all" | "none";
|
|
358
|
+
caughtErrorsIgnorePattern?: string;
|
|
359
|
+
destructuredArrayIgnorePattern?: string;
|
|
360
|
+
ignoreRestSiblings?: boolean;
|
|
361
|
+
ignoreClassWithStaticInitBlock?: boolean;
|
|
362
|
+
reportUsedIgnorePattern?: boolean;
|
|
363
|
+
};
|
|
364
|
+
"vue/prefer-const"?: {
|
|
365
|
+
destructuring?: "any" | "all";
|
|
366
|
+
ignoreReadBeforeAssign?: boolean;
|
|
367
|
+
};
|
|
320
368
|
"vue/enforce-style-attribute"?: {
|
|
321
369
|
allow?: ("plain" | "scoped" | "module")[];
|
|
322
370
|
};
|
|
@@ -931,7 +979,7 @@ interface VizeConfigEntry {
|
|
|
931
979
|
}
|
|
932
980
|
//#endregion
|
|
933
981
|
//#region src/types/rules.d.ts
|
|
934
|
-
declare const LINT_RULE_NAMES: readonly ["a11y/alt-text", "a11y/anchor-has-content", "a11y/anchor-is-valid", "a11y/aria-props", "a11y/aria-role", "a11y/aria-unsupported-elements", "a11y/click-events-have-key-events", "a11y/form-control-has-label", "a11y/heading-has-content", "a11y/heading-levels", "a11y/iframe-has-title", "a11y/img-alt", "a11y/interactive-supports-focus", "a11y/label-has-for", "a11y/landmark-roles", "a11y/media-has-caption", "a11y/mouse-events-have-key-events", "a11y/no-access-key", "a11y/no-aria-hidden-on-focusable", "a11y/no-autofocus", "a11y/no-distracting-elements", "a11y/no-i-for-icon", "a11y/no-redundant-roles", "a11y/no-refer-to-non-existent-id", "a11y/no-role-presentation-on-focusable", "a11y/no-static-element-interactions", "a11y/placeholder-label-option", "a11y/role-has-required-aria-props", "a11y/tabindex-no-positive", "a11y/use-list", "css/no-display-none", "css/no-hardcoded-values", "css/no-id-selectors", "css/no-important", "css/no-utility-classes", "css/no-v-bind-performance", "css/prefer-logical-properties", "css/prefer-nested-selectors", "css/prefer-slotted", "css/require-font-display", "ecosystem/nuxt-prefer-nuxt-link", "ecosystem/pinia-prefer-store-to-refs", "ecosystem/router-link-require-to", "ecosystem/void-link-require-href", "ecosystem/void-link-valid-method", "ecosystem/vue-i18n-no-missing-key", "ecosystem/vue-router-prefer-named-link", "ecosystem/vue-router-prefer-named-push", "ecosystem/vue-test-utils-no-html-snapshot", "html/deprecated-attr", "html/deprecated-element", "html/id-duplication", "html/no-consecutive-br", "html/no-dupe-style-properties", "html/no-duplicate-class", "html/no-duplicate-dt", "html/no-empty-palpable-content", "html/require-datetime", "max-lines", "musea/no-empty-variant", "musea/prefer-design-tokens", "musea/require-component", "musea/require-title", "musea/unique-variant-names", "musea/valid-variant", "nuxt/no-nuxt-config-test-key", "nuxt/no-page-meta-runtime-values", "nuxt/nuxt-config-keys-order", "nuxt/prefer-import-meta", "petite-vue/no-unsupported-directive", "petite-vue/valid-v-effect", "petite-vue/valid-v-scope", "script/component-options-name-casing", "script/consistent-props-emits-key-quotes", "script/custom-event-name-casing", "script/define-emits-declaration", "script/define-macros-order", "script/define-props-declaration", "script/define-props-destructuring", "script/no-arrow-functions-in-watch", "script/no-async-in-computed", "script/no-boolean-default", "script/no-computed-properties-in-data", "script/no-deep-destructure-in-props", "script/no-deprecated-data-object-declaration", "script/no-deprecated-delete-set", "script/no-deprecated-destroyed-lifecycle", "script/no-deprecated-dollar-listeners-api", "script/no-deprecated-dollar-scopedslots-api", "script/no-deprecated-events-api", "script/no-deprecated-model-definition", "script/no-deprecated-props-default-this", "script/no-deprecated-vue-config-keycodes", "script/no-dupe-keys", "script/no-duplicate-attr-inheritance", "script/no-export-in-script-setup", "script/no-expose-after-await", "script/no-get-current-instance", "script/no-import-compiler-macros", "script/no-internal-imports", "script/no-lifecycle-after-await", "script/no-multiple-slot-args", "script/no-next-tick", "script/no-options-api", "script/no-potential-component-option-typo", "script/no-reactive-destructure", "script/no-ref-as-operand", "script/no-required-prop-with-default", "script/no-reserved-identifiers", "script/no-reserved-keys", "script/no-reserved-props", "script/no-restricted-globals", "script/no-restricted-members", "script/no-side-effects-in-computed-properties", "script/no-top-level-ref-in-script", "script/no-unstable-nested-components", "script/no-unused-emit-declarations", "script/no-use-computed-property-like-method", "script/no-watch-after-await", "script/no-with-defaults", "script/one-component-per-file", "script/order-in-components", "script/prefer-computed", "script/prefer-define-emits-binding", "script/prefer-define-options", "script/prefer-import-from-vue", "script/prefer-ref-over-reactive", "script/prefer-use-attrs", "script/prefer-use-id", "script/prefer-use-slots", "script/prefer-use-template-ref", "script/require-default-prop", "script/require-define-component", "script/require-explicit-emits", "script/require-explicit-slots", "script/require-function-return-type", "script/require-prop-type-constructor", "script/require-prop-types", "script/require-render-return", "script/require-slots-as-functions", "script/require-symbol-provide", "script/require-typed-object-prop", "script/require-typed-ref", "script/require-valid-default-prop", "script/return-in-computed-property", "script/return-in-emits-validator", "script/valid-define-emits", "script/valid-define-options", "script/valid-define-props", "script/valid-next-tick", "ssr/no-browser-globals-in-ssr", "ssr/no-hydration-mismatch", "type/no-floating-promises", "type/no-reactivity-loss", "type/no-unsafe-template-binding", "type/require-typed-emits", "type/require-typed-props", "type/strict-boolean-expressions", "vapor/no-inline-template", "vapor/no-vue-lifecycle-events", "vapor/prefer-static-class", "vapor/require-vapor-attribute", "vue/a11y-img-alt", "vue/attribute-hyphenation", "vue/attribute-order", "vue/block-lang", "vue/camelcase", "vue/comment-directive", "vue/component-definition-name-casing", "vue/component-name-in-template-casing", "vue/dot-notation", "vue/enforce-style-attribute", "vue/eqeqeq", "vue/html-button-has-type", "vue/html-end-tags", "vue/html-quotes", "vue/html-self-closing", "vue/jsx-uses-vars", "vue/match-component-file-name", "vue/max-lines-per-block", "vue/max-template-complexity", "vue/multi-word-component-names", "vue/mustache-interpolation-spacing", "vue/next-tick-style", "vue/no-array-index-key", "vue/no-bare-strings-in-template", "vue/no-boolean-attr-value", "vue/no-child-content", "vue/no-console", "vue/no-constant-condition", "vue/no-content-outside-block", "vue/no-custom-modifiers-on-v-model", "vue/no-define-model-default", "vue/no-deprecated-filter", "vue/no-deprecated-functional-template", "vue/no-deprecated-html-element-is", "vue/no-deprecated-inline-template", "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-dupe-v-else-if", "vue/no-duplicate-attributes", "vue/no-empty-component-block", "vue/no-empty-pattern", "vue/no-implicit-coercion", "vue/no-inline-style", "vue/no-invalid-html-attribute", "vue/no-irregular-whitespace", "vue/no-literals-in-template", "vue/no-lone-template", "vue/no-loss-of-precision", "vue/no-multi-spaces", "vue/no-multiple-objects-in-class", "vue/no-multiple-template-root", "vue/no-mutating-props", "vue/no-negated-condition", "vue/no-negated-v-if-condition", "vue/no-non-component-keep-alive-child", "vue/no-preprocessor-lang", "vue/no-props-shadow", "vue/no-ref-object-reactivity-loss", "vue/no-reserved-component-names", "vue/no-restricted-syntax", "vue/no-restricted-v-bind", "vue/no-root-v-if", "vue/no-script-non-standard-lang", "vue/no-setup-props-reactivity-loss", "vue/no-shadow-native-events", "vue/no-sparse-arrays", "vue/no-src-attribute", "vue/no-static-inline-styles", "vue/no-template-key", "vue/no-template-lang", "vue/no-template-shadow", "vue/no-template-target-blank", "vue/no-textarea-mustache", "vue/no-this-in-before-route-enter", "vue/no-undefined-refs", "vue/no-unsafe-url", "vue/no-unsandboxed-iframe", "vue/no-unused-components", "vue/no-unused-properties", "vue/no-unused-refs", "vue/no-unused-setup-bindings", "vue/no-unused-vars", "vue/no-use-v-else-with-v-for", "vue/no-use-v-if-with-v-for", "vue/no-useless-concat", "vue/no-useless-mustaches", "vue/no-useless-template-attributes", "vue/no-useless-v-bind", "vue/no-v-for-template-key", "vue/no-v-for-template-key-on-child", "vue/no-v-html", "vue/no-v-text", "vue/no-v-text-v-html-on-component", "vue/object-shorthand", "vue/permitted-contents", "vue/prefer-prop-type-boolean-first", "vue/prefer-props-shorthand", "vue/prefer-template", "vue/prefer-true-attribute-shorthand", "vue/prefer-v-model", "vue/prop-name-casing", "vue/quote-props", "vue/require-component-is", "vue/require-component-registration", "vue/require-default-export", "vue/require-expose", "vue/require-macro-variable-name", "vue/require-prop-comment", "vue/require-scoped-style", "vue/require-toggle-inside-transition", "vue/require-v-for-key", "vue/scoped-event-names", "vue/sfc-element-order", "vue/single-style-block", "vue/slot-name-casing", "vue/sort-keys", "vue/this-in-template", "vue/use-unique-element-ids", "vue/use-v-on-exact", "vue/v-bind-style", "vue/v-if-else-key", "vue/v-on-event-hyphenation", "vue/v-on-handler-style", "vue/v-on-style", "vue/v-slot-style", "vue/valid-attribute-name", "vue/valid-model-definition", "vue/valid-template-root", "vue/valid-v-bind", "vue/valid-v-cloak", "vue/valid-v-else", "vue/valid-v-else-if", "vue/valid-v-for", "vue/valid-v-html", "vue/valid-v-if", "vue/valid-v-is", "vue/valid-v-memo", "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/warn-custom-block", "vue/warn-custom-directive"];
|
|
982
|
+
declare const LINT_RULE_NAMES: readonly ["a11y/alt-text", "a11y/anchor-has-content", "a11y/anchor-is-valid", "a11y/aria-props", "a11y/aria-role", "a11y/aria-unsupported-elements", "a11y/click-events-have-key-events", "a11y/form-control-has-label", "a11y/heading-has-content", "a11y/heading-levels", "a11y/iframe-has-title", "a11y/img-alt", "a11y/interactive-supports-focus", "a11y/label-has-for", "a11y/landmark-roles", "a11y/media-has-caption", "a11y/mouse-events-have-key-events", "a11y/no-access-key", "a11y/no-aria-hidden-on-focusable", "a11y/no-autofocus", "a11y/no-distracting-elements", "a11y/no-i-for-icon", "a11y/no-redundant-roles", "a11y/no-refer-to-non-existent-id", "a11y/no-role-presentation-on-focusable", "a11y/no-static-element-interactions", "a11y/placeholder-label-option", "a11y/role-has-required-aria-props", "a11y/role-img-has-name", "a11y/tabindex-no-positive", "a11y/use-list", "css/no-display-none", "css/no-hardcoded-values", "css/no-id-selectors", "css/no-important", "css/no-utility-classes", "css/no-v-bind-performance", "css/prefer-logical-properties", "css/prefer-nested-selectors", "css/prefer-slotted", "css/require-font-display", "ecosystem/nuxt-prefer-nuxt-link", "ecosystem/pinia-prefer-store-to-refs", "ecosystem/router-link-require-to", "ecosystem/void-link-require-href", "ecosystem/void-link-valid-method", "ecosystem/vue-i18n-no-missing-key", "ecosystem/vue-router-prefer-named-link", "ecosystem/vue-router-prefer-named-push", "ecosystem/vue-test-utils-no-html-snapshot", "html/deprecated-attr", "html/deprecated-element", "html/id-duplication", "html/no-consecutive-br", "html/no-dupe-style-properties", "html/no-duplicate-class", "html/no-duplicate-dt", "html/no-empty-palpable-content", "html/require-datetime", "max-lines", "musea/no-empty-variant", "musea/prefer-design-tokens", "musea/require-component", "musea/require-title", "musea/unique-variant-names", "musea/valid-variant", "nuxt/no-nuxt-config-test-key", "nuxt/no-page-meta-runtime-values", "nuxt/nuxt-config-keys-order", "nuxt/prefer-import-meta", "petite-vue/no-unsupported-directive", "petite-vue/valid-v-effect", "petite-vue/valid-v-scope", "script/component-options-name-casing", "script/consistent-props-emits-key-quotes", "script/custom-event-name-casing", "script/define-emits-declaration", "script/define-macros-order", "script/define-props-declaration", "script/define-props-destructuring", "script/no-arrow-functions-in-watch", "script/no-async-in-computed", "script/no-boolean-default", "script/no-computed-properties-in-data", "script/no-deep-destructure-in-props", "script/no-deprecated-data-object-declaration", "script/no-deprecated-delete-set", "script/no-deprecated-destroyed-lifecycle", "script/no-deprecated-dollar-listeners-api", "script/no-deprecated-dollar-scopedslots-api", "script/no-deprecated-events-api", "script/no-deprecated-model-definition", "script/no-deprecated-props-default-this", "script/no-deprecated-vue-config-keycodes", "script/no-dupe-keys", "script/no-duplicate-attr-inheritance", "script/no-export-in-script-setup", "script/no-expose-after-await", "script/no-get-current-instance", "script/no-import-compiler-macros", "script/no-internal-imports", "script/no-lifecycle-after-await", "script/no-multiple-slot-args", "script/no-next-tick", "script/no-options-api", "script/no-potential-component-option-typo", "script/no-reactive-destructure", "script/no-ref-as-operand", "script/no-required-prop-with-default", "script/no-reserved-identifiers", "script/no-reserved-keys", "script/no-reserved-props", "script/no-restricted-globals", "script/no-restricted-members", "script/no-side-effects-in-computed-properties", "script/no-top-level-ref-in-script", "script/no-unstable-nested-components", "script/no-unused-emit-declarations", "script/no-use-computed-property-like-method", "script/no-watch-after-await", "script/no-with-defaults", "script/one-component-per-file", "script/order-in-components", "script/prefer-computed", "script/prefer-define-emits-binding", "script/prefer-define-options", "script/prefer-import-from-vue", "script/prefer-ref-over-reactive", "script/prefer-use-attrs", "script/prefer-use-id", "script/prefer-use-slots", "script/prefer-use-template-ref", "script/require-default-prop", "script/require-define-component", "script/require-explicit-emits", "script/require-explicit-slots", "script/require-function-return-type", "script/require-prop-type-constructor", "script/require-prop-types", "script/require-render-return", "script/require-slots-as-functions", "script/require-symbol-provide", "script/require-typed-object-prop", "script/require-typed-ref", "script/require-valid-default-prop", "script/return-in-computed-property", "script/return-in-emits-validator", "script/valid-define-emits", "script/valid-define-options", "script/valid-define-props", "script/valid-next-tick", "ssr/no-browser-globals-in-ssr", "ssr/no-hydration-mismatch", "type/await-thenable", "type/no-array-delete", "type/no-base-to-string", "type/no-confusing-void-expression", "type/no-deprecated", "type/no-duplicate-type-constituents", "type/no-floating-promises", "type/no-for-in-array", "type/no-generated-empty-object-type", "type/no-implied-eval", "type/no-meaningless-void-operator", "type/no-misused-promises", "type/no-misused-spread", "type/no-mixed-enums", "type/no-reactivity-loss", "type/no-redundant-type-constituents", "type/no-unnecessary-boolean-literal-compare", "type/no-unnecessary-condition", "type/no-unnecessary-template-expression", "type/no-unnecessary-type-arguments", "type/no-unnecessary-type-assertion", "type/no-unnecessary-type-conversion", "type/no-unsafe-argument", "type/no-unsafe-assignment", "type/no-unsafe-call", "type/no-unsafe-enum-assignment", "type/no-unsafe-enum-comparison", "type/no-unsafe-member-access", "type/no-unsafe-return", "type/no-unsafe-template-binding", "type/no-unsafe-unary-minus", "type/only-throw-error", "type/prefer-promise-reject-errors", "type/prefer-reduce-type-parameter", "type/prefer-return-this-type", "type/related-getter-setter-pairs", "type/require-await", "type/require-typed-emits", "type/require-typed-props", "type/restrict-plus-operands", "type/restrict-template-expressions", "type/return-await", "type/strict-boolean-expressions", "type/unbound-method", "type/use-unknown-in-catch-callback-variable", "vapor/no-inline-template", "vapor/no-vue-lifecycle-events", "vapor/prefer-static-class", "vapor/require-vapor-attribute", "vue/a11y-img-alt", "vue/attribute-hyphenation", "vue/attribute-order", "vue/block-lang", "vue/camelcase", "vue/comment-directive", "vue/component-definition-name-casing", "vue/component-name-in-template-casing", "vue/dot-notation", "vue/enforce-style-attribute", "vue/eqeqeq", "vue/html-button-has-type", "vue/html-end-tags", "vue/html-quotes", "vue/html-self-closing", "vue/jsx-uses-vars", "vue/match-component-file-name", "vue/max-lines-per-block", "vue/max-props", "vue/max-template-complexity", "vue/max-template-depth", "vue/multi-word-component-names", "vue/mustache-interpolation-spacing", "vue/next-tick-style", "vue/no-array-index-key", "vue/no-bare-strings-in-template", "vue/no-boolean-attr-value", "vue/no-child-content", "vue/no-console", "vue/no-constant-condition", "vue/no-content-outside-block", "vue/no-custom-modifiers-on-v-model", "vue/no-define-model-default", "vue/no-deprecated-filter", "vue/no-deprecated-functional-template", "vue/no-deprecated-html-element-is", "vue/no-deprecated-inline-template", "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-dupe-v-else-if", "vue/no-duplicate-attributes", "vue/no-empty-component-block", "vue/no-empty-pattern", "vue/no-implicit-coercion", "vue/no-inline-style", "vue/no-invalid-html-attribute", "vue/no-irregular-whitespace", "vue/no-literals-in-template", "vue/no-lone-template", "vue/no-loss-of-precision", "vue/no-multi-spaces", "vue/no-multiple-objects-in-class", "vue/no-multiple-template-root", "vue/no-mutating-props", "vue/no-negated-condition", "vue/no-negated-v-if-condition", "vue/no-non-component-keep-alive-child", "vue/no-preprocessor-lang", "vue/no-props-shadow", "vue/no-ref-object-reactivity-loss", "vue/no-reserved-component-names", "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-syntax", "vue/no-restricted-v-bind", "vue/no-restricted-v-on", "vue/no-root-v-if", "vue/no-script-non-standard-lang", "vue/no-setup-props-reactivity-loss", "vue/no-shadow-native-events", "vue/no-sparse-arrays", "vue/no-src-attribute", "vue/no-static-inline-styles", "vue/no-template-key", "vue/no-template-lang", "vue/no-template-shadow", "vue/no-template-target-blank", "vue/no-textarea-mustache", "vue/no-this-in-before-route-enter", "vue/no-undefined-refs", "vue/no-unsafe-url", "vue/no-unsandboxed-iframe", "vue/no-unsupported-features", "vue/no-unused-components", "vue/no-unused-properties", "vue/no-unused-refs", "vue/no-unused-script-vars", "vue/no-unused-setup-bindings", "vue/no-unused-vars", "vue/no-use-v-else-with-v-for", "vue/no-use-v-if-with-v-for", "vue/no-useless-concat", "vue/no-useless-mustaches", "vue/no-useless-template-attributes", "vue/no-useless-v-bind", "vue/no-v-for-template-key", "vue/no-v-for-template-key-on-child", "vue/no-v-html", "vue/no-v-text", "vue/no-v-text-v-html-on-component", "vue/object-shorthand", "vue/permitted-contents", "vue/prefer-const", "vue/prefer-prop-type-boolean-first", "vue/prefer-props-shorthand", "vue/prefer-template", "vue/prefer-true-attribute-shorthand", "vue/prefer-v-model", "vue/prop-name-casing", "vue/quote-props", "vue/require-component-is", "vue/require-component-registration", "vue/require-default-export", "vue/require-expose", "vue/require-macro-variable-name", "vue/require-prop-comment", "vue/require-scoped-style", "vue/require-toggle-inside-transition", "vue/require-v-for-key", "vue/scoped-event-names", "vue/sfc-element-order", "vue/single-style-block", "vue/slot-name-casing", "vue/sort-keys", "vue/this-in-template", "vue/use-unique-element-ids", "vue/use-v-on-exact", "vue/v-bind-style", "vue/v-if-else-key", "vue/v-on-event-hyphenation", "vue/v-on-handler-style", "vue/v-on-style", "vue/v-slot-style", "vue/valid-attribute-name", "vue/valid-model-definition", "vue/valid-template-root", "vue/valid-v-bind", "vue/valid-v-cloak", "vue/valid-v-else", "vue/valid-v-else-if", "vue/valid-v-for", "vue/valid-v-html", "vue/valid-v-if", "vue/valid-v-is", "vue/valid-v-memo", "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/warn-custom-block", "vue/warn-custom-directive"];
|
|
935
983
|
type LintRuleName = (typeof LINT_RULE_NAMES)[number];
|
|
936
984
|
type LintRulesConfig = Partial<Record<LintRuleName, RuleSeverity>>;
|
|
937
985
|
//#endregion
|
|
@@ -1068,4 +1116,4 @@ declare function resolveConfigExport(exported: UserConfigExport, env?: ConfigEnv
|
|
|
1068
1116
|
declare function normalizeGlobalTypes(config: GlobalTypesConfig): Record<string, GlobalTypeDeclaration>;
|
|
1069
1117
|
//#endregion
|
|
1070
1118
|
export { LibConfig as A, VitePluginConfig as B, LintRulesConfig as C, GlobalTypeDeclaration as D, FormatterConfig as E, MuseaConfig as F, VizeConfigEntry as H, MuseaVrtConfig as I, RuleCategory as L, LinterConfig as M, MuseaA11yConfig as N, GlobalTypesConfig as O, MuseaAutogenConfig as P, RuleSeverity as R, LintRuleName as S, CompilerConfig as T, VueVersion as U, VizeConfig as V, UserConfigExport as _, loadConfig as a, VueOptions as b, resolveViteConfigExport as c, ConfigEnv as d, LoadConfigOptions as f, UserConfigEntry as g, UserConfig as h, defineConfig as i, LintPreset as j, LanguageServerConfig as k, VITE_CONFIG_FILE_NAMES as l, ResolvedVizeConfig as m, VIZE_CONFIG_JSON_SCHEMA_PATH as n, normalizeGlobalTypes as o, MaybePromise as p, VIZE_CONFIG_PKL_SCHEMA_PATH as r, resolveConfigExport as s, CONFIG_FILE_NAMES as t, LspConfig as u, UserConfigInput as v, CompilerCompatibilityConfig as w, VueOptionsEntry as x, VueConfig as y, TypeCheckerConfig as z };
|
|
1071
|
-
//# sourceMappingURL=config-
|
|
1119
|
+
//# sourceMappingURL=config-WBDk9f44.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-WBDk9f44.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;EAqDsC;;;EAjDtC,QAAA;EAqD4C;;;EAjD5C,IAAA;EAiDA;;;EA7CA,SAAA;EAqDA;;AAAc;EAjDd,iBAAA;EAsD2B;;;EAlD3B,iBAAA;EACA,aAAA,GAAgB,2BAA2B;AAAA;;;;UAK5B,2BAAA;EACf,UAAA,GAAa,UAAU;EA8FvB;;;EA1FA,Y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AQ,iBAAA,GACP,MAAA,SAAe,qBAAA"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-WBDk9f44.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/dist/config.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-8YaAzL3p.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LibConfig, B as VitePluginConfig, C as LintRulesConfig, D as GlobalTypeDeclaration, E as FormatterConfig, F as MuseaConfig, H as VizeConfigEntry, I as MuseaVrtConfig, L as RuleCategory, M as LinterConfig, N as MuseaA11yConfig, O as GlobalTypesConfig, P as MuseaAutogenConfig, R as RuleSeverity, S as LintRuleName, T as CompilerConfig, U as VueVersion, V as VizeConfig, _ as UserConfigExport, a as loadConfig, b as VueOptions, c as resolveViteConfigExport, d as ConfigEnv, f as LoadConfigOptions, g as UserConfigEntry, h as UserConfig, i as defineConfig, j as LintPreset, k as LanguageServerConfig, l as VITE_CONFIG_FILE_NAMES, m as ResolvedVizeConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as MaybePromise, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LspConfig, v as UserConfigInput, w as CompilerCompatibilityConfig, x as VueOptionsEntry, y as VueConfig, z as TypeCheckerConfig } from "./config-
|
|
1
|
+
import { A as LibConfig, B as VitePluginConfig, C as LintRulesConfig, D as GlobalTypeDeclaration, E as FormatterConfig, F as MuseaConfig, H as VizeConfigEntry, I as MuseaVrtConfig, L as RuleCategory, M as LinterConfig, N as MuseaA11yConfig, O as GlobalTypesConfig, P as MuseaAutogenConfig, R as RuleSeverity, S as LintRuleName, T as CompilerConfig, U as VueVersion, V as VizeConfig, _ as UserConfigExport, a as loadConfig, b as VueOptions, c as resolveViteConfigExport, d as ConfigEnv, f as LoadConfigOptions, g as UserConfigEntry, h as UserConfig, i as defineConfig, j as LintPreset, k as LanguageServerConfig, l as VITE_CONFIG_FILE_NAMES, m as ResolvedVizeConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as MaybePromise, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LspConfig, v as UserConfigInput, w as CompilerCompatibilityConfig, x as VueOptionsEntry, y as VueConfig, z as TypeCheckerConfig } from "./config-WBDk9f44.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, type CompilerCompatibilityConfig, type CompilerConfig, type ConfigEnv, type FormatterConfig, type GlobalTypeDeclaration, type GlobalTypesConfig, type LanguageServerConfig, type LibConfig, type LintPreset, type LintRuleName, type LintRulesConfig, type LinterConfig, type LoadConfigOptions, type LspConfig, type MaybePromise, type MuseaA11yConfig, type MuseaAutogenConfig, type MuseaConfig, type MuseaVrtConfig, type ResolvedVizeConfig, type RuleCategory, type RuleSeverity, type TypeCheckerConfig, type UserConfig, type UserConfigEntry, type UserConfigExport, type UserConfigInput, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, type VitePluginConfig, type VizeConfig, type VizeConfigEntry, type VueConfig, type VueOptions, type VueOptionsEntry, type VueVersion, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-8YaAzL3p.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.747.0",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@vizejs/native": "0.
|
|
96
|
+
"@vizejs/native": "0.747.0",
|
|
97
97
|
"oxc-transform": "0.157.0"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
@@ -12,3 +12,77 @@ class ValidVOnOptions {
|
|
|
12
12
|
class ValidVSlotOptions {
|
|
13
13
|
allowModifiers: Boolean = false
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
class BlockLangBlock {
|
|
17
|
+
lang: (String | Listing<String>)? = null
|
|
18
|
+
allowNoLang: Boolean? = null
|
|
19
|
+
required: Boolean? = null
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
class BlockLangOptions {
|
|
23
|
+
script: BlockLangBlock? = null
|
|
24
|
+
template: BlockLangBlock? = null
|
|
25
|
+
style: BlockLangBlock? = null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
class MaxLinesObject {
|
|
29
|
+
max: Int? = null
|
|
30
|
+
skipComments: Boolean? = null
|
|
31
|
+
skipBlankLines: Boolean? = null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
typealias MaxLinesOptions = Int | MaxLinesObject
|
|
35
|
+
|
|
36
|
+
class MaxLinesPerBlockOptions {
|
|
37
|
+
style: Int? = null
|
|
38
|
+
template: Int? = null
|
|
39
|
+
script: Int? = null
|
|
40
|
+
skipBlankLines: Boolean? = null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
class SortKeysOptions {
|
|
44
|
+
order: "asc" | "desc" = "asc"
|
|
45
|
+
caseSensitive: Boolean = true
|
|
46
|
+
natural: Boolean = false
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
class MaxPropsOptions {
|
|
50
|
+
maxProps: Int? = null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
class MaxTemplateDepthOptions {
|
|
54
|
+
maxDepth: Int? = null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
typealias RestrictedNames = String | Listing<String>
|
|
58
|
+
|
|
59
|
+
class CallAfterAwaitSpec {
|
|
60
|
+
`module`: String
|
|
61
|
+
path: (String | Listing<String>)? = null
|
|
62
|
+
message: String? = null
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
typealias CallAfterAwaitOptions = CallAfterAwaitSpec | Listing<CallAfterAwaitSpec>
|
|
66
|
+
|
|
67
|
+
class UnsupportedFeaturesOptions {
|
|
68
|
+
version: String? = null
|
|
69
|
+
ignores: Listing<String>? = null
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
class NoUnusedScriptVarsOptions {
|
|
73
|
+
vars: ("all" | "local")? = null
|
|
74
|
+
varsIgnorePattern: String? = null
|
|
75
|
+
args: ("all" | "after-used" | "none")? = null
|
|
76
|
+
argsIgnorePattern: String? = null
|
|
77
|
+
caughtErrors: ("all" | "none")? = null
|
|
78
|
+
caughtErrorsIgnorePattern: String? = null
|
|
79
|
+
destructuredArrayIgnorePattern: String? = null
|
|
80
|
+
ignoreRestSiblings: Boolean? = null
|
|
81
|
+
ignoreClassWithStaticInitBlock: Boolean? = null
|
|
82
|
+
reportUsedIgnorePattern: Boolean? = null
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
class PreferConstOptions {
|
|
86
|
+
destructuring: ("any" | "all")? = null
|
|
87
|
+
ignoreReadBeforeAssign: Boolean? = null
|
|
88
|
+
}
|
package/pkl/LinterConfig.pkl
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// Linter configuration for Vize.
|
|
2
2
|
module vize.LinterConfig
|
|
3
|
+
import "LintRuleOptionTypes.pkl"
|
|
3
4
|
|
|
4
5
|
typealias RuleSeverity = "off" | "warn" | "error"
|
|
5
6
|
|
|
@@ -278,6 +279,21 @@ class LintRuleOptions {
|
|
|
278
279
|
`vue/block-lang`: BlockLangOptions? = null
|
|
279
280
|
`max-lines`: MaxLinesOptions? = null
|
|
280
281
|
`vue/max-lines-per-block`: MaxLinesPerBlockOptions? = null
|
|
282
|
+
`vue/max-props`: LintRuleOptionTypes.MaxPropsOptions? = null
|
|
283
|
+
`vue/max-template-depth`: LintRuleOptionTypes.MaxTemplateDepthOptions? = null
|
|
284
|
+
`vue/no-restricted-block`: LintRuleOptionTypes.RestrictedNames? = null
|
|
285
|
+
`vue/no-restricted-call-after-await`: LintRuleOptionTypes.CallAfterAwaitOptions? = null
|
|
286
|
+
`vue/no-restricted-class`: LintRuleOptionTypes.RestrictedNames? = null
|
|
287
|
+
`vue/no-restricted-component-names`: LintRuleOptionTypes.RestrictedNames? = null
|
|
288
|
+
`vue/no-restricted-component-options`: LintRuleOptionTypes.RestrictedNames? = null
|
|
289
|
+
`vue/no-restricted-custom-event`: LintRuleOptionTypes.RestrictedNames? = null
|
|
290
|
+
`vue/no-restricted-html-elements`: LintRuleOptionTypes.RestrictedNames? = null
|
|
291
|
+
`vue/no-restricted-props`: LintRuleOptionTypes.RestrictedNames? = null
|
|
292
|
+
`vue/no-restricted-static-attribute`: LintRuleOptionTypes.RestrictedNames? = null
|
|
293
|
+
`vue/no-restricted-v-on`: LintRuleOptionTypes.RestrictedNames? = null
|
|
294
|
+
`vue/no-unsupported-features`: LintRuleOptionTypes.UnsupportedFeaturesOptions? = null
|
|
295
|
+
`vue/no-unused-script-vars`: LintRuleOptionTypes.NoUnusedScriptVarsOptions? = null
|
|
296
|
+
`vue/prefer-const`: LintRuleOptionTypes.PreferConstOptions? = null
|
|
281
297
|
`vue/enforce-style-attribute`: EnforceStyleAttributeOptions? = null
|
|
282
298
|
`vue/no-restricted-syntax`: (Listing<RestrictedSyntaxEntry> | NoRestrictedSyntaxOptions)? = null
|
|
283
299
|
`vue/quote-props`: "as-needed"? = null
|
|
@@ -325,6 +341,9 @@ class LinterConfig {
|
|
|
325
341
|
/// Report template eslint/oxlint disable comments that suppress no active rule
|
|
326
342
|
reportUnusedDisableDirectives: Boolean? = null
|
|
327
343
|
|
|
344
|
+
/// Ignore eslint-disable comments in source files
|
|
345
|
+
noInlineConfig: Boolean? = null
|
|
346
|
+
|
|
328
347
|
/// Rules to enable/disable.
|
|
329
348
|
rules: Mapping<String, RuleSeverity> = new Mapping {}
|
|
330
349
|
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/// JSON Schema for configurable eslint-plugin-vue rule options.
|
|
2
|
+
module vize.jsonschema.ConfiguredVueRuleOptions
|
|
3
|
+
|
|
4
|
+
import "@json_schema/JsonSchema.pkl"
|
|
5
|
+
|
|
6
|
+
restrictedNamesDef: JsonSchema = new JsonSchema {
|
|
7
|
+
oneOf = new Listing {
|
|
8
|
+
new JsonSchema { type = "string" }
|
|
9
|
+
new JsonSchema {
|
|
10
|
+
type = "array"
|
|
11
|
+
items = new JsonSchema { type = "string" }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
maxPropsDef: JsonSchema = new JsonSchema {
|
|
17
|
+
type = "object"
|
|
18
|
+
properties {
|
|
19
|
+
["maxProps"] = new JsonSchema { type = "integer" }
|
|
20
|
+
}
|
|
21
|
+
additionalProperties = false
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
maxTemplateDepthDef: JsonSchema = new JsonSchema {
|
|
25
|
+
type = "object"
|
|
26
|
+
properties {
|
|
27
|
+
["maxDepth"] = new JsonSchema { type = "integer" }
|
|
28
|
+
}
|
|
29
|
+
additionalProperties = false
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
callAfterAwaitSpecDef: JsonSchema = new JsonSchema {
|
|
33
|
+
type = "object"
|
|
34
|
+
properties {
|
|
35
|
+
["module"] = new JsonSchema { type = "string" }
|
|
36
|
+
["path"] = restrictedNamesDef
|
|
37
|
+
["message"] = new JsonSchema { type = "string" }
|
|
38
|
+
}
|
|
39
|
+
required = new Listing { "module" }
|
|
40
|
+
additionalProperties = false
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
callAfterAwaitDef: JsonSchema = new JsonSchema {
|
|
44
|
+
oneOf = new Listing {
|
|
45
|
+
callAfterAwaitSpecDef
|
|
46
|
+
new JsonSchema {
|
|
47
|
+
type = "array"
|
|
48
|
+
items = callAfterAwaitSpecDef
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
unsupportedFeaturesDef: JsonSchema = new JsonSchema {
|
|
54
|
+
type = "object"
|
|
55
|
+
properties {
|
|
56
|
+
["version"] = new JsonSchema { type = "string" }
|
|
57
|
+
["ignores"] = new JsonSchema {
|
|
58
|
+
type = "array"
|
|
59
|
+
items = new JsonSchema { type = "string" }
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
additionalProperties = false
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
noUnusedScriptVarsDef: JsonSchema = new JsonSchema {
|
|
66
|
+
type = "object"
|
|
67
|
+
properties {
|
|
68
|
+
["vars"] = new JsonSchema { type = "string"; enum = new Listing { "all"; "local" } }
|
|
69
|
+
["varsIgnorePattern"] = new JsonSchema { type = "string" }
|
|
70
|
+
["args"] = new JsonSchema { type = "string"; enum = new Listing { "all"; "after-used"; "none" } }
|
|
71
|
+
["argsIgnorePattern"] = new JsonSchema { type = "string" }
|
|
72
|
+
["caughtErrors"] = new JsonSchema { type = "string"; enum = new Listing { "all"; "none" } }
|
|
73
|
+
["caughtErrorsIgnorePattern"] = new JsonSchema { type = "string" }
|
|
74
|
+
["destructuredArrayIgnorePattern"] = new JsonSchema { type = "string" }
|
|
75
|
+
["ignoreRestSiblings"] = new JsonSchema { type = "boolean" }
|
|
76
|
+
["ignoreClassWithStaticInitBlock"] = new JsonSchema { type = "boolean" }
|
|
77
|
+
["reportUsedIgnorePattern"] = new JsonSchema { type = "boolean" }
|
|
78
|
+
}
|
|
79
|
+
additionalProperties = false
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
preferConstDef: JsonSchema = new JsonSchema {
|
|
83
|
+
type = "object"
|
|
84
|
+
properties {
|
|
85
|
+
["destructuring"] = new JsonSchema { type = "string"; enum = new Listing { "any"; "all" } }
|
|
86
|
+
["ignoreReadBeforeAssign"] = new JsonSchema { type = "boolean" }
|
|
87
|
+
}
|
|
88
|
+
additionalProperties = false
|
|
89
|
+
}
|
|
@@ -3,6 +3,7 @@ module vize.jsonschema.LintRuleOptionsSchemaDefinitions
|
|
|
3
3
|
|
|
4
4
|
import "@json_schema/JsonSchema.pkl"
|
|
5
5
|
import "ConfigArtifactDefinitions.pkl"
|
|
6
|
+
import "ConfiguredVueRuleOptions.pkl"
|
|
6
7
|
|
|
7
8
|
definePropsDestructuringOptionsDef: JsonSchema = new JsonSchema {
|
|
8
9
|
type = "object"
|
|
@@ -182,6 +183,21 @@ lintRuleOptionsDef: JsonSchema = new JsonSchema {
|
|
|
182
183
|
}
|
|
183
184
|
["max-lines"] = maxLinesDef
|
|
184
185
|
["vue/max-lines-per-block"] = maxLinesPerBlockDef
|
|
186
|
+
["vue/max-props"] = ConfiguredVueRuleOptions.maxPropsDef
|
|
187
|
+
["vue/max-template-depth"] = ConfiguredVueRuleOptions.maxTemplateDepthDef
|
|
188
|
+
["vue/no-restricted-block"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
189
|
+
["vue/no-restricted-call-after-await"] = ConfiguredVueRuleOptions.callAfterAwaitDef
|
|
190
|
+
["vue/no-restricted-class"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
191
|
+
["vue/no-restricted-component-names"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
192
|
+
["vue/no-restricted-component-options"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
193
|
+
["vue/no-restricted-custom-event"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
194
|
+
["vue/no-restricted-html-elements"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
195
|
+
["vue/no-restricted-props"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
196
|
+
["vue/no-restricted-static-attribute"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
197
|
+
["vue/no-restricted-v-on"] = ConfiguredVueRuleOptions.restrictedNamesDef
|
|
198
|
+
["vue/no-unsupported-features"] = ConfiguredVueRuleOptions.unsupportedFeaturesDef
|
|
199
|
+
["vue/no-unused-script-vars"] = ConfiguredVueRuleOptions.noUnusedScriptVarsDef
|
|
200
|
+
["vue/prefer-const"] = ConfiguredVueRuleOptions.preferConstDef
|
|
185
201
|
["vue/enforce-style-attribute"] = new JsonSchema {
|
|
186
202
|
type = "object"
|
|
187
203
|
properties {
|
|
@@ -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
|
+
["noInlineConfig"] = new JsonSchema {
|
|
52
|
+
description = "Ignore eslint-disable comments in source files; defaults to false"
|
|
53
|
+
type = "boolean"
|
|
54
|
+
}
|
|
51
55
|
["reportUnusedDisableDirectives"] = new JsonSchema {
|
|
52
56
|
description = "Report template eslint/oxlint disable comments that suppress no active rule; defaults to false"
|
|
53
57
|
type = "boolean"
|
package/pkl/vize.pkl
CHANGED
|
@@ -244,39 +244,6 @@ class NoRestrictedSyntaxOptions {
|
|
|
244
244
|
selectors: Listing<RestrictedSyntaxEntry> = new Listing {}
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
class BlockLangBlock {
|
|
248
|
-
lang: (String | Listing<String>)? = null
|
|
249
|
-
allowNoLang: Boolean? = null
|
|
250
|
-
required: Boolean? = null
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
class BlockLangOptions {
|
|
254
|
-
script: BlockLangBlock? = null
|
|
255
|
-
template: BlockLangBlock? = null
|
|
256
|
-
style: BlockLangBlock? = null
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
class MaxLinesObject {
|
|
260
|
-
max: Int? = null
|
|
261
|
-
skipComments: Boolean? = null
|
|
262
|
-
skipBlankLines: Boolean? = null
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
typealias MaxLinesOptions = Int | MaxLinesObject
|
|
266
|
-
|
|
267
|
-
class MaxLinesPerBlockOptions {
|
|
268
|
-
style: Int? = null
|
|
269
|
-
template: Int? = null
|
|
270
|
-
script: Int? = null
|
|
271
|
-
skipBlankLines: Boolean? = null
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
class SortKeysOptions {
|
|
275
|
-
order: "asc" | "desc" = "asc"
|
|
276
|
-
caseSensitive: Boolean = true
|
|
277
|
-
natural: Boolean = false
|
|
278
|
-
}
|
|
279
|
-
|
|
280
247
|
class LintRuleOptions {
|
|
281
248
|
`script/define-macros-order`: DefineMacrosOrderOptions? = null
|
|
282
249
|
`script/define-props-destructuring`: DefinePropsDestructuringOptions? = null
|
|
@@ -293,13 +260,28 @@ class LintRuleOptions {
|
|
|
293
260
|
`vue/no-bare-strings-in-template`: NoBareStringsInTemplateOptions? = null
|
|
294
261
|
`a11y/anchor-has-content`: AnchorHasContentOptions? = null
|
|
295
262
|
`a11y/label-has-for`: LabelHasForOptions? = null
|
|
296
|
-
`vue/block-lang`: BlockLangOptions? = null
|
|
297
|
-
`max-lines`: MaxLinesOptions? = null
|
|
298
|
-
`vue/max-lines-per-block`: MaxLinesPerBlockOptions? = null
|
|
263
|
+
`vue/block-lang`: LintRuleOptionTypes.BlockLangOptions? = null
|
|
264
|
+
`max-lines`: LintRuleOptionTypes.MaxLinesOptions? = null
|
|
265
|
+
`vue/max-lines-per-block`: LintRuleOptionTypes.MaxLinesPerBlockOptions? = null
|
|
266
|
+
`vue/max-props`: LintRuleOptionTypes.MaxPropsOptions? = null
|
|
267
|
+
`vue/max-template-depth`: LintRuleOptionTypes.MaxTemplateDepthOptions? = null
|
|
268
|
+
`vue/no-restricted-block`: LintRuleOptionTypes.RestrictedNames? = null
|
|
269
|
+
`vue/no-restricted-call-after-await`: LintRuleOptionTypes.CallAfterAwaitOptions? = null
|
|
270
|
+
`vue/no-restricted-class`: LintRuleOptionTypes.RestrictedNames? = null
|
|
271
|
+
`vue/no-restricted-component-names`: LintRuleOptionTypes.RestrictedNames? = null
|
|
272
|
+
`vue/no-restricted-component-options`: LintRuleOptionTypes.RestrictedNames? = null
|
|
273
|
+
`vue/no-restricted-custom-event`: LintRuleOptionTypes.RestrictedNames? = null
|
|
274
|
+
`vue/no-restricted-html-elements`: LintRuleOptionTypes.RestrictedNames? = null
|
|
275
|
+
`vue/no-restricted-props`: LintRuleOptionTypes.RestrictedNames? = null
|
|
276
|
+
`vue/no-restricted-static-attribute`: LintRuleOptionTypes.RestrictedNames? = null
|
|
277
|
+
`vue/no-restricted-v-on`: LintRuleOptionTypes.RestrictedNames? = null
|
|
278
|
+
`vue/no-unsupported-features`: LintRuleOptionTypes.UnsupportedFeaturesOptions? = null
|
|
279
|
+
`vue/no-unused-script-vars`: LintRuleOptionTypes.NoUnusedScriptVarsOptions? = null
|
|
280
|
+
`vue/prefer-const`: LintRuleOptionTypes.PreferConstOptions? = null
|
|
299
281
|
`vue/enforce-style-attribute`: EnforceStyleAttributeOptions? = null
|
|
300
282
|
`vue/no-restricted-syntax`: (Listing<RestrictedSyntaxEntry> | NoRestrictedSyntaxOptions)? = null
|
|
301
283
|
`vue/quote-props`: "as-needed"? = null
|
|
302
|
-
`vue/sort-keys`: SortKeysOptions? = null
|
|
284
|
+
`vue/sort-keys`: LintRuleOptionTypes.SortKeysOptions? = null
|
|
303
285
|
`vue/require-component-registration`: RequireComponentRegistrationOptions? = null
|
|
304
286
|
`vue/sfc-element-order`: SfcElementOrderOptions? = null
|
|
305
287
|
`vue/html-self-closing`: HtmlSelfClosingOptions? = null
|
|
@@ -330,12 +312,12 @@ class LinterConfig {
|
|
|
330
312
|
|
|
331
313
|
/// Enable the native reactivity-loss rule unless rules explicitly disable it.
|
|
332
314
|
strictReactivity: Boolean? = null
|
|
333
|
-
|
|
334
315
|
/// Fail when warnings exceed this non-negative limit; absent means unlimited.
|
|
335
316
|
maxWarnings: Int(isBetween(0, 9007199254740991))? = null
|
|
336
|
-
|
|
337
317
|
/// Report template eslint/oxlint disable comments that suppress no active rule
|
|
338
318
|
reportUnusedDisableDirectives: Boolean? = null
|
|
319
|
+
/// Ignore eslint-disable comments in source files
|
|
320
|
+
noInlineConfig: Boolean? = null
|
|
339
321
|
|
|
340
322
|
rules: Mapping<String, RuleSeverity>? = null
|
|
341
323
|
ruleOptions: LintRuleOptions? = null
|