@2digits/eslint-config 5.10.4 → 5.10.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/index.d.mts +16 -0
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -9944,6 +9944,11 @@ Backward pagination arguments
|
|
|
9944
9944
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
|
|
9945
9945
|
*/
|
|
9946
9946
|
'yml/key-spacing'?: Linter.RuleEntry<YmlKeySpacing>;
|
|
9947
|
+
/**
|
|
9948
|
+
* enforce a maximum line length
|
|
9949
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/max-len.html
|
|
9950
|
+
*/
|
|
9951
|
+
'yml/max-len'?: Linter.RuleEntry<YmlMaxLen>;
|
|
9947
9952
|
/**
|
|
9948
9953
|
* disallow boolean mapping keys
|
|
9949
9954
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
|
|
@@ -17292,6 +17297,17 @@ type YmlKeySpacing = [] | [({
|
|
|
17292
17297
|
afterColon?: boolean;
|
|
17293
17298
|
};
|
|
17294
17299
|
})];
|
|
17300
|
+
// ----- yml/max-len -----
|
|
17301
|
+
type YmlMaxLen = [] | [{
|
|
17302
|
+
code?: number;
|
|
17303
|
+
comments?: number;
|
|
17304
|
+
tabWidth?: number;
|
|
17305
|
+
ignorePattern?: string;
|
|
17306
|
+
ignoreComments?: boolean;
|
|
17307
|
+
ignoreTrailingComments?: boolean;
|
|
17308
|
+
ignoreUrls?: boolean;
|
|
17309
|
+
ignoreStrings?: boolean;
|
|
17310
|
+
}];
|
|
17295
17311
|
// ----- yml/no-irregular-whitespace -----
|
|
17296
17312
|
type YmlNoIrregularWhitespace = [] | [{
|
|
17297
17313
|
skipComments?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.5",
|
|
4
4
|
"description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@eslint/js": "10.0.1",
|
|
38
38
|
"@eslint/markdown": "8.0.3",
|
|
39
39
|
"@graphql-eslint/eslint-plugin": "4.4.2",
|
|
40
|
-
"@next/eslint-plugin-next": "16.4.
|
|
40
|
+
"@next/eslint-plugin-next": "16.4.5",
|
|
41
41
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
42
42
|
"@tanstack/eslint-plugin-query": "5.105.3",
|
|
43
43
|
"@tanstack/eslint-plugin-router": "1.162.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eslint-plugin-depend": "1.5.0",
|
|
55
55
|
"eslint-plugin-drizzle": "1.0.0-rc.5",
|
|
56
56
|
"eslint-plugin-github-action": "0.4.0",
|
|
57
|
-
"eslint-plugin-jsdoc": "65.4.
|
|
57
|
+
"eslint-plugin-jsdoc": "65.4.3",
|
|
58
58
|
"eslint-plugin-jsonc": "3.4.2",
|
|
59
59
|
"eslint-plugin-n": "18.5.0",
|
|
60
60
|
"eslint-plugin-pnpm": "1.9.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"eslint-plugin-toml": "1.5.0",
|
|
67
67
|
"eslint-plugin-turbo": "2.11.10",
|
|
68
68
|
"eslint-plugin-unicorn": "79.0.0",
|
|
69
|
-
"eslint-plugin-yml": "3.
|
|
69
|
+
"eslint-plugin-yml": "3.10.0",
|
|
70
70
|
"eslint-plugin-zod": "5.2.2",
|
|
71
71
|
"globals": "17.14.0",
|
|
72
72
|
"graphql-config": "6.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"yaml-eslint-parser": "2.1.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@2digits/tsconfig": "1.2.
|
|
81
|
+
"@2digits/tsconfig": "1.2.3",
|
|
82
82
|
"@arethetypeswrong/core": "0.18.5",
|
|
83
83
|
"@eslint/config-inspector": "3.5.0",
|
|
84
84
|
"@types/react": "19.3.0",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"tailwindcss": "4.3.4",
|
|
92
92
|
"tinyexec": "1.3.1",
|
|
93
93
|
"tinyglobby": "0.2.17",
|
|
94
|
-
"tsrs": "0.
|
|
94
|
+
"tsrs": "0.21.0-ts7.1.0-beta",
|
|
95
95
|
"typescript": "6.0.3",
|
|
96
|
-
"vite-plus": "1.
|
|
96
|
+
"vite-plus": "1.5.0",
|
|
97
97
|
"vitest": "5.1.0",
|
|
98
98
|
"zod": "4.6.7"
|
|
99
99
|
},
|