Skip to content

Releases: johnsoncodehk/tsslint

v1.4.0

10 Dec 22:51
Compare
Choose a tag to compare

@tsslint/cli

  1. CLI output information readability improved

ezgif-6-f25f7833a5

  1. Linting results for rules that do not use semantic information can now be cached (#29)

  2. Add parallel support (disabled by default)

  3. New CLI options

  • --force: Disable caching
  • --threads: Number of parallel threads

@tsslint/config

  1. 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),
	],
	// ...
  1. built-in auto-completion support for createIgnorePlugin (#30)

Ignore directive completion in comment.

image

Rule id completion with the ignore directive.

image
  1. built-in quick fix support for createIgnorePlugin
image

@tsslint/eslint

  1. New createShowDocsActionPlugin API (#13)

  2. The loadPluginRules API has been renamed to convertConfig

@tsslint/typescript-plugin

  1. Source mapping in the IDE no longer jumps to non-existent .ts files

v1.0.0

08 Jun 20:04
Compare
Choose a tag to compare

This is the first official release, please refer to README.md for details. 👋