@vinicunca/eslint-config 3.26.0 → 3.28.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/index.d.ts +134 -6
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -777,6 +777,11 @@ interface RuleOptions {
|
|
|
777
777
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
778
778
|
*/
|
|
779
779
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
780
|
+
/**
|
|
781
|
+
* Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
|
|
782
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
|
|
783
|
+
*/
|
|
784
|
+
'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>;
|
|
780
785
|
/**
|
|
781
786
|
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
782
787
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
@@ -857,6 +862,11 @@ interface RuleOptions {
|
|
|
857
862
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
858
863
|
*/
|
|
859
864
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
865
|
+
/**
|
|
866
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
867
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
868
|
+
*/
|
|
869
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
860
870
|
/**
|
|
861
871
|
* Reports use of `any` or `*` type
|
|
862
872
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
@@ -972,11 +982,21 @@ interface RuleOptions {
|
|
|
972
982
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
973
983
|
*/
|
|
974
984
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
985
|
+
/**
|
|
986
|
+
* Requires tags be present, optionally for specific contexts
|
|
987
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
988
|
+
*/
|
|
989
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
975
990
|
/**
|
|
976
991
|
* Requires `@template` tags be present when type parameters are used.
|
|
977
992
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
978
993
|
*/
|
|
979
994
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
995
|
+
/**
|
|
996
|
+
* Requires a description for `@template` tags
|
|
997
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
998
|
+
*/
|
|
999
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
|
|
980
1000
|
/**
|
|
981
1001
|
* Requires that throw statements are documented with `@throws` tags.
|
|
982
1002
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -1018,7 +1038,7 @@ interface RuleOptions {
|
|
|
1018
1038
|
*/
|
|
1019
1039
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
1020
1040
|
/**
|
|
1021
|
-
* Enforces lines (or no lines) between tags.
|
|
1041
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
1022
1042
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
1023
1043
|
*/
|
|
1024
1044
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -1027,6 +1047,26 @@ interface RuleOptions {
|
|
|
1027
1047
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
1028
1048
|
*/
|
|
1029
1049
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Prefers either function properties or method signatures
|
|
1052
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
|
|
1053
|
+
*/
|
|
1054
|
+
'jsdoc/ts-method-signature-style'?: Linter.RuleEntry<JsdocTsMethodSignatureStyle>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Warns against use of the empty object type
|
|
1057
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-empty-object-type.md#repos-sticky-header
|
|
1058
|
+
*/
|
|
1059
|
+
'jsdoc/ts-no-empty-object-type'?: Linter.RuleEntry<[]>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Catches unnecessary template expressions such as string expressions within a template literal.
|
|
1062
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-unnecessary-template-expression.md#repos-sticky-header
|
|
1063
|
+
*/
|
|
1064
|
+
'jsdoc/ts-no-unnecessary-template-expression'?: Linter.RuleEntry<JsdocTsNoUnnecessaryTemplateExpression>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Prefers function types over call signatures when there are no other properties.
|
|
1067
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-prefer-function-type.md#repos-sticky-header
|
|
1068
|
+
*/
|
|
1069
|
+
'jsdoc/ts-prefer-function-type'?: Linter.RuleEntry<JsdocTsPreferFunctionType>;
|
|
1030
1070
|
/**
|
|
1031
1071
|
* Formats JSDoc type values.
|
|
1032
1072
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
@@ -1369,7 +1409,7 @@ interface RuleOptions {
|
|
|
1369
1409
|
* Disallow missing label references
|
|
1370
1410
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1371
1411
|
*/
|
|
1372
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
1412
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
1373
1413
|
/**
|
|
1374
1414
|
* Disallow link fragments that do not reference valid headings
|
|
1375
1415
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -1380,6 +1420,11 @@ interface RuleOptions {
|
|
|
1380
1420
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1381
1421
|
*/
|
|
1382
1422
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Disallow URLs that match defined reference identifiers
|
|
1425
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
1426
|
+
*/
|
|
1427
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>;
|
|
1383
1428
|
/**
|
|
1384
1429
|
* Disallow reversed link and image syntax
|
|
1385
1430
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
@@ -6310,6 +6355,11 @@ interface RuleOptions {
|
|
|
6310
6355
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
6311
6356
|
*/
|
|
6312
6357
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
6358
|
+
/**
|
|
6359
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
6360
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
6361
|
+
*/
|
|
6362
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
6313
6363
|
/**
|
|
6314
6364
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
6315
6365
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -6370,6 +6420,11 @@ interface RuleOptions {
|
|
|
6370
6420
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
6371
6421
|
*/
|
|
6372
6422
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
6423
|
+
/**
|
|
6424
|
+
* prefer dynamic import in mock
|
|
6425
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
6426
|
+
*/
|
|
6427
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
6373
6428
|
/**
|
|
6374
6429
|
* enforce importing Vitest globals
|
|
6375
6430
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -7028,7 +7083,7 @@ interface RuleOptions {
|
|
|
7028
7083
|
* Disallow member access on a value with type `any`
|
|
7029
7084
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
7030
7085
|
*/
|
|
7031
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
7086
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
7032
7087
|
/**
|
|
7033
7088
|
* Disallow returning a value with type `any` from a function
|
|
7034
7089
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -8320,7 +8375,7 @@ interface RuleOptions {
|
|
|
8320
8375
|
* disallow asynchronous actions in computed properties
|
|
8321
8376
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
8322
8377
|
*/
|
|
8323
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
8378
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
8324
8379
|
/**
|
|
8325
8380
|
* disallow the use of bare strings in `<template>`
|
|
8326
8381
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -8821,7 +8876,7 @@ interface RuleOptions {
|
|
|
8821
8876
|
* disallow use of v-html to prevent XSS attack
|
|
8822
8877
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
8823
8878
|
*/
|
|
8824
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
8879
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
8825
8880
|
/**
|
|
8826
8881
|
* disallow adding an argument to `v-model` used in custom component
|
|
8827
8882
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -9429,7 +9484,6 @@ interface RuleOptions {
|
|
|
9429
9484
|
*/
|
|
9430
9485
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
9431
9486
|
}
|
|
9432
|
-
|
|
9433
9487
|
/* ======= Declarations ======= */
|
|
9434
9488
|
// ----- accessor-pairs -----
|
|
9435
9489
|
type AccessorPairs = [] | [{
|
|
@@ -9869,6 +9923,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
9869
9923
|
type JsdocCheckTagNames = [] | [{
|
|
9870
9924
|
definedTags?: string[];
|
|
9871
9925
|
enableFixer?: boolean;
|
|
9926
|
+
inlineTags?: string[];
|
|
9872
9927
|
jsxTags?: boolean;
|
|
9873
9928
|
typed?: boolean;
|
|
9874
9929
|
}];
|
|
@@ -9911,6 +9966,12 @@ type JsdocConvertToJsdocComments = [] | [{
|
|
|
9911
9966
|
type JsdocEmptyTags = [] | [{
|
|
9912
9967
|
tags?: string[];
|
|
9913
9968
|
}];
|
|
9969
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
9970
|
+
type JsdocEscapeInlineTags = [] | [{
|
|
9971
|
+
allowedInlineTags?: string[];
|
|
9972
|
+
enableFixer?: boolean;
|
|
9973
|
+
fixType?: ("backticks" | "backslash");
|
|
9974
|
+
}];
|
|
9914
9975
|
// ----- jsdoc/implements-on-classes -----
|
|
9915
9976
|
type JsdocImplementsOnClasses = [] | [{
|
|
9916
9977
|
contexts?: (string | {
|
|
@@ -10027,10 +10088,17 @@ type JsdocNoTypes = [] | [{
|
|
|
10027
10088
|
}];
|
|
10028
10089
|
// ----- jsdoc/no-undefined-types -----
|
|
10029
10090
|
type JsdocNoUndefinedTypes = [] | [{
|
|
10091
|
+
checkUsedTypedefs?: boolean;
|
|
10030
10092
|
definedTypes?: string[];
|
|
10031
10093
|
disableReporting?: boolean;
|
|
10032
10094
|
markVariablesAsUsed?: boolean;
|
|
10033
10095
|
}];
|
|
10096
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
10097
|
+
type JsdocPreferImportTag = [] | [{
|
|
10098
|
+
enableFixer?: boolean;
|
|
10099
|
+
exemptTypedefs?: boolean;
|
|
10100
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
10101
|
+
}];
|
|
10034
10102
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
10035
10103
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
10036
10104
|
tags?: {
|
|
@@ -10190,6 +10258,7 @@ type JsdocRequireReturns = [] | [{
|
|
|
10190
10258
|
type JsdocRequireReturnsCheck = [] | [{
|
|
10191
10259
|
exemptAsync?: boolean;
|
|
10192
10260
|
exemptGenerators?: boolean;
|
|
10261
|
+
noNativeTypes?: boolean;
|
|
10193
10262
|
reportMissingReturnForUndefinedTypes?: boolean;
|
|
10194
10263
|
}];
|
|
10195
10264
|
// ----- jsdoc/require-returns-description -----
|
|
@@ -10206,6 +10275,14 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
10206
10275
|
context?: string;
|
|
10207
10276
|
})[];
|
|
10208
10277
|
}];
|
|
10278
|
+
// ----- jsdoc/require-tags -----
|
|
10279
|
+
type JsdocRequireTags = [] | [{
|
|
10280
|
+
tags?: (string | {
|
|
10281
|
+
context?: string;
|
|
10282
|
+
tag?: string;
|
|
10283
|
+
[k: string]: unknown | undefined;
|
|
10284
|
+
})[];
|
|
10285
|
+
}];
|
|
10209
10286
|
// ----- jsdoc/require-template -----
|
|
10210
10287
|
type JsdocRequireTemplate = [] | [{
|
|
10211
10288
|
exemptedBy?: string[];
|
|
@@ -10256,6 +10333,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
10256
10333
|
applyToEndTag?: boolean;
|
|
10257
10334
|
count?: number;
|
|
10258
10335
|
endLines?: (number | null);
|
|
10336
|
+
maxBlockLines?: (number | null);
|
|
10259
10337
|
startLines?: (number | null);
|
|
10260
10338
|
tags?: {
|
|
10261
10339
|
[k: string]: {
|
|
@@ -10269,16 +10347,44 @@ type JsdocTextEscaping = [] | [{
|
|
|
10269
10347
|
escapeHTML?: boolean;
|
|
10270
10348
|
escapeMarkdown?: boolean;
|
|
10271
10349
|
}];
|
|
10350
|
+
// ----- jsdoc/ts-method-signature-style -----
|
|
10351
|
+
type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
|
|
10352
|
+
enableFixer?: boolean;
|
|
10353
|
+
}];
|
|
10354
|
+
// ----- jsdoc/ts-no-unnecessary-template-expression -----
|
|
10355
|
+
type JsdocTsNoUnnecessaryTemplateExpression = [] | [{
|
|
10356
|
+
enableFixer?: boolean;
|
|
10357
|
+
}];
|
|
10358
|
+
// ----- jsdoc/ts-prefer-function-type -----
|
|
10359
|
+
type JsdocTsPreferFunctionType = [] | [{
|
|
10360
|
+
enableFixer?: boolean;
|
|
10361
|
+
}];
|
|
10272
10362
|
// ----- jsdoc/type-formatting -----
|
|
10273
10363
|
type JsdocTypeFormatting = [] | [{
|
|
10274
10364
|
arrayBrackets?: ("angle" | "square");
|
|
10365
|
+
arrowFunctionPostReturnMarkerSpacing?: string;
|
|
10366
|
+
arrowFunctionPreReturnMarkerSpacing?: string;
|
|
10275
10367
|
enableFixer?: boolean;
|
|
10368
|
+
functionOrClassParameterSpacing?: string;
|
|
10369
|
+
functionOrClassPostGenericSpacing?: string;
|
|
10370
|
+
functionOrClassPostReturnMarkerSpacing?: string;
|
|
10371
|
+
functionOrClassPreReturnMarkerSpacing?: string;
|
|
10372
|
+
functionOrClassTypeParameterSpacing?: string;
|
|
10373
|
+
genericAndTupleElementSpacing?: string;
|
|
10276
10374
|
genericDot?: boolean;
|
|
10375
|
+
keyValuePostColonSpacing?: string;
|
|
10376
|
+
keyValuePostKeySpacing?: string;
|
|
10377
|
+
keyValuePostOptionalSpacing?: string;
|
|
10378
|
+
keyValuePostVariadicSpacing?: string;
|
|
10379
|
+
methodQuotes?: ("double" | "single");
|
|
10277
10380
|
objectFieldIndent?: string;
|
|
10278
10381
|
objectFieldQuote?: ("double" | "single" | null);
|
|
10279
10382
|
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
10280
10383
|
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
10281
10384
|
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
10385
|
+
parameterDefaultValueSpacing?: string;
|
|
10386
|
+
postMethodNameSpacing?: string;
|
|
10387
|
+
postNewSpacing?: string;
|
|
10282
10388
|
separatorForSingleObjectField?: boolean;
|
|
10283
10389
|
stringQuotes?: ("double" | "single");
|
|
10284
10390
|
typeBracketSpacing?: string;
|
|
@@ -10972,6 +11078,10 @@ type MarkdownNoHtml = [] | [{
|
|
|
10972
11078
|
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
10973
11079
|
checkClosedHeadings?: boolean;
|
|
10974
11080
|
}];
|
|
11081
|
+
// ----- markdown/no-missing-label-refs -----
|
|
11082
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
11083
|
+
allowLabels?: string[];
|
|
11084
|
+
}];
|
|
10975
11085
|
// ----- markdown/no-missing-link-fragments -----
|
|
10976
11086
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
10977
11087
|
ignoreCase?: boolean;
|
|
@@ -11356,12 +11466,14 @@ type NoRestrictedImports = ((string | {
|
|
|
11356
11466
|
message?: string;
|
|
11357
11467
|
importNames?: string[];
|
|
11358
11468
|
allowImportNames?: string[];
|
|
11469
|
+
allowTypeImports?: boolean;
|
|
11359
11470
|
})[] | [] | [{
|
|
11360
11471
|
paths?: (string | {
|
|
11361
11472
|
name: string;
|
|
11362
11473
|
message?: string;
|
|
11363
11474
|
importNames?: string[];
|
|
11364
11475
|
allowImportNames?: string[];
|
|
11476
|
+
allowTypeImports?: boolean;
|
|
11365
11477
|
})[];
|
|
11366
11478
|
patterns?: (string[] | ({
|
|
11367
11479
|
[k: string]: unknown | undefined;
|
|
@@ -16378,6 +16490,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
16378
16490
|
checkLiteralConstAssertions?: boolean;
|
|
16379
16491
|
typesToIgnore?: string[];
|
|
16380
16492
|
}];
|
|
16493
|
+
// ----- ts/no-unsafe-member-access -----
|
|
16494
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
16495
|
+
allowOptionalChaining?: boolean;
|
|
16496
|
+
}];
|
|
16381
16497
|
// ----- ts/no-unused-expressions -----
|
|
16382
16498
|
type TsNoUnusedExpressions = [] | [{
|
|
16383
16499
|
allowShortCircuit?: boolean;
|
|
@@ -16395,6 +16511,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
16395
16511
|
destructuredArrayIgnorePattern?: string;
|
|
16396
16512
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
16397
16513
|
ignoreRestSiblings?: boolean;
|
|
16514
|
+
ignoreUsingDeclarations?: boolean;
|
|
16398
16515
|
reportUsedIgnorePattern?: boolean;
|
|
16399
16516
|
vars?: ("all" | "local");
|
|
16400
16517
|
varsIgnorePattern?: string;
|
|
@@ -16864,6 +16981,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
16864
16981
|
destructuredArrayIgnorePattern?: string;
|
|
16865
16982
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
16866
16983
|
ignoreRestSiblings?: boolean;
|
|
16984
|
+
ignoreUsingDeclarations?: boolean;
|
|
16867
16985
|
reportUsedIgnorePattern?: boolean;
|
|
16868
16986
|
vars?: ("all" | "local");
|
|
16869
16987
|
varsIgnorePattern?: string;
|
|
@@ -16877,6 +16995,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
16877
16995
|
destructuredArrayIgnorePattern?: string;
|
|
16878
16996
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
16879
16997
|
ignoreRestSiblings?: boolean;
|
|
16998
|
+
ignoreUsingDeclarations?: boolean;
|
|
16880
16999
|
reportUsedIgnorePattern?: boolean;
|
|
16881
17000
|
vars?: ("all" | "local");
|
|
16882
17001
|
varsIgnorePattern?: string;
|
|
@@ -16928,6 +17047,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
16928
17047
|
type VueAttributesOrder = [] | [{
|
|
16929
17048
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
16930
17049
|
alphabetical?: boolean;
|
|
17050
|
+
sortLineLength?: boolean;
|
|
16931
17051
|
}];
|
|
16932
17052
|
// ----- vue/block-lang -----
|
|
16933
17053
|
type VueBlockLang = [] | [{
|
|
@@ -17574,6 +17694,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
17574
17694
|
}];
|
|
17575
17695
|
// ----- vue/next-tick-style -----
|
|
17576
17696
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
17697
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
17698
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
17699
|
+
ignoredObjectNames?: string[];
|
|
17700
|
+
}];
|
|
17577
17701
|
// ----- vue/no-bare-strings-in-template -----
|
|
17578
17702
|
type VueNoBareStringsInTemplate = [] | [{
|
|
17579
17703
|
allowlist?: string[];
|
|
@@ -17858,6 +17982,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
17858
17982
|
ignoreIncludesComment?: boolean;
|
|
17859
17983
|
ignoreStringEscape?: boolean;
|
|
17860
17984
|
}];
|
|
17985
|
+
// ----- vue/no-v-html -----
|
|
17986
|
+
type VueNoVHtml = [] | [{
|
|
17987
|
+
ignorePattern?: string;
|
|
17988
|
+
}];
|
|
17861
17989
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
17862
17990
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
17863
17991
|
allow?: string[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.28.0",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -109,12 +109,12 @@
|
|
|
109
109
|
"@antfu/install-pkg": "^1.1.0",
|
|
110
110
|
"@clack/prompts": "^0.11.0",
|
|
111
111
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
112
|
-
"@eslint/markdown": "^7.
|
|
112
|
+
"@eslint/markdown": "^7.4.0",
|
|
113
113
|
"@stylistic/eslint-plugin": "^5.4.0",
|
|
114
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
115
|
-
"@typescript-eslint/parser": "^8.
|
|
116
|
-
"@unocss/eslint-plugin": "^66.5.
|
|
117
|
-
"@vitest/eslint-plugin": "^1.3.
|
|
114
|
+
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
115
|
+
"@typescript-eslint/parser": "^8.46.0",
|
|
116
|
+
"@unocss/eslint-plugin": "^66.5.3",
|
|
117
|
+
"@vitest/eslint-plugin": "^1.3.16",
|
|
118
118
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
119
119
|
"eslint-flat-config-utils": "^2.1.4",
|
|
120
120
|
"eslint-merge-processors": "^2.0.0",
|
|
@@ -122,22 +122,22 @@
|
|
|
122
122
|
"eslint-plugin-command": "^3.3.1",
|
|
123
123
|
"eslint-plugin-format": "^1.0.2",
|
|
124
124
|
"eslint-plugin-import-lite": "^0.3.0",
|
|
125
|
-
"eslint-plugin-jsdoc": "^
|
|
126
|
-
"eslint-plugin-jsonc": "^2.
|
|
125
|
+
"eslint-plugin-jsdoc": "^61.1.0",
|
|
126
|
+
"eslint-plugin-jsonc": "^2.21.0",
|
|
127
127
|
"eslint-plugin-n": "^17.23.1",
|
|
128
128
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
129
|
-
"eslint-plugin-perfectionist": "^4.15.
|
|
130
|
-
"eslint-plugin-pnpm": "^1.
|
|
129
|
+
"eslint-plugin-perfectionist": "^4.15.1",
|
|
130
|
+
"eslint-plugin-pnpm": "^1.2.0",
|
|
131
131
|
"eslint-plugin-regexp": "^2.10.0",
|
|
132
132
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
133
133
|
"eslint-plugin-toml": "^0.12.0",
|
|
134
134
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
135
135
|
"eslint-plugin-unused-imports": "^4.2.0",
|
|
136
|
-
"eslint-plugin-vue": "^10.
|
|
137
|
-
"eslint-plugin-yml": "^1.
|
|
136
|
+
"eslint-plugin-vue": "^10.5.0",
|
|
137
|
+
"eslint-plugin-yml": "^1.19.0",
|
|
138
138
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
139
139
|
"globals": "^16.4.0",
|
|
140
|
-
"jsonc-eslint-parser": "^2.4.
|
|
140
|
+
"jsonc-eslint-parser": "^2.4.1",
|
|
141
141
|
"local-pkg": "^1.1.2",
|
|
142
142
|
"toml-eslint-parser": "^0.10.0",
|
|
143
143
|
"vue-eslint-parser": "^10.2.0",
|