tslint-to-eslint-config

Converts your TSLint configuration to the closest possible ESLint equivalent. πŸš€

MIT License

Downloads
108.3K
Stars
829
Committers
57

Bot releases are hidden (Show)

tslint-to-eslint-config - v2.14.0: ordered-imports Latest Release

Published by JoshuaKGoldberg over 1 year ago

This release contains a long-pending PR from @hyperupcall to add adds support for the TSLint ordered-imports rule providing ruleArguments to the ESLint import/order rule. Hooray! πŸŽ‰

  • #1402: feat: Support ordered-imports option
tslint-to-eslint-config - v2.13.4

Published by JoshuaKGoldberg almost 2 years ago

This release includes a hefty number of dependency version bumps, but no new code otherwise.

tslint-to-eslint-config - v2.13.3: Fixed variable-name arguments

Published by JoshuaKGoldberg about 2 years ago

This patch release contains one bugfix:

  • #1565: fix(rule/variable-name): Use ruleArguments property

Thanks @hyperupcall for sending the PR in!

tslint-to-eslint-config - v2.13.2: Fixed published package

Published by JoshuaKGoldberg about 2 years ago

This patch release fills in missing files that were preventing the package from running. There are no other bugfixes or new features. See #1536.

tslint-to-eslint-config - v2.13.1: Fixed variable-name

Published by JoshuaKGoldberg about 2 years ago

This release includes a bugfix for the variable-name converter:

  • #1526: update converter to return PascalCase and snake_case format values for variable names

Thanks to @amorimr for a great first contribution!

tslint-to-eslint-config - v2.13.0: Corrected changed rule severities

Published by JoshuaKGoldberg over 2 years ago

This release includes an important bugfix for rule severities that differ between TSLint and ESLint:

  • #1468: Properly use ruleSeverity properties of rule converters during conversion

You can read more on the original issue here: https://github.com/typescript-eslint/tslint-to-eslint-config/issues/1207

Thanks to @hyperupcall for continuing to send great contributions!

tslint-to-eslint-config - v2.12.4: Set root: true by default

Published by JoshuaKGoldberg over 2 years ago

This release includes a single, excellent user-facing feature that brings tslint-to-eslint-config's output more in line with standard ESLint practices:

  • #1467: fix: Set root: true by default

Thanks @hyperupcall for the continued contributions!

Astute readers may also notice that this version is a bit further along than previous releases noted on GitHub. Previous v2.12.* versions were released quickly in a failed effort to migrate to ECMAScript modules. I won't be trying that again for a while.

tslint-to-eslint-config - v2.12.0: cleaner prettier and typedef converter

Published by JoshuaKGoldberg over 2 years ago

This release comes with two excellent user-facing features:

  • #1370: Add converter for typedef property
  • #1397: No longer extend from removed/deprected Prettier ESLint configs

Thanks to contributor @hyperupcall for both of them! πŸŽ‰

tslint-to-eslint-config - v2.11.0: class-method-newlines converter

Published by JoshuaKGoldberg over 2 years ago

This patch release includes a new converter:

  • #1356: feat: add converter for class-method-newlines rule

Thanks @kondi!

tslint-to-eslint-config - v2.10.1: Windows Package Find Fixing

Published by JoshuaKGoldberg almost 3 years ago

This release brings on key user-facing feature: finding original configuration files will no longer silently crash on Windows. It also includes a reorganization of converter and merger paths internally that should not impact running.

  • #1203: Removed plugin prefixes from converter and merger paths
  • #1247: Switch from cat to type on Windows
tslint-to-eslint-config - v2.10.0: Deprecations Everywhere!

Published by JoshuaKGoldberg about 3 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!

tslint-to-eslint-config - v2.9.2: Restricted Syntax Fixes

Published by JoshuaKGoldberg about 3 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!

tslint-to-eslint-config - v2.9.1: More react-a11y

Published by JoshuaKGoldberg over 3 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
tslint-to-eslint-config - v2.8.0: Obsolete Rule Converters

Published by JoshuaKGoldberg over 3 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!

tslint-to-eslint-config - v2.7.0: tslint-microsoft-contrib Progress and Windows

Published by JoshuaKGoldberg over 3 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!

tslint-to-eslint-config - v2.6.0: SonarTS Converters

Published by JoshuaKGoldberg over 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!

tslint-to-eslint-config - v2.5.0: Disabled Rules Coverage

Published by JoshuaKGoldberg over 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!

tslint-to-eslint-config - v2.4.2: Assorted rxjs rules, and more

Published by JoshuaKGoldberg over 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! πŸŽ‰

tslint-to-eslint-config - v2.4.1: Better Missing Errors

Published by JoshuaKGoldberg over 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
Package Rankings
Top 1.45% on Npmjs.org
Top 6.68% on Proxy.golang.org
Badges
Extracted from project README's
Code Style: Prettier NPM version Circle CI Join the chat at https://gitter.im/tslint-to-eslint-config/community Speed: Blazingly Fast
Related Projects