github typescript-eslint/tslint-to-eslint-config v1.5.0
v1.5.0: Informed Comment Conversions

latest releases: v2.14.0, v2.13.4, v2.13.3...
3 years ago

Behold, at long last: an intelligent system for converting tslint:disable comments to their eslint-disable counterparts!

Prior to this release, tslint-to-eslint-config would directly convert rule names from comments without factoring in the project's TSLint configuration. This was fine in most cases but would occasionally result in a surprising rule name in the cases of TSLint rules that map to different ESLint rules based on their configuration.

As of this release, tslint-to-eslint-config will cache rule conversions from looking at a project's original TSLint configuration and use them to inform comment conversions when possible. This should cover the vast majority of the dynamic comment conversions for most users. Although it's possible that comments refer to rules not present in the original TSLint configuration, we expect this to be applicable for exceedingly few users.

This release also includes a bugfix for the indent rule converter when set to tabs.

  • #712: Factored config rule conversions into comment conversions
  • #720: Fix invalid indent rule when using tabs

Many thanks to this release's external contributor, @kuzivany!

Don't miss a new tslint-to-eslint-config release

NewReleases is sending notifications on new releases.