@jsse/eslint-config 0.4.26 → 0.4.27
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/CHANGELOG.md +6 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +1 -1
- package/dist/{version-BLrZTyT6.js → version-UD6aSD5j.js} +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -3334,6 +3334,9 @@ type UnusedImportsNoUnusedImports = [] | [("all" | "local") | {
|
|
|
3334
3334
|
caughtErrors?: "all" | "none";
|
|
3335
3335
|
caughtErrorsIgnorePattern?: string;
|
|
3336
3336
|
destructuredArrayIgnorePattern?: string;
|
|
3337
|
+
enableAutofixRemoval?: {
|
|
3338
|
+
imports?: boolean;
|
|
3339
|
+
};
|
|
3337
3340
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
3338
3341
|
ignoreRestSiblings?: boolean;
|
|
3339
3342
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -3348,6 +3351,9 @@ type UnusedImportsNoUnusedVars = [] | [("all" | "local") | {
|
|
|
3348
3351
|
caughtErrors?: "all" | "none";
|
|
3349
3352
|
caughtErrorsIgnorePattern?: string;
|
|
3350
3353
|
destructuredArrayIgnorePattern?: string;
|
|
3354
|
+
enableAutofixRemoval?: {
|
|
3355
|
+
imports?: boolean;
|
|
3356
|
+
};
|
|
3351
3357
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
3352
3358
|
ignoreRestSiblings?: boolean;
|
|
3353
3359
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -4032,6 +4038,7 @@ type JsdocRequireHyphenBeforeParamDescription = [] | ["always" | "never"] | ["al
|
|
|
4032
4038
|
}];
|
|
4033
4039
|
// ----- jsdoc/require-jsdoc -----
|
|
4034
4040
|
type JsdocRequireJsdoc = [] | [{
|
|
4041
|
+
checkAllFunctionExpressions?: boolean;
|
|
4035
4042
|
checkConstructors?: boolean;
|
|
4036
4043
|
checkGetters?: boolean | "no-setter";
|
|
4037
4044
|
checkSetters?: boolean | "no-getter";
|
|
@@ -12121,6 +12128,11 @@ interface TypescriptRuleOptions {
|
|
|
12121
12128
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
12122
12129
|
*/
|
|
12123
12130
|
"@typescript-eslint/strict-boolean-expressions"?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>;
|
|
12131
|
+
/**
|
|
12132
|
+
* Disallow passing a value-returning function in a position accepting a void function
|
|
12133
|
+
* @see https://typescript-eslint.io/rules/strict-void-return
|
|
12134
|
+
*/
|
|
12135
|
+
"@typescript-eslint/strict-void-return"?: Linter.RuleEntry<TypescriptEslintStrictVoidReturn>;
|
|
12124
12136
|
/**
|
|
12125
12137
|
* Require switch-case statements to be exhaustive
|
|
12126
12138
|
* @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
|
|
@@ -12915,6 +12927,9 @@ type TypescriptEslintNoUnusedVars = [] | [("all" | "local") | {
|
|
|
12915
12927
|
caughtErrors?: "all" | "none";
|
|
12916
12928
|
caughtErrorsIgnorePattern?: string;
|
|
12917
12929
|
destructuredArrayIgnorePattern?: string;
|
|
12930
|
+
enableAutofixRemoval?: {
|
|
12931
|
+
imports?: boolean;
|
|
12932
|
+
};
|
|
12918
12933
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12919
12934
|
ignoreRestSiblings?: boolean;
|
|
12920
12935
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -13115,6 +13130,10 @@ type TypescriptEslintStrictBooleanExpressions = [] | [{
|
|
|
13115
13130
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
13116
13131
|
allowString?: boolean;
|
|
13117
13132
|
}];
|
|
13133
|
+
// ----- @typescript-eslint/strict-void-return -----
|
|
13134
|
+
type TypescriptEslintStrictVoidReturn = [] | [{
|
|
13135
|
+
allowReturnAny?: boolean;
|
|
13136
|
+
}];
|
|
13118
13137
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
13119
13138
|
type TypescriptEslintSwitchExhaustivenessCheck = [] | [{
|
|
13120
13139
|
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
@@ -14485,6 +14504,11 @@ interface VitestRuleOptions {
|
|
|
14485
14504
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
|
|
14486
14505
|
*/
|
|
14487
14506
|
"vitest/require-mock-type-parameters"?: Linter.RuleEntry<VitestRequireMockTypeParameters>;
|
|
14507
|
+
/**
|
|
14508
|
+
* require tests to declare a timeout
|
|
14509
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
|
|
14510
|
+
*/
|
|
14511
|
+
"vitest/require-test-timeout"?: Linter.RuleEntry<[]>;
|
|
14488
14512
|
/**
|
|
14489
14513
|
* require toThrow() to be called with an error message
|
|
14490
14514
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
@@ -15305,7 +15329,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
|
|
|
15305
15329
|
type DefineConfig = typeof defineConfig;
|
|
15306
15330
|
//#endregion
|
|
15307
15331
|
//#region src/generated/version.d.ts
|
|
15308
|
-
declare const VERSION = "0.4.
|
|
15332
|
+
declare const VERSION = "0.4.27";
|
|
15309
15333
|
declare namespace globs_d_exports {
|
|
15310
15334
|
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TS_SRC_EXT, GLOB_YAML };
|
|
15311
15335
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-VnP9fmST.js";
|
|
2
|
-
import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-
|
|
2
|
+
import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-UD6aSD5j.js";
|
|
3
3
|
import { builtinModules, createRequire } from "node:module";
|
|
4
4
|
import process$1 from "node:process";
|
|
5
5
|
import fs, { promises, realpathSync, statSync } from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.27",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,21 +65,21 @@
|
|
|
65
65
|
"@eslint/js": "^9.39.2",
|
|
66
66
|
"@eslint/markdown": "^7.5.1",
|
|
67
67
|
"@stylistic/eslint-plugin": "5.6.1",
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
69
|
-
"@typescript-eslint/parser": "^8.
|
|
70
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.53.0",
|
|
70
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
71
71
|
"debug": "^4.4.3",
|
|
72
72
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
73
73
|
"eslint-merge-processors": "^2.0.0",
|
|
74
|
-
"eslint-plugin-antfu": "^3.1.
|
|
74
|
+
"eslint-plugin-antfu": "^3.1.3",
|
|
75
75
|
"eslint-plugin-command": "^3.4.0",
|
|
76
76
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
77
77
|
"eslint-plugin-import-lite": "^0.5.0",
|
|
78
|
-
"eslint-plugin-jsdoc": "^61.
|
|
78
|
+
"eslint-plugin-jsdoc": "^61.7.1",
|
|
79
79
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
80
|
-
"eslint-plugin-n": "^17.23.
|
|
80
|
+
"eslint-plugin-n": "^17.23.2",
|
|
81
81
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
82
|
-
"eslint-plugin-perfectionist": "^5.3.
|
|
82
|
+
"eslint-plugin-perfectionist": "^5.3.1",
|
|
83
83
|
"eslint-plugin-pnpm": "^1.4.3",
|
|
84
84
|
"eslint-plugin-react": "^7.37.5",
|
|
85
85
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
91
91
|
"eslint-plugin-yml": "^1.19.1",
|
|
92
92
|
"jsonc-eslint-parser": "^2.4.2",
|
|
93
|
-
"toml-eslint-parser": "^0.
|
|
94
|
-
"typescript-eslint": "^8.
|
|
93
|
+
"toml-eslint-parser": "^1.0.1",
|
|
94
|
+
"typescript-eslint": "^8.53.0",
|
|
95
95
|
"yaml-eslint-parser": "^1.3.2"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@jsse/tsconfig": "^0.4.0",
|
|
101
101
|
"@types/debug": "^4.1.12",
|
|
102
102
|
"@types/fs-extra": "^11.0.4",
|
|
103
|
-
"@types/node": "^24.10.
|
|
103
|
+
"@types/node": "^24.10.8",
|
|
104
104
|
"cac": "^6.7.14",
|
|
105
105
|
"eslint": "^9.39.2",
|
|
106
106
|
"eslint-flat-config-utils": "^2.1.4",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"fs-extra": "^11.3.3",
|
|
111
111
|
"globals": "^17.0.0",
|
|
112
112
|
"local-pkg": "^1.1.2",
|
|
113
|
-
"oxlint": "^1.
|
|
113
|
+
"oxlint": "^1.39.0",
|
|
114
114
|
"picocolors": "^1.1.1",
|
|
115
115
|
"prettier": "^3.7.4",
|
|
116
116
|
"react": "~19.2.3",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"tsdown": "^0.18.4",
|
|
119
119
|
"tsx": "^4.21.0",
|
|
120
120
|
"typescript": "~5.9.3",
|
|
121
|
-
"vitest": "^4.0.
|
|
121
|
+
"vitest": "^4.0.17"
|
|
122
122
|
},
|
|
123
123
|
"prettier": "@jsse/prettier-config",
|
|
124
124
|
"scripts": {
|