eslint-config-vylda-typescript 7.0.1 → 7.0.2
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 +9 -0
- package/dist/rules/imports.d.ts.map +1 -1
- package/dist/rules/imports.js +3 -0
- package/package.json +2 -2
package/Changelog.md
CHANGED
|
@@ -4,6 +4,15 @@ 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
|
+
## [7.0.2] - 2026-09-26
|
|
8
|
+
### Added
|
|
9
|
+
- Integration tests that count rules from `src/rules/*.ts` through the TypeScript AST and verify that the built `getConfig()` applies every expected rule to the `files`, `tsFiles` and `barrelsFiles` extensions via `calculateConfigForFile()` [Vilda Lipold]
|
|
10
|
+
### Changed
|
|
11
|
+
- TypeScript now enables `noUncheckedIndexedAccess`; potentially missing array entries and regular-expression captures are explicitly handled [Vilda Lipold]
|
|
12
|
+
### Updated
|
|
13
|
+
- Packages
|
|
14
|
+
- eslint-config-vylda-vanilla (6.0.1)
|
|
15
|
+
|
|
7
16
|
## [7.0.1] - 2026-09-21
|
|
8
17
|
### Added
|
|
9
18
|
- `ts` script (`tsc --noEmit --pretty`), a faster standalone type-check against the root `tsconfig.json` for use while iterating and in CI/pre-commit [Vilda Lipold]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/rules/imports.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAM3B,MAAM,6BAA6B,CAAC;AAOrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAI1D,KAAK,kBAAkB,GAAG;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,uBAAuB,UAI5B,CAAC;AAET,eAAO,MAAM,yCAAyC;;CAGrD,CAAC;AACF,OAAO,EAAE,0BAA0B,EAAE,CAAC;AACtC,eAAO,MAAM,mCAAmC,UAIxC,CAAC;AACT,eAAO,MAAM,oDAAoD,UAAO,CAAC;AAOzE,eAAO,MAAM,oBAAoB,GAAI,eAAe,MAAM,KAAG,kBAG3D,CAAC;AAsBH,QAAA,MAAM,eAAe,GACnB,eAAe,MAAM,EACrB,UAAS,yBAA0C,KAClD,KAAK,CAAC,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/rules/imports.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAM3B,MAAM,6BAA6B,CAAC;AAOrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAI1D,KAAK,kBAAkB,GAAG;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,uBAAuB,UAI5B,CAAC;AAET,eAAO,MAAM,yCAAyC;;CAGrD,CAAC;AACF,OAAO,EAAE,0BAA0B,EAAE,CAAC;AACtC,eAAO,MAAM,mCAAmC,UAIxC,CAAC;AACT,eAAO,MAAM,oDAAoD,UAAO,CAAC;AAOzE,eAAO,MAAM,oBAAoB,GAAI,eAAe,MAAM,KAAG,kBAG3D,CAAC;AAsBH,QAAA,MAAM,eAAe,GACnB,eAAe,MAAM,EACrB,UAAS,yBAA0C,KAClD,KAAK,CAAC,MAAM,CAAC,MAAM,CAsCrB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/dist/rules/imports.js
CHANGED
|
@@ -53,6 +53,9 @@ const getImportConfig = (tsConfigPath, options = defaultOptions) => {
|
|
|
53
53
|
importResolverAlias,
|
|
54
54
|
importResolverNodeExtensions,
|
|
55
55
|
});
|
|
56
|
+
if (config === undefined) {
|
|
57
|
+
throw new Error('Vanilla import config is empty');
|
|
58
|
+
}
|
|
56
59
|
const { settings = {}, ...rest } = config;
|
|
57
60
|
return [
|
|
58
61
|
{
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://gitlab.com/eslint-configs/eslint-config-vylda-typescript/-/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"eslint-config-vylda-vanilla": "^6.0.
|
|
7
|
+
"eslint-config-vylda-vanilla": "^6.0.1",
|
|
8
8
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
9
9
|
"espree": "^11.2.0",
|
|
10
10
|
"typescript-eslint": "^8.70.1"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
},
|
|
65
65
|
"type": "module",
|
|
66
66
|
"types": "dist/index.d.ts",
|
|
67
|
-
"version": "7.0.
|
|
67
|
+
"version": "7.0.2"
|
|
68
68
|
}
|