eslint-config-vylda-typescript 5.3.0 → 5.4.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/Changelog.md CHANGED
@@ -4,6 +4,16 @@ 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.4.1] - 2025-11-13
8
+ ### Updated
9
+ - index.d.ts file [Vilda Lipold]
10
+
11
+ ## [5.4.0] - 2025-11-13
12
+ ### Updated
13
+ - Packages [Vilda Lipold]
14
+ - Rules
15
+ - enabled @typescript-eslint/unified-signatures due to bug 11732 [Vilda Lipold]
16
+
7
17
  ## [5.3.0] - 2025-11-03
8
18
  ### Updated
9
19
  - Packages [Vilda Lipold]
package/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export type TGetConfigOptions = TGetImportConfigOptions & {
5
5
  barrelsFiles?: Array<string>;
6
6
  files?: Array<string>;
7
7
  plugins?: Record<string, ESLint.Plugin>;
8
+ tsFiles?: Array<string>;
8
9
  };
9
10
  export type TGetImportConfigOptions = {
10
11
  barrelsFiles?: Array<string>;
@@ -16,8 +17,8 @@ export type TGetImportConfigOptions = {
16
17
  plugins?: Record<string, ESLint.Plugin>;
17
18
  };
18
19
 
19
- export function getConfig(options?: TGetConfigOptions): TConfig;
20
- export function getImportConfig(options?: TGetImportConfigOptions): TConfig;
20
+ export function getConfig(baseDir: string, options?: TGetConfigOptions): TConfig;
21
+ export function getImportConfig(tsConfigPath: string, options?: TGetImportConfigOptions): TConfig;
21
22
  export function getLanguageOptions(dir: string): TConfig;
22
23
  export function mapFiles(defaults: TConfig, customFiles: Array<string>): TConfig;
23
24
 
@@ -52,4 +53,4 @@ export const tsVariables: TConfig;
52
53
  export const vanillaPlugins: Record<string, ESLint.Plugin>;
53
54
  export const variables: TConfig;
54
55
 
55
- export default TConfig;
56
+ export default getConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-vylda-typescript",
3
- "version": "5.3.0",
3
+ "version": "5.4.1",
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.9.2",
30
- "espree": "^10.4.0",
29
+ "@types/node": "^24.10.1",
30
+ "espree": "^11.0.0",
31
31
  "husky": "^9.1.7",
32
32
  "typescript": "^5.9.3"
33
33
  },
34
34
  "dependencies": {
35
- "eslint": "^9.39.0",
36
- "eslint-config-vylda-vanilla": "^4.4.0",
35
+ "eslint": "^9.39.1",
36
+ "eslint-config-vylda-vanilla": "^4.4.2",
37
37
  "eslint-import-resolver-typescript": "^4.4.4",
38
38
  "tslib": "^2.8.1",
39
- "typescript-eslint": "^8.46.2"
39
+ "typescript-eslint": "^8.46.4"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=20"
@@ -668,7 +668,7 @@ const config = [
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
670
  // Disabled due to bug: https://github.com/eslint/eslint/issues/20272
671
- '@typescript-eslint/unified-signatures': 'off',
671
+ '@typescript-eslint/unified-signatures': 'error',
672
672
 
673
673
  // Enforces the use of `unknown` instead of `any` in catch clause variables.
674
674
  // https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/