@tb-dev/eslint-config 6.2.3 → 6.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -10
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -72,20 +72,19 @@ declare interface Ignores {
72
72
  ignores: string[];
73
73
  }
74
74
 
75
- declare interface KnownSafeCalls {
76
- from: string;
77
- name: string;
78
- path: string;
79
- }
75
+ declare type KnownSafeCalls = TypeOrValueSpecifier;
80
76
 
81
- declare interface KnownSafePromise {
82
- from: string;
83
- name: string;
84
- package?: string;
85
- }
77
+ declare type KnownSafePromise = TypeOrValueSpecifier;
86
78
 
87
79
  declare type Rules = Record<string, Severity | any[]>;
88
80
 
89
81
  declare type Severity = 'error' | 'warn' | 'off' | 0 | 1;
90
82
 
83
+ declare interface TypeOrValueSpecifier {
84
+ from: 'file' | 'lib' | 'package';
85
+ name: string | string[];
86
+ package?: string;
87
+ path?: string;
88
+ }
89
+
91
90
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "6.2.3",
3
+ "version": "6.2.5",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "prettier": "^3.4.2",
44
44
  "tslib": "^2.8.1",
45
45
  "typescript": "^5.7.3",
46
- "vite": "^6.0.9",
46
+ "vite": "^6.0.10",
47
47
  "vite-plugin-dts": "^4.5.0"
48
48
  },
49
49
  "peerDependencies": {