@dhzh/eslint-config 2.2.3 → 2.3.1
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/index.mjs +2 -2
- package/dist/index.d.mts +9 -0
- package/package.json +7 -7
package/dist/cli/index.mjs
CHANGED
|
@@ -6,12 +6,12 @@ import fsp from "node:fs/promises";
|
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "2.
|
|
9
|
+
var version = "2.3.1";
|
|
10
10
|
var devDependencies = {
|
|
11
11
|
"@eslint/config-inspector": "^3.0.4",
|
|
12
12
|
"@prettier/plugin-xml": "^3.4.2",
|
|
13
13
|
"@types/node": "^26.0.0",
|
|
14
|
-
"@typescript-eslint/types": "^8.
|
|
14
|
+
"@typescript-eslint/types": "^8.62.0",
|
|
15
15
|
"bumpp": "^11.1.0",
|
|
16
16
|
"bundle-require": "^5.1.0",
|
|
17
17
|
"changelogithub": "^14.0.0",
|
package/dist/index.d.mts
CHANGED
|
@@ -8989,6 +8989,11 @@ interface RuleOptions {
|
|
|
8989
8989
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-tab-indent.html
|
|
8990
8990
|
*/
|
|
8991
8991
|
'yml/no-tab-indent'?: Linter.RuleEntry<[]>;
|
|
8992
|
+
/**
|
|
8993
|
+
* disallow trailing whitespace at the end of lines
|
|
8994
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-trailing-spaces.html
|
|
8995
|
+
*/
|
|
8996
|
+
'yml/no-trailing-spaces'?: Linter.RuleEntry<YmlNoTrailingSpaces>;
|
|
8992
8997
|
/**
|
|
8993
8998
|
* disallow trailing zeros for floats
|
|
8994
8999
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-trailing-zeros.html
|
|
@@ -19169,6 +19174,10 @@ type YmlNoMultipleEmptyLines = [] | [{
|
|
|
19169
19174
|
max: number;
|
|
19170
19175
|
maxEOF?: number;
|
|
19171
19176
|
maxBOF?: number;
|
|
19177
|
+
}]; // ----- yml/no-trailing-spaces -----
|
|
19178
|
+
type YmlNoTrailingSpaces = [] | [{
|
|
19179
|
+
skipBlankLines?: boolean;
|
|
19180
|
+
ignoreComments?: boolean;
|
|
19172
19181
|
}]; // ----- yml/plain-scalar -----
|
|
19173
19182
|
type YmlPlainScalar = [] | [("always" | "never")] | [("always" | "never"), {
|
|
19174
19183
|
ignorePatterns?: string[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhzh/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.3.1",
|
|
5
5
|
"description": "tinywaves's ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Lyle Zheng",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"devEngines": {
|
|
31
31
|
"packageManager": {
|
|
32
32
|
"name": "pnpm",
|
|
33
|
-
"version": "^11.
|
|
33
|
+
"version": "^11.9.0",
|
|
34
34
|
"onFail": "download"
|
|
35
35
|
},
|
|
36
36
|
"runtime": {
|
|
37
37
|
"name": "node",
|
|
38
|
-
"version": "^
|
|
38
|
+
"version": "^24.18.0",
|
|
39
39
|
"onFail": "download"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
"eslint-plugin-unicorn": "^68.0.0",
|
|
87
87
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
88
88
|
"eslint-plugin-vue": "^10.9.2",
|
|
89
|
-
"eslint-plugin-yml": "^3.
|
|
89
|
+
"eslint-plugin-yml": "^3.5.0",
|
|
90
90
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
91
91
|
"globals": "^17.7.0",
|
|
92
92
|
"local-pkg": "^1.2.1",
|
|
93
93
|
"toml-eslint-parser": "^1.0.3",
|
|
94
|
-
"typescript-eslint": "^8.
|
|
94
|
+
"typescript-eslint": "^8.62.0",
|
|
95
95
|
"vue-eslint-parser": "^10.4.1"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@eslint/config-inspector": "^3.0.4",
|
|
99
99
|
"@prettier/plugin-xml": "^3.4.2",
|
|
100
100
|
"@types/node": "^26.0.0",
|
|
101
|
-
"@typescript-eslint/types": "^8.
|
|
101
|
+
"@typescript-eslint/types": "^8.62.0",
|
|
102
102
|
"bumpp": "^11.1.0",
|
|
103
103
|
"bundle-require": "^5.1.0",
|
|
104
104
|
"changelogithub": "^14.0.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"tsdown": "^0.22.3",
|
|
111
111
|
"tsx": "^4.22.4",
|
|
112
112
|
"typescript": "^6.0.3",
|
|
113
|
-
"node": "runtime:^
|
|
113
|
+
"node": "runtime:^24.18.0"
|
|
114
114
|
},
|
|
115
115
|
"simple-git-hooks": {
|
|
116
116
|
"pre-commit": "eval \"$(fnm env)\" && pnpm exec lint-staged"
|