Releases: johnsoncodehk/tsslint
Releases · johnsoncodehk/tsslint
v1.4.0
@tsslint/cli
- CLI output information readability improved
-
Linting results for rules that do not use semantic information can now be cached (#29)
-
Add parallel support (disabled by default)
-
New CLI options
--force
: Disable caching--threads
: Number of parallel threads
@tsslint/config
- New
createIgnorePlugin
API
Directive comments like @ts-ignore
, @ts-expect-error
can now be implemented through the built-in createIgnorePlugin
API.
import { defineConfig, createIgnorePlugin } from '@tsslint/config';
export default defineConfig({
plugins: [
createIgnorePlugin('@tsslint-ignore', false),
createIgnorePlugin('@tsslint-expect-error', true),
createIgnorePlugin('eslint-disable-next-line', false),
],
// ...
- built-in auto-completion support for
createIgnorePlugin
(#30)
Ignore directive completion in comment.
Rule id completion with the ignore directive.
- built-in quick fix support for
createIgnorePlugin
@tsslint/eslint
-
New
createShowDocsActionPlugin
API (#13) -
The
loadPluginRules
API has been renamed toconvertConfig
@tsslint/typescript-plugin
- Source mapping in the IDE no longer jumps to non-existent .ts files