Tslint To Eslint Config Versions Save

Converts your TSLint configuration to the closest possible ESLint equivalent. 🚀

v2.10.0

2 years ago

This release contains a ton of support for external TSLint plugins that have rules no longer applicable to ESLint. Hooray!

  • #1194: feat: converters for ngrx rules
  • #1195: feat: add missing converters for rxjs rules
  • #1198: Added obsolete rule converters for remaining tslint-microsoft-contrib rules
  • #1199: Added obsolete converter for react-a11y-no-onchange
  • #1200: feat: add deprecated/removed rxjs rules
  • #1201: feat: add missing angular-whitespace converter
  • #1221: fix: [variable-name] Use id-denylist ESLint rule instread of id-blacklist that deprecated

Many thanks to this release's excellent community contributors, @rafaelss95 and @wafuwafu13!

v2.9.2

2 years ago

This release fixes an issue with some converters outputting restricted-syntax instead of no-restricted-syntax. Whoops...

  • #1191: [Bug fix] Fixing conversion rules

Thanks @viditganpi for both filing the issue and sending a PR to fix -- all in the same day!

v2.9.1

2 years ago

This patch release contains a handful of new converters for react-ally rules:

  • #1134: Added converter for react-a11y-tabindex-no-positive
  • #1136: Added converter for react-a11y-role
  • #1137: Added converter for react-a11y-role-supports-aria-props
  • #1140: Added converter for react-a11y-role-has-required-aria-props
  • #1141: Added converter for react-a11y-proptypes
  • #1142: Added converter for react-a11y-props
  • #1144: Added converter for react-a11y-image-button-has-alt, react-a11y-img-has-alt
  • #1146: Added converter for react-a11y-event-has-role
  • #1147: Added converter for react-a11y-aria-unsupported-elements

v2.8.0

2 years ago

This release contains a single feature, but a great one:

  • #1148: Added obsolete rule support to convertRules.ts

Many thanks to @KingDarBoja for collaboration in coming to that feature!

v2.7.0

2 years ago

Happy summer everyone!

This release brings a slew of new converters for the old tslint-microsoft-contrib rulesets, as well as a bugfix for finding existing package information on Windows:

  • #1072: Added converter for no-document-domain
  • #1073: Added converter for react-no-dangerous-html
  • #1074: Added converter for non-literal-require
  • #1075: Added converter for non-literal-fs-path
  • #1076: Added converter for possible-timing-attack
  • #1077: Added converter for no-document-write
  • #1078: Added converter for no-cookies
  • #1079: Added converter for no-exec-script
  • #1080: Added converter for react-tsx-curly-spacing
  • #1088: Added converter for react-a11y-accessible-headings
  • #1090: Added rule converter for react-a11y-anchors
  • #1151: Fixed package file parsing for Windows
  • #1152: Ignore parent NODE_OPTIONS in child_process exec

Many thanks to the ever-vigilant @KingDarBoja for reviews on PRs!

v2.6.0

3 years ago

Hot on the heels of v2.5.0, this v2.6.0 release includes one mammoth set of missing converters for SonarTS rules:

  • Add SonarTS converters. #1085

Many thanks to @Res42 for filling so many of them in!

v2.5.0

3 years ago

Happy summertime, everyone! This release has a few added rule converters and a suite of fixes to existing converters that neglected to disable core ESLint rules overridden by their typescript-eslint counterparts.

Furthermore, it improves "merging" logic FOR duplicate ESLint rule arguments: if multiple converters output the same rule arguments, it's now smart enough to deduplicate them and not need an explicit merger internally.

  • #1066: Added converter for max-func-body-length
  • #1067: Added converter for no-empty-line-after-opening-brace
  • #1068: Added converter for no-delete-expression
  • #1069: Added converter for no-suspicious-comment
  • #1070: Added converter for no-with-statement
  • #1071: Added converter for underscore-consistent-invocation
  • #1092: Do not use merger if arguments are the same.
  • #1093: Fix @typescript-eslint disable rules.

Thanks to @Res42 for powering through the missing rule disables and merger logic improvement!

v2.4.2

3 years ago

This release includes a bunch of previously missing rule converters:

  • #1009: Added prefer-array-literal converter
  • #1054: Add rxjs no-exposed-subjects converter
  • #1055: Add rxjs no-finnish converter
  • #1057: Add rxjs no-ignored-subscription converter
  • #1058: Add no-dynamic-delete converter
  • #1059: Add prefer-switch converter
  • #1060: Add prefer-conditional-expression converter

It was authored by the maintainers: @JoshuaKGoldberg and (mostly) @KingDarBoja. Cheers! 🎉

v2.4.1

3 years ago

This small patch release contains a small improvement to error message reporting when a required package is missing.

  • #1046: Restricted missing package message checking to first 2 lines