@jsse/eslint-config 0.2.3 → 0.2.5
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 +12 -3
- package/dist/index.d.ts +12 -3
- package/package.json +5 -5
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -4922,7 +4922,7 @@ interface JavascriptRuleOptions {
|
|
|
4922
4922
|
"unused-imports/no-unused-imports"?: Linter.RuleEntry<UnusedImportsNoUnusedImports>;
|
|
4923
4923
|
/**
|
|
4924
4924
|
* Disallow unused variables
|
|
4925
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-
|
|
4925
|
+
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
|
|
4926
4926
|
*/
|
|
4927
4927
|
"unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
|
|
4928
4928
|
}
|
|
@@ -9775,6 +9775,10 @@ type PerfectionistSortEnums =
|
|
|
9775
9775
|
|
|
9776
9776
|
ignoreCase?: boolean;
|
|
9777
9777
|
|
|
9778
|
+
sortByValue?: boolean;
|
|
9779
|
+
|
|
9780
|
+
forceNumericSort?: boolean;
|
|
9781
|
+
|
|
9778
9782
|
partitionByComment?: string[] | boolean | string;
|
|
9779
9783
|
},
|
|
9780
9784
|
];
|
|
@@ -13339,6 +13343,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13339
13343
|
| "block"
|
|
13340
13344
|
| "empty"
|
|
13341
13345
|
| "function"
|
|
13346
|
+
| "ts-method"
|
|
13342
13347
|
| "break"
|
|
13343
13348
|
| "case"
|
|
13344
13349
|
| "class"
|
|
@@ -13386,6 +13391,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13386
13391
|
| "block"
|
|
13387
13392
|
| "empty"
|
|
13388
13393
|
| "function"
|
|
13394
|
+
| "ts-method"
|
|
13389
13395
|
| "break"
|
|
13390
13396
|
| "case"
|
|
13391
13397
|
| "class"
|
|
@@ -13432,6 +13438,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13432
13438
|
| "block"
|
|
13433
13439
|
| "empty"
|
|
13434
13440
|
| "function"
|
|
13441
|
+
| "ts-method"
|
|
13435
13442
|
| "break"
|
|
13436
13443
|
| "case"
|
|
13437
13444
|
| "class"
|
|
@@ -14107,6 +14114,7 @@ type NoOnlyTestsNoOnlyTests =
|
|
|
14107
14114
|
{
|
|
14108
14115
|
block?: string[];
|
|
14109
14116
|
focus?: string[];
|
|
14117
|
+
functions?: string[];
|
|
14110
14118
|
fix?: boolean;
|
|
14111
14119
|
},
|
|
14112
14120
|
];
|
|
@@ -14674,7 +14682,7 @@ interface TypescriptRuleOptions {
|
|
|
14674
14682
|
*/
|
|
14675
14683
|
"@typescript-eslint/no-unnecessary-type-constraint"?: Linter.RuleEntry<[]>;
|
|
14676
14684
|
/**
|
|
14677
|
-
* Disallow type parameters that
|
|
14685
|
+
* Disallow type parameters that aren't used multiple times
|
|
14678
14686
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
14679
14687
|
*/
|
|
14680
14688
|
"@typescript-eslint/no-unnecessary-type-parameters"?: Linter.RuleEntry<[]>;
|
|
@@ -14730,7 +14738,7 @@ interface TypescriptRuleOptions {
|
|
|
14730
14738
|
"@typescript-eslint/no-unused-expressions"?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
14731
14739
|
/**
|
|
14732
14740
|
* Disallow unused variables
|
|
14733
|
-
* @see https://
|
|
14741
|
+
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
14734
14742
|
*/
|
|
14735
14743
|
"@typescript-eslint/no-unused-vars"?: Linter.RuleEntry<TypescriptEslintNoUnusedVars>;
|
|
14736
14744
|
/**
|
|
@@ -18099,6 +18107,7 @@ type TypescriptEslintNoMisusedPromises =
|
|
|
18099
18107
|
| {
|
|
18100
18108
|
arguments?: boolean;
|
|
18101
18109
|
attributes?: boolean;
|
|
18110
|
+
inheritedMethods?: boolean;
|
|
18102
18111
|
properties?: boolean;
|
|
18103
18112
|
returns?: boolean;
|
|
18104
18113
|
variables?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -4922,7 +4922,7 @@ interface JavascriptRuleOptions {
|
|
|
4922
4922
|
"unused-imports/no-unused-imports"?: Linter.RuleEntry<UnusedImportsNoUnusedImports>;
|
|
4923
4923
|
/**
|
|
4924
4924
|
* Disallow unused variables
|
|
4925
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-
|
|
4925
|
+
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
|
|
4926
4926
|
*/
|
|
4927
4927
|
"unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
|
|
4928
4928
|
}
|
|
@@ -9775,6 +9775,10 @@ type PerfectionistSortEnums =
|
|
|
9775
9775
|
|
|
9776
9776
|
ignoreCase?: boolean;
|
|
9777
9777
|
|
|
9778
|
+
sortByValue?: boolean;
|
|
9779
|
+
|
|
9780
|
+
forceNumericSort?: boolean;
|
|
9781
|
+
|
|
9778
9782
|
partitionByComment?: string[] | boolean | string;
|
|
9779
9783
|
},
|
|
9780
9784
|
];
|
|
@@ -13339,6 +13343,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13339
13343
|
| "block"
|
|
13340
13344
|
| "empty"
|
|
13341
13345
|
| "function"
|
|
13346
|
+
| "ts-method"
|
|
13342
13347
|
| "break"
|
|
13343
13348
|
| "case"
|
|
13344
13349
|
| "class"
|
|
@@ -13386,6 +13391,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13386
13391
|
| "block"
|
|
13387
13392
|
| "empty"
|
|
13388
13393
|
| "function"
|
|
13394
|
+
| "ts-method"
|
|
13389
13395
|
| "break"
|
|
13390
13396
|
| "case"
|
|
13391
13397
|
| "class"
|
|
@@ -13432,6 +13438,7 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
|
13432
13438
|
| "block"
|
|
13433
13439
|
| "empty"
|
|
13434
13440
|
| "function"
|
|
13441
|
+
| "ts-method"
|
|
13435
13442
|
| "break"
|
|
13436
13443
|
| "case"
|
|
13437
13444
|
| "class"
|
|
@@ -14107,6 +14114,7 @@ type NoOnlyTestsNoOnlyTests =
|
|
|
14107
14114
|
{
|
|
14108
14115
|
block?: string[];
|
|
14109
14116
|
focus?: string[];
|
|
14117
|
+
functions?: string[];
|
|
14110
14118
|
fix?: boolean;
|
|
14111
14119
|
},
|
|
14112
14120
|
];
|
|
@@ -14674,7 +14682,7 @@ interface TypescriptRuleOptions {
|
|
|
14674
14682
|
*/
|
|
14675
14683
|
"@typescript-eslint/no-unnecessary-type-constraint"?: Linter.RuleEntry<[]>;
|
|
14676
14684
|
/**
|
|
14677
|
-
* Disallow type parameters that
|
|
14685
|
+
* Disallow type parameters that aren't used multiple times
|
|
14678
14686
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
14679
14687
|
*/
|
|
14680
14688
|
"@typescript-eslint/no-unnecessary-type-parameters"?: Linter.RuleEntry<[]>;
|
|
@@ -14730,7 +14738,7 @@ interface TypescriptRuleOptions {
|
|
|
14730
14738
|
"@typescript-eslint/no-unused-expressions"?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
14731
14739
|
/**
|
|
14732
14740
|
* Disallow unused variables
|
|
14733
|
-
* @see https://
|
|
14741
|
+
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
14734
14742
|
*/
|
|
14735
14743
|
"@typescript-eslint/no-unused-vars"?: Linter.RuleEntry<TypescriptEslintNoUnusedVars>;
|
|
14736
14744
|
/**
|
|
@@ -18099,6 +18107,7 @@ type TypescriptEslintNoMisusedPromises =
|
|
|
18099
18107
|
| {
|
|
18100
18108
|
arguments?: boolean;
|
|
18101
18109
|
attributes?: boolean;
|
|
18110
|
+
inheritedMethods?: boolean;
|
|
18102
18111
|
properties?: boolean;
|
|
18103
18112
|
returns?: boolean;
|
|
18104
18113
|
variables?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint/js": "~9.
|
|
62
|
-
"@stylistic/eslint-plugin": "2.6.
|
|
61
|
+
"@eslint/js": "~9.9.0",
|
|
62
|
+
"@stylistic/eslint-plugin": "2.6.2",
|
|
63
63
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
64
64
|
"@typescript-eslint/parser": "^8.0.1",
|
|
65
65
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"eslint-plugin-toml": "^0.11.1",
|
|
80
80
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
81
81
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
82
|
-
"eslint-plugin-unused-imports": "^4.
|
|
82
|
+
"eslint-plugin-unused-imports": "^4.1.2",
|
|
83
83
|
"eslint-plugin-vitest": "0.5.4",
|
|
84
84
|
"eslint-plugin-yml": "^1.14.0",
|
|
85
85
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"rimraf": "^6.0.1",
|
|
112
112
|
"tailwindcss": "^3.4.9",
|
|
113
113
|
"tsup": "^8.2.4",
|
|
114
|
-
"tsx": "^4.
|
|
114
|
+
"tsx": "^4.17.0",
|
|
115
115
|
"typescript": "~5.5.4",
|
|
116
116
|
"vitest": "^2.0.5"
|
|
117
117
|
},
|