eslint-config-vylda-typescript 5.1.0 → 5.2.0
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 +7 -0
- package/package.json +6 -6
- package/rules/defaultTs.mjs +3 -1
- package/rules/strictTs.mjs +6 -1
package/Changelog.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this component will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [5.2.0] - 2025-11-01
|
|
8
|
+
### Updated
|
|
9
|
+
- Packages [Vilda Lipold]
|
|
10
|
+
- Rules
|
|
11
|
+
- @typescript-eslint/no-unsafe-member-access (allowOptionalChaining) [Vilda Lipold]
|
|
12
|
+
- temporally disabled @typescript-eslint/unified-signatures due to bug 11732 [Vilda Lipold]
|
|
13
|
+
|
|
7
14
|
## [5.1.0] - 2025-09-21
|
|
8
15
|
### Updated
|
|
9
16
|
- Packages [Vilda Lipold]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-vylda-typescript",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Eslint Typescript rules for JS and TS vanilla projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@eslint/config-inspector": "^1.3.0",
|
|
28
28
|
"@types/espree": "^10.1.0",
|
|
29
|
-
"@types/node": "^24.
|
|
29
|
+
"@types/node": "^24.9.2",
|
|
30
30
|
"espree": "^10.4.0",
|
|
31
31
|
"husky": "^9.1.7",
|
|
32
|
-
"typescript": "^5.9.
|
|
32
|
+
"typescript": "^5.9.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"eslint": "^9.
|
|
36
|
-
"eslint-config-vylda-vanilla": "^4.
|
|
35
|
+
"eslint": "^9.39.0",
|
|
36
|
+
"eslint-config-vylda-vanilla": "^4.3.0",
|
|
37
37
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
38
38
|
"tslib": "^2.8.1",
|
|
39
|
-
"typescript-eslint": "^8.
|
|
39
|
+
"typescript-eslint": "^8.46.2"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20"
|
package/rules/defaultTs.mjs
CHANGED
|
@@ -666,7 +666,9 @@ const config = [
|
|
|
666
666
|
|
|
667
667
|
// Enforces that function overloads be unified into a single signature when possible.
|
|
668
668
|
// https://typescript-eslint.io/rules/unified-signatures/
|
|
669
|
-
|
|
669
|
+
// Disabled due to bug: https://github.com/typescript-eslint/typescript-eslint/issues/11732
|
|
670
|
+
// Disabled due to bug: https://github.com/eslint/eslint/issues/20272
|
|
671
|
+
'@typescript-eslint/unified-signatures': 'off',
|
|
670
672
|
|
|
671
673
|
// Enforces the use of `unknown` instead of `any` in catch clause variables.
|
|
672
674
|
// https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/
|
package/rules/strictTs.mjs
CHANGED
|
@@ -67,7 +67,12 @@ const config = [
|
|
|
67
67
|
|
|
68
68
|
// Disallows member access on variables with type 'any'.
|
|
69
69
|
// https://typescript-eslint.io/rules/no-unsafe-member-access/
|
|
70
|
-
'@typescript-eslint/no-unsafe-member-access':
|
|
70
|
+
'@typescript-eslint/no-unsafe-member-access': [
|
|
71
|
+
'error',
|
|
72
|
+
{
|
|
73
|
+
allowOptionalChaining: false,
|
|
74
|
+
},
|
|
75
|
+
],
|
|
71
76
|
|
|
72
77
|
// Disallow returning a value with type 'any' from a function.
|
|
73
78
|
// https://typescript-eslint.io/rules/no-unsafe-return/
|