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.
@@ -250,6 +250,10 @@
250
250
  "type": "integer",
251
251
  "minimum": 0
252
252
  },
253
+ "noInlineConfig": {
254
+ "description": "Ignore eslint-disable comments in source files; defaults to false",
255
+ "type": "boolean"
256
+ },
253
257
  "reportUnusedDisableDirectives": {
254
258
  "description": "Report template eslint/oxlint disable comments that suppress no active rule; defaults to false",
255
259
  "type": "boolean"
@@ -814,6 +818,267 @@
814
818
  },
815
819
  "additionalProperties": false
816
820
  },
821
+ "vue/max-props": {
822
+ "type": "object",
823
+ "properties": {
824
+ "maxProps": {
825
+ "type": "integer"
826
+ }
827
+ },
828
+ "additionalProperties": false
829
+ },
830
+ "vue/max-template-depth": {
831
+ "type": "object",
832
+ "properties": {
833
+ "maxDepth": {
834
+ "type": "integer"
835
+ }
836
+ },
837
+ "additionalProperties": false
838
+ },
839
+ "vue/no-restricted-block": {
840
+ "oneOf": [
841
+ {
842
+ "type": "string"
843
+ },
844
+ {
845
+ "type": "array",
846
+ "items": {
847
+ "type": "string"
848
+ }
849
+ }
850
+ ]
851
+ },
852
+ "vue/no-restricted-call-after-await": {
853
+ "oneOf": [
854
+ {
855
+ "type": "object",
856
+ "properties": {
857
+ "module": {
858
+ "type": "string"
859
+ },
860
+ "path": {
861
+ "oneOf": [
862
+ {
863
+ "type": "string"
864
+ },
865
+ {
866
+ "type": "array",
867
+ "items": {
868
+ "type": "string"
869
+ }
870
+ }
871
+ ]
872
+ },
873
+ "message": {
874
+ "type": "string"
875
+ }
876
+ },
877
+ "additionalProperties": false,
878
+ "required": ["module"]
879
+ },
880
+ {
881
+ "type": "array",
882
+ "items": {
883
+ "type": "object",
884
+ "properties": {
885
+ "module": {
886
+ "type": "string"
887
+ },
888
+ "path": {
889
+ "oneOf": [
890
+ {
891
+ "type": "string"
892
+ },
893
+ {
894
+ "type": "array",
895
+ "items": {
896
+ "type": "string"
897
+ }
898
+ }
899
+ ]
900
+ },
901
+ "message": {
902
+ "type": "string"
903
+ }
904
+ },
905
+ "additionalProperties": false,
906
+ "required": ["module"]
907
+ }
908
+ }
909
+ ]
910
+ },
911
+ "vue/no-restricted-class": {
912
+ "oneOf": [
913
+ {
914
+ "type": "string"
915
+ },
916
+ {
917
+ "type": "array",
918
+ "items": {
919
+ "type": "string"
920
+ }
921
+ }
922
+ ]
923
+ },
924
+ "vue/no-restricted-component-names": {
925
+ "oneOf": [
926
+ {
927
+ "type": "string"
928
+ },
929
+ {
930
+ "type": "array",
931
+ "items": {
932
+ "type": "string"
933
+ }
934
+ }
935
+ ]
936
+ },
937
+ "vue/no-restricted-component-options": {
938
+ "oneOf": [
939
+ {
940
+ "type": "string"
941
+ },
942
+ {
943
+ "type": "array",
944
+ "items": {
945
+ "type": "string"
946
+ }
947
+ }
948
+ ]
949
+ },
950
+ "vue/no-restricted-custom-event": {
951
+ "oneOf": [
952
+ {
953
+ "type": "string"
954
+ },
955
+ {
956
+ "type": "array",
957
+ "items": {
958
+ "type": "string"
959
+ }
960
+ }
961
+ ]
962
+ },
963
+ "vue/no-restricted-html-elements": {
964
+ "oneOf": [
965
+ {
966
+ "type": "string"
967
+ },
968
+ {
969
+ "type": "array",
970
+ "items": {
971
+ "type": "string"
972
+ }
973
+ }
974
+ ]
975
+ },
976
+ "vue/no-restricted-props": {
977
+ "oneOf": [
978
+ {
979
+ "type": "string"
980
+ },
981
+ {
982
+ "type": "array",
983
+ "items": {
984
+ "type": "string"
985
+ }
986
+ }
987
+ ]
988
+ },
989
+ "vue/no-restricted-static-attribute": {
990
+ "oneOf": [
991
+ {
992
+ "type": "string"
993
+ },
994
+ {
995
+ "type": "array",
996
+ "items": {
997
+ "type": "string"
998
+ }
999
+ }
1000
+ ]
1001
+ },
1002
+ "vue/no-restricted-v-on": {
1003
+ "oneOf": [
1004
+ {
1005
+ "type": "string"
1006
+ },
1007
+ {
1008
+ "type": "array",
1009
+ "items": {
1010
+ "type": "string"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ "vue/no-unsupported-features": {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "version": {
1019
+ "type": "string"
1020
+ },
1021
+ "ignores": {
1022
+ "type": "array",
1023
+ "items": {
1024
+ "type": "string"
1025
+ }
1026
+ }
1027
+ },
1028
+ "additionalProperties": false
1029
+ },
1030
+ "vue/no-unused-script-vars": {
1031
+ "type": "object",
1032
+ "properties": {
1033
+ "vars": {
1034
+ "type": "string",
1035
+ "enum": ["all", "local"]
1036
+ },
1037
+ "varsIgnorePattern": {
1038
+ "type": "string"
1039
+ },
1040
+ "args": {
1041
+ "type": "string",
1042
+ "enum": ["all", "after-used", "none"]
1043
+ },
1044
+ "argsIgnorePattern": {
1045
+ "type": "string"
1046
+ },
1047
+ "caughtErrors": {
1048
+ "type": "string",
1049
+ "enum": ["all", "none"]
1050
+ },
1051
+ "caughtErrorsIgnorePattern": {
1052
+ "type": "string"
1053
+ },
1054
+ "destructuredArrayIgnorePattern": {
1055
+ "type": "string"
1056
+ },
1057
+ "ignoreRestSiblings": {
1058
+ "type": "boolean"
1059
+ },
1060
+ "ignoreClassWithStaticInitBlock": {
1061
+ "type": "boolean"
1062
+ },
1063
+ "reportUsedIgnorePattern": {
1064
+ "type": "boolean"
1065
+ }
1066
+ },
1067
+ "additionalProperties": false
1068
+ },
1069
+ "vue/prefer-const": {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "destructuring": {
1073
+ "type": "string",
1074
+ "enum": ["any", "all"]
1075
+ },
1076
+ "ignoreReadBeforeAssign": {
1077
+ "type": "boolean"
1078
+ }
1079
+ },
1080
+ "additionalProperties": false
1081
+ },
817
1082
  "vue/enforce-style-attribute": {
818
1083
  "type": "object",
819
1084
  "properties": {
@@ -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
+ * Ignore eslint-disable comments in source files; defaults to false
241
+ */
242
+ noInlineConfig?: boolean;
239
243
  /**
240
244
  * Report template eslint/oxlint disable comments that suppress no active rule; defaults to false
241
245
  */
@@ -342,6 +346,52 @@ export interface LintRuleOptions {
342
346
  script?: number;
343
347
  skipBlankLines?: boolean;
344
348
  };
349
+ "vue/max-props"?: {
350
+ maxProps?: number;
351
+ };
352
+ "vue/max-template-depth"?: {
353
+ maxDepth?: number;
354
+ };
355
+ "vue/no-restricted-block"?: string | string[];
356
+ "vue/no-restricted-call-after-await"?:
357
+ | {
358
+ module: string;
359
+ path?: string | string[];
360
+ message?: string;
361
+ }
362
+ | {
363
+ module: string;
364
+ path?: string | string[];
365
+ message?: string;
366
+ }[];
367
+ "vue/no-restricted-class"?: string | string[];
368
+ "vue/no-restricted-component-names"?: string | string[];
369
+ "vue/no-restricted-component-options"?: string | string[];
370
+ "vue/no-restricted-custom-event"?: string | string[];
371
+ "vue/no-restricted-html-elements"?: string | string[];
372
+ "vue/no-restricted-props"?: string | string[];
373
+ "vue/no-restricted-static-attribute"?: string | string[];
374
+ "vue/no-restricted-v-on"?: string | string[];
375
+ "vue/no-unsupported-features"?: {
376
+ version?: string;
377
+ ignores?: string[];
378
+ };
379
+ "vue/no-unused-script-vars"?: {
380
+ vars?: "all" | "local";
381
+ varsIgnorePattern?: string;
382
+ args?: "all" | "after-used" | "none";
383
+ argsIgnorePattern?: string;
384
+ caughtErrors?: "all" | "none";
385
+ caughtErrorsIgnorePattern?: string;
386
+ destructuredArrayIgnorePattern?: string;
387
+ ignoreRestSiblings?: boolean;
388
+ ignoreClassWithStaticInitBlock?: boolean;
389
+ reportUsedIgnorePattern?: boolean;
390
+ };
391
+ "vue/prefer-const"?: {
392
+ destructuring?: "any" | "all";
393
+ ignoreReadBeforeAssign?: boolean;
394
+ };
345
395
  "vue/enforce-style-attribute"?: {
346
396
  allow?: ("plain" | "scoped" | "module")[];
347
397
  };
@@ -32,6 +32,7 @@ export const LINT_RULE_NAMES = [
32
32
  "a11y/no-static-element-interactions",
33
33
  "a11y/placeholder-label-option",
34
34
  "a11y/role-has-required-aria-props",
35
+ "a11y/role-img-has-name",
35
36
  "a11y/tabindex-no-positive",
36
37
  "a11y/use-list",
37
38
  "css/no-display-none",
@@ -156,12 +157,51 @@ export const LINT_RULE_NAMES = [
156
157
  "script/valid-next-tick",
157
158
  "ssr/no-browser-globals-in-ssr",
158
159
  "ssr/no-hydration-mismatch",
160
+ "type/await-thenable",
161
+ "type/no-array-delete",
162
+ "type/no-base-to-string",
163
+ "type/no-confusing-void-expression",
164
+ "type/no-deprecated",
165
+ "type/no-duplicate-type-constituents",
159
166
  "type/no-floating-promises",
167
+ "type/no-for-in-array",
168
+ "type/no-generated-empty-object-type",
169
+ "type/no-implied-eval",
170
+ "type/no-meaningless-void-operator",
171
+ "type/no-misused-promises",
172
+ "type/no-misused-spread",
173
+ "type/no-mixed-enums",
160
174
  "type/no-reactivity-loss",
175
+ "type/no-redundant-type-constituents",
176
+ "type/no-unnecessary-boolean-literal-compare",
177
+ "type/no-unnecessary-condition",
178
+ "type/no-unnecessary-template-expression",
179
+ "type/no-unnecessary-type-arguments",
180
+ "type/no-unnecessary-type-assertion",
181
+ "type/no-unnecessary-type-conversion",
182
+ "type/no-unsafe-argument",
183
+ "type/no-unsafe-assignment",
184
+ "type/no-unsafe-call",
185
+ "type/no-unsafe-enum-assignment",
186
+ "type/no-unsafe-enum-comparison",
187
+ "type/no-unsafe-member-access",
188
+ "type/no-unsafe-return",
161
189
  "type/no-unsafe-template-binding",
190
+ "type/no-unsafe-unary-minus",
191
+ "type/only-throw-error",
192
+ "type/prefer-promise-reject-errors",
193
+ "type/prefer-reduce-type-parameter",
194
+ "type/prefer-return-this-type",
195
+ "type/related-getter-setter-pairs",
196
+ "type/require-await",
162
197
  "type/require-typed-emits",
163
198
  "type/require-typed-props",
199
+ "type/restrict-plus-operands",
200
+ "type/restrict-template-expressions",
201
+ "type/return-await",
164
202
  "type/strict-boolean-expressions",
203
+ "type/unbound-method",
204
+ "type/use-unknown-in-catch-callback-variable",
165
205
  "vapor/no-inline-template",
166
206
  "vapor/no-vue-lifecycle-events",
167
207
  "vapor/prefer-static-class",
@@ -184,7 +224,9 @@ export const LINT_RULE_NAMES = [
184
224
  "vue/jsx-uses-vars",
185
225
  "vue/match-component-file-name",
186
226
  "vue/max-lines-per-block",
227
+ "vue/max-props",
187
228
  "vue/max-template-complexity",
229
+ "vue/max-template-depth",
188
230
  "vue/multi-word-component-names",
189
231
  "vue/mustache-interpolation-spacing",
190
232
  "vue/next-tick-style",
@@ -231,8 +273,18 @@ export const LINT_RULE_NAMES = [
231
273
  "vue/no-props-shadow",
232
274
  "vue/no-ref-object-reactivity-loss",
233
275
  "vue/no-reserved-component-names",
276
+ "vue/no-restricted-block",
277
+ "vue/no-restricted-call-after-await",
278
+ "vue/no-restricted-class",
279
+ "vue/no-restricted-component-names",
280
+ "vue/no-restricted-component-options",
281
+ "vue/no-restricted-custom-event",
282
+ "vue/no-restricted-html-elements",
283
+ "vue/no-restricted-props",
284
+ "vue/no-restricted-static-attribute",
234
285
  "vue/no-restricted-syntax",
235
286
  "vue/no-restricted-v-bind",
287
+ "vue/no-restricted-v-on",
236
288
  "vue/no-root-v-if",
237
289
  "vue/no-script-non-standard-lang",
238
290
  "vue/no-setup-props-reactivity-loss",
@@ -249,9 +301,11 @@ export const LINT_RULE_NAMES = [
249
301
  "vue/no-undefined-refs",
250
302
  "vue/no-unsafe-url",
251
303
  "vue/no-unsandboxed-iframe",
304
+ "vue/no-unsupported-features",
252
305
  "vue/no-unused-components",
253
306
  "vue/no-unused-properties",
254
307
  "vue/no-unused-refs",
308
+ "vue/no-unused-script-vars",
255
309
  "vue/no-unused-setup-bindings",
256
310
  "vue/no-unused-vars",
257
311
  "vue/no-use-v-else-with-v-for",
@@ -267,6 +321,7 @@ export const LINT_RULE_NAMES = [
267
321
  "vue/no-v-text-v-html-on-component",
268
322
  "vue/object-shorthand",
269
323
  "vue/permitted-contents",
324
+ "vue/prefer-const",
270
325
  "vue/prefer-prop-type-boolean-first",
271
326
  "vue/prefer-props-shorthand",
272
327
  "vue/prefer-template",