eslint-config-vylda-typescript 5.0.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 CHANGED
@@ -4,6 +4,20 @@ 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
+
14
+ ## [5.1.0] - 2025-09-21
15
+ ### Updated
16
+ - Packages [Vilda Lipold]
17
+ - Rules
18
+ - @typescript-eslint/explicit-member-accessibility (no public constructor) [Vilda Lipold]
19
+ - @typescript-eslint/member-ordering (mishmmas wit other rules) [Vilda Lipold]
20
+
7
21
  ## [5.0.0] - 2025-08-30
8
22
  ### Added
9
23
  - Rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-vylda-typescript",
3
- "version": "5.0.0",
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",
@@ -24,19 +24,19 @@
24
24
  "homepage": "https://gitlab.com/Vylda/eslint-config-vylda-typescript",
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@eslint/config-inspector": "^1.2.0",
27
+ "@eslint/config-inspector": "^1.3.0",
28
28
  "@types/espree": "^10.1.0",
29
- "@types/node": "^24.3.0",
29
+ "@types/node": "^24.9.2",
30
30
  "espree": "^10.4.0",
31
31
  "husky": "^9.1.7",
32
- "typescript": "^5.9.2"
32
+ "typescript": "^5.9.3"
33
33
  },
34
34
  "dependencies": {
35
- "eslint": "^9.34.0",
36
- "eslint-config-vylda-vanilla": "^4.0.5",
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.41.0"
39
+ "typescript-eslint": "^8.46.2"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=20"
@@ -199,7 +199,15 @@ const config = [
199
199
 
200
200
  // Require explicit accessibility modifiers on class properties and methods.
201
201
  // https://typescript-eslint.io/rules/explicit-member-accessibility/
202
- '@typescript-eslint/explicit-member-accessibility': 'error',
202
+ '@typescript-eslint/explicit-member-accessibility': [
203
+ 'error',
204
+ {
205
+ accessibility: 'explicit',
206
+ overrides: {
207
+ constructors: 'no-public',
208
+ },
209
+ },
210
+ ],
203
211
 
204
212
  // Require explicit return and argument types on exported functions' and classes' public class methods.
205
213
  // https://typescript-eslint.io/rules/explicit-module-boundary-types/
@@ -215,7 +223,23 @@ const config = [
215
223
 
216
224
  // Require a consistent member declaration order.
217
225
  // https://typescript-eslint.io/rules/member-ordering/
218
- '@typescript-eslint/member-ordering': 'error',
226
+ '@typescript-eslint/member-ordering': [
227
+ 'error',
228
+ {
229
+ 'default': [
230
+ 'public-static-field',
231
+ 'protected-static-field',
232
+ 'private-static-field',
233
+ 'public-instance-field',
234
+ 'protected-instance-field',
235
+ 'private-instance-field',
236
+ 'constructor',
237
+ 'public-instance-method',
238
+ 'protected-instance-method',
239
+ 'private-instance-method',
240
+ ],
241
+ },
242
+ ],
219
243
 
220
244
  // Enforce using a particular method signature syntax.
221
245
  // https://typescript-eslint.io/rules/method-signature-style/
@@ -642,7 +666,9 @@ const config = [
642
666
 
643
667
  // Enforces that function overloads be unified into a single signature when possible.
644
668
  // https://typescript-eslint.io/rules/unified-signatures/
645
- '@typescript-eslint/unified-signatures': 'error',
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',
646
672
 
647
673
  // Enforces the use of `unknown` instead of `any` in catch clause variables.
648
674
  // https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/
@@ -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': 'error',
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/