@jsse/eslint-config 0.1.19 → 0.1.20
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/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.cts +68 -3
- package/dist/index.d.ts +68 -3
- package/package.json +15 -15
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -5075,6 +5075,11 @@ interface JsdocRuleOptions {
|
|
|
5075
5075
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
|
|
5076
5076
|
*/
|
|
5077
5077
|
"jsdoc/check-values"?: Linter.RuleEntry<JsdocCheckValues>;
|
|
5078
|
+
/**
|
|
5079
|
+
* Converts non-JSDoc comments preceding or following nodes into JSDoc ones
|
|
5080
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
|
|
5081
|
+
*/
|
|
5082
|
+
"jsdoc/convert-to-jsdoc-comments"?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
5078
5083
|
/**
|
|
5079
5084
|
* Expects specific tags to be empty of any content.
|
|
5080
5085
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
@@ -5249,6 +5254,11 @@ interface JsdocRuleOptions {
|
|
|
5249
5254
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
5250
5255
|
*/
|
|
5251
5256
|
"jsdoc/require-returns-type"?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
5257
|
+
/**
|
|
5258
|
+
* Requires template tags for each generic type parameter
|
|
5259
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
5260
|
+
*/
|
|
5261
|
+
"jsdoc/require-template"?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
5252
5262
|
/**
|
|
5253
5263
|
* Requires that throw statements are documented.
|
|
5254
5264
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -5398,6 +5408,38 @@ type JsdocCheckValues =
|
|
|
5398
5408
|
numericOnlyVariation?: boolean;
|
|
5399
5409
|
},
|
|
5400
5410
|
];
|
|
5411
|
+
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
5412
|
+
type JsdocConvertToJsdocComments =
|
|
5413
|
+
| []
|
|
5414
|
+
| [
|
|
5415
|
+
{
|
|
5416
|
+
allowedPrefixes?: string[];
|
|
5417
|
+
contexts?: (
|
|
5418
|
+
| string
|
|
5419
|
+
| {
|
|
5420
|
+
context?: string;
|
|
5421
|
+
inlineCommentBlock?: boolean;
|
|
5422
|
+
}
|
|
5423
|
+
)[];
|
|
5424
|
+
contextsAfter?: (
|
|
5425
|
+
| string
|
|
5426
|
+
| {
|
|
5427
|
+
context?: string;
|
|
5428
|
+
inlineCommentBlock?: boolean;
|
|
5429
|
+
}
|
|
5430
|
+
)[];
|
|
5431
|
+
contextsBeforeAndAfter?: (
|
|
5432
|
+
| string
|
|
5433
|
+
| {
|
|
5434
|
+
context?: string;
|
|
5435
|
+
inlineCommentBlock?: boolean;
|
|
5436
|
+
}
|
|
5437
|
+
)[];
|
|
5438
|
+
enableFixer?: boolean;
|
|
5439
|
+
enforceJsdocLineStyle?: "multi" | "single";
|
|
5440
|
+
lineOrBlockStyle?: "block" | "line" | "both";
|
|
5441
|
+
},
|
|
5442
|
+
];
|
|
5401
5443
|
// ----- jsdoc/empty-tags -----
|
|
5402
5444
|
type JsdocEmptyTags =
|
|
5403
5445
|
| []
|
|
@@ -5865,6 +5907,14 @@ type JsdocRequireReturnsType =
|
|
|
5865
5907
|
)[];
|
|
5866
5908
|
},
|
|
5867
5909
|
];
|
|
5910
|
+
// ----- jsdoc/require-template -----
|
|
5911
|
+
type JsdocRequireTemplate =
|
|
5912
|
+
| []
|
|
5913
|
+
| [
|
|
5914
|
+
{
|
|
5915
|
+
requireSeparateTemplates?: boolean;
|
|
5916
|
+
},
|
|
5917
|
+
];
|
|
5868
5918
|
// ----- jsdoc/require-throws -----
|
|
5869
5919
|
type JsdocRequireThrows =
|
|
5870
5920
|
| []
|
|
@@ -14523,6 +14573,13 @@ interface TypescriptRuleOptions {
|
|
|
14523
14573
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
14524
14574
|
*/
|
|
14525
14575
|
"@typescript-eslint/no-unnecessary-condition"?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
|
|
14576
|
+
/**
|
|
14577
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
14578
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
14579
|
+
*/
|
|
14580
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment"?: Linter.RuleEntry<
|
|
14581
|
+
[]
|
|
14582
|
+
>;
|
|
14526
14583
|
/**
|
|
14527
14584
|
* Disallow unnecessary namespace qualifiers
|
|
14528
14585
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -14550,6 +14607,11 @@ interface TypescriptRuleOptions {
|
|
|
14550
14607
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
14551
14608
|
*/
|
|
14552
14609
|
"@typescript-eslint/no-unnecessary-type-constraint"?: Linter.RuleEntry<[]>;
|
|
14610
|
+
/**
|
|
14611
|
+
* Disallow type parameters that only appear once
|
|
14612
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
14613
|
+
*/
|
|
14614
|
+
"@typescript-eslint/no-unnecessary-type-parameters"?: Linter.RuleEntry<[]>;
|
|
14553
14615
|
/**
|
|
14554
14616
|
* Disallow calling a function with a value with type `any`
|
|
14555
14617
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -18501,9 +18563,6 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18501
18563
|
| []
|
|
18502
18564
|
| [
|
|
18503
18565
|
{
|
|
18504
|
-
ignoreVoid?: boolean;
|
|
18505
|
-
|
|
18506
|
-
ignoreIIFE?: boolean;
|
|
18507
18566
|
allowForKnownSafePromises?: (
|
|
18508
18567
|
| string
|
|
18509
18568
|
| {
|
|
@@ -18521,6 +18580,12 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18521
18580
|
package: string;
|
|
18522
18581
|
}
|
|
18523
18582
|
)[];
|
|
18583
|
+
|
|
18584
|
+
checkThenables?: boolean;
|
|
18585
|
+
|
|
18586
|
+
ignoreVoid?: boolean;
|
|
18587
|
+
|
|
18588
|
+
ignoreIIFE?: boolean;
|
|
18524
18589
|
},
|
|
18525
18590
|
];
|
|
18526
18591
|
// ----- @typescript-eslint/no-inferrable-types -----
|
package/dist/index.d.ts
CHANGED
|
@@ -5075,6 +5075,11 @@ interface JsdocRuleOptions {
|
|
|
5075
5075
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
|
|
5076
5076
|
*/
|
|
5077
5077
|
"jsdoc/check-values"?: Linter.RuleEntry<JsdocCheckValues>;
|
|
5078
|
+
/**
|
|
5079
|
+
* Converts non-JSDoc comments preceding or following nodes into JSDoc ones
|
|
5080
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
|
|
5081
|
+
*/
|
|
5082
|
+
"jsdoc/convert-to-jsdoc-comments"?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
5078
5083
|
/**
|
|
5079
5084
|
* Expects specific tags to be empty of any content.
|
|
5080
5085
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
@@ -5249,6 +5254,11 @@ interface JsdocRuleOptions {
|
|
|
5249
5254
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
5250
5255
|
*/
|
|
5251
5256
|
"jsdoc/require-returns-type"?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
5257
|
+
/**
|
|
5258
|
+
* Requires template tags for each generic type parameter
|
|
5259
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
5260
|
+
*/
|
|
5261
|
+
"jsdoc/require-template"?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
5252
5262
|
/**
|
|
5253
5263
|
* Requires that throw statements are documented.
|
|
5254
5264
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -5398,6 +5408,38 @@ type JsdocCheckValues =
|
|
|
5398
5408
|
numericOnlyVariation?: boolean;
|
|
5399
5409
|
},
|
|
5400
5410
|
];
|
|
5411
|
+
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
5412
|
+
type JsdocConvertToJsdocComments =
|
|
5413
|
+
| []
|
|
5414
|
+
| [
|
|
5415
|
+
{
|
|
5416
|
+
allowedPrefixes?: string[];
|
|
5417
|
+
contexts?: (
|
|
5418
|
+
| string
|
|
5419
|
+
| {
|
|
5420
|
+
context?: string;
|
|
5421
|
+
inlineCommentBlock?: boolean;
|
|
5422
|
+
}
|
|
5423
|
+
)[];
|
|
5424
|
+
contextsAfter?: (
|
|
5425
|
+
| string
|
|
5426
|
+
| {
|
|
5427
|
+
context?: string;
|
|
5428
|
+
inlineCommentBlock?: boolean;
|
|
5429
|
+
}
|
|
5430
|
+
)[];
|
|
5431
|
+
contextsBeforeAndAfter?: (
|
|
5432
|
+
| string
|
|
5433
|
+
| {
|
|
5434
|
+
context?: string;
|
|
5435
|
+
inlineCommentBlock?: boolean;
|
|
5436
|
+
}
|
|
5437
|
+
)[];
|
|
5438
|
+
enableFixer?: boolean;
|
|
5439
|
+
enforceJsdocLineStyle?: "multi" | "single";
|
|
5440
|
+
lineOrBlockStyle?: "block" | "line" | "both";
|
|
5441
|
+
},
|
|
5442
|
+
];
|
|
5401
5443
|
// ----- jsdoc/empty-tags -----
|
|
5402
5444
|
type JsdocEmptyTags =
|
|
5403
5445
|
| []
|
|
@@ -5865,6 +5907,14 @@ type JsdocRequireReturnsType =
|
|
|
5865
5907
|
)[];
|
|
5866
5908
|
},
|
|
5867
5909
|
];
|
|
5910
|
+
// ----- jsdoc/require-template -----
|
|
5911
|
+
type JsdocRequireTemplate =
|
|
5912
|
+
| []
|
|
5913
|
+
| [
|
|
5914
|
+
{
|
|
5915
|
+
requireSeparateTemplates?: boolean;
|
|
5916
|
+
},
|
|
5917
|
+
];
|
|
5868
5918
|
// ----- jsdoc/require-throws -----
|
|
5869
5919
|
type JsdocRequireThrows =
|
|
5870
5920
|
| []
|
|
@@ -14523,6 +14573,13 @@ interface TypescriptRuleOptions {
|
|
|
14523
14573
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
14524
14574
|
*/
|
|
14525
14575
|
"@typescript-eslint/no-unnecessary-condition"?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
|
|
14576
|
+
/**
|
|
14577
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
14578
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
14579
|
+
*/
|
|
14580
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment"?: Linter.RuleEntry<
|
|
14581
|
+
[]
|
|
14582
|
+
>;
|
|
14526
14583
|
/**
|
|
14527
14584
|
* Disallow unnecessary namespace qualifiers
|
|
14528
14585
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -14550,6 +14607,11 @@ interface TypescriptRuleOptions {
|
|
|
14550
14607
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
14551
14608
|
*/
|
|
14552
14609
|
"@typescript-eslint/no-unnecessary-type-constraint"?: Linter.RuleEntry<[]>;
|
|
14610
|
+
/**
|
|
14611
|
+
* Disallow type parameters that only appear once
|
|
14612
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
14613
|
+
*/
|
|
14614
|
+
"@typescript-eslint/no-unnecessary-type-parameters"?: Linter.RuleEntry<[]>;
|
|
14553
14615
|
/**
|
|
14554
14616
|
* Disallow calling a function with a value with type `any`
|
|
14555
14617
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -18501,9 +18563,6 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18501
18563
|
| []
|
|
18502
18564
|
| [
|
|
18503
18565
|
{
|
|
18504
|
-
ignoreVoid?: boolean;
|
|
18505
|
-
|
|
18506
|
-
ignoreIIFE?: boolean;
|
|
18507
18566
|
allowForKnownSafePromises?: (
|
|
18508
18567
|
| string
|
|
18509
18568
|
| {
|
|
@@ -18521,6 +18580,12 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18521
18580
|
package: string;
|
|
18522
18581
|
}
|
|
18523
18582
|
)[];
|
|
18583
|
+
|
|
18584
|
+
checkThenables?: boolean;
|
|
18585
|
+
|
|
18586
|
+
ignoreVoid?: boolean;
|
|
18587
|
+
|
|
18588
|
+
ignoreIIFE?: boolean;
|
|
18524
18589
|
},
|
|
18525
18590
|
];
|
|
18526
18591
|
// ----- @typescript-eslint/no-inferrable-types -----
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.20",
|
|
5
5
|
"packageManager": "pnpm@8.15.4",
|
|
6
6
|
"description": "jsse eslint config",
|
|
7
7
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
@@ -62,23 +62,23 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@eslint/js": "~8.57.0",
|
|
64
64
|
"@stylistic/eslint-plugin": "2.3.0",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
66
|
-
"@typescript-eslint/parser": "^7.
|
|
67
|
-
"eslint-config-flat-gitignore": "^0.1.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
66
|
+
"@typescript-eslint/parser": "^7.16.1",
|
|
67
|
+
"eslint-config-flat-gitignore": "^0.1.8",
|
|
68
68
|
"eslint-define-config": "^2.1.0",
|
|
69
69
|
"eslint-plugin-antfu": "^2.3.4",
|
|
70
70
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
71
71
|
"eslint-plugin-import-x": "^0.5.3",
|
|
72
|
-
"eslint-plugin-jsdoc": "^48.
|
|
72
|
+
"eslint-plugin-jsdoc": "^48.7.0",
|
|
73
73
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
74
|
-
"eslint-plugin-markdown": "^5.
|
|
74
|
+
"eslint-plugin-markdown": "^5.1.0",
|
|
75
75
|
"eslint-plugin-n": "^17.9.0",
|
|
76
76
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
77
77
|
"eslint-plugin-perfectionist": "^2.11.0",
|
|
78
|
-
"eslint-plugin-react": "~7.34.
|
|
78
|
+
"eslint-plugin-react": "~7.34.4",
|
|
79
79
|
"eslint-plugin-react-hooks": "~4.6.2",
|
|
80
|
-
"eslint-plugin-react-refresh": "~0.4.
|
|
81
|
-
"eslint-plugin-tailwindcss": "^3.17.
|
|
80
|
+
"eslint-plugin-react-refresh": "~0.4.8",
|
|
81
|
+
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
82
82
|
"eslint-plugin-toml": "^0.11.0",
|
|
83
83
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
84
84
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
@@ -87,20 +87,20 @@
|
|
|
87
87
|
"eslint-plugin-yml": "^1.14.0",
|
|
88
88
|
"jsonc-eslint-parser": "^2.4.0",
|
|
89
89
|
"toml-eslint-parser": "^0.10.0",
|
|
90
|
-
"typescript-eslint": "^7.
|
|
90
|
+
"typescript-eslint": "^7.16.1",
|
|
91
91
|
"yaml-eslint-parser": "^1.2.3"
|
|
92
92
|
},
|
|
93
93
|
"optionalDependencies": {
|
|
94
|
-
"tailwindcss": "^3.4.
|
|
94
|
+
"tailwindcss": "^3.4.5"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@antfu/ni": "^0.
|
|
97
|
+
"@antfu/ni": "^0.22.0",
|
|
98
98
|
"@changesets/cli": "^2.27.7",
|
|
99
99
|
"@jsse/prettier-config": "^0.1.0",
|
|
100
100
|
"@types/eslint": "^8.56.10",
|
|
101
101
|
"@types/eslint__js": "~8.42.3",
|
|
102
102
|
"@types/fs-extra": "^11.0.4",
|
|
103
|
-
"@types/node": "^20.
|
|
103
|
+
"@types/node": "^20.14.10",
|
|
104
104
|
"cac": "^6.7.14",
|
|
105
105
|
"eslint": "^8.57.0",
|
|
106
106
|
"eslint-flat-config-utils": "^0.2.5",
|
|
@@ -110,13 +110,13 @@
|
|
|
110
110
|
"fs-extra": "^11.2.0",
|
|
111
111
|
"globals": "^15.8.0",
|
|
112
112
|
"local-pkg": "^0.5.0",
|
|
113
|
-
"prettier": "^3.3.
|
|
113
|
+
"prettier": "^3.3.3",
|
|
114
114
|
"react": "~18.3.1",
|
|
115
115
|
"rimraf": "^5.0.7",
|
|
116
116
|
"tsup": "^8.1.0",
|
|
117
117
|
"tsx": "^4.16.2",
|
|
118
118
|
"typescript": "~5.5.3",
|
|
119
|
-
"vitest": "^
|
|
119
|
+
"vitest": "^2.0.3"
|
|
120
120
|
},
|
|
121
121
|
"prettier": "@jsse/prettier-config",
|
|
122
122
|
"scripts": {
|