Releases: Gelio/loose-ts-check
v2.0.0
BREAKING CHANGES
-
--auto-update
will no longer add new file paths to the registryWhen there were errors that could be ignored because the error code is already
ignored in other files,--auto-update
used to add these new file paths to
the registry. This allowed regressions to sneak in, since a file that was
already conforming to the stricter config could re-appear in the registry of
ignored files.In situations like this one, these file paths will be no longer added to the
registry, and the program will fail when there are errors in files that could
be ignored.If you need to start ignoring these errors, use the
--init
flag to
regenerate the registries.See #16 for more information.
Engineering:
- Include TypeScript 5.0 in integration tests.
Full Changelog: v1.3.0...v2.0.0
v1.3.0
Features:
-
Wildcard support in
loosely-type-checked-files.json
Paths in
loosely-type-checked-files.json
support wildcards now (e.g.
src/**/*
ornode_modules/**/*
orsrc/{a,b,c}/*.ts
).Matching is done using minimatch.
Engineering:
-
Maintenance work (update npm packages, use newer Node versions in CI).
-
Add integration tests
They give more confidence that the tool is working as expected.
v1.2.0
v1.1.0
Features:
-
Detect which ignored error codes specified in the config that did not occur.
If
--auto-update
is passed in, those error codes are automatically removed from the config.
Engineering:
- Refactor the code for easier maintenance
- Add unit tests for the CLI and individual functions
v1.0.1
v1.0.0
Initial release of the tool.
Features:
- Parse TSC errors from standard input (stdin)
--init
CLI option to initialize the configuration files (ignored errors and loosely type-checked
files)- CLI options to customize the paths to configuration files
--auto-update
CLI option to automatically update the list of loosely type-checked files when
some file from no longer needs errors to be ignored
Engineering:
- Some unit tests using jest
- CI using GitHub Actions
- Compilation using TypeScript
- Formatting using prettier