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 - v0.5.1: Happy New Year!

Published by JoshuaKGoldberg over 4 years ago

This release improves the phrasing for unknown TSLint rules by shifting the blame to this repository instead of ESLint. It also contains a new converter for import-blacklist, a couple of small bugfixes, and a few development improvements.

The user-facing changes are:

  • #277: Missing converter: import-blacklist to no-restricted-imports
  • #299: "do not have an ESLint equivalent" is misleading
  • #310: prefer-readonly: within @typescript-eslint
  • #314: Convert space-within-parens to space-in-parens

Many thanks to our excellent contributors: @mc-suchecki, @adamazing, and @beenotung!

tslint-to-eslint-config - v0.5.0: Happier Reporting

Published by JoshuaKGoldberg almost 5 years ago

This release contains several rule fixes as well as improvements around CLI output reporting:

  • #276: Account for TSLint and @typescript-eslint rulesets
  • #291: fix no-underscore-dangle
  • #293: fix space-before-function-paren
  • #297: Fix comment-format (capitalized-comments)
  • #304: Stopped erroring when .vscode/settings.json doesn't exist
  • #305: Improved spacing around reporting line groups

Eternal thanks to this release's repeat contributor, @bouzuya! ✨

tslint-to-eslint-config - v0.4.0: VS Code Settings Conversion

Published by JoshuaKGoldberg almost 5 years ago

This fast v0.4.0 is a doozy! In addition to a selection of traditional converter and merger improvements, a new --editor option will convert your editor settings from the TSLint extension's to the ESLint extension's. 🚀

  • #281: Fixed @typescript-eslint/member-delimiter-style and padding-line-between-statements converters
  • #282: Add no-redundant-jsdoc converter
  • #284: Missing merger [member-delimiter-style]
  • #273: Generating space-before-function-paren
  • #250: Convert editor settings
  • #271: no-import-side-effect output rule
tslint-to-eslint-config - v0.3.1: Corrected no-import-side-effect conversion

Published by JoshuaKGoldberg almost 5 years ago

This mini-release contains:

  • Corrected no-import-side-effect output rule (#271)
tslint-to-eslint-config - v0.3.0: Node 8 Support!

Published by JoshuaKGoldberg almost 5 years ago

Most notably, this release lowers the minimum Node verison to 8 as hinted to in a few issues.

Many thanks the sole contributor this release:

  • @deerawan

...for contributing:

  • #242: Add converter trailing-comma
tslint-to-eslint-config - v0.2.11: Rule Extensions Bugfix

Published by JoshuaKGoldberg almost 5 years ago

This release includes but one feature:

  • #262: Again allowed rules from extended rulesets (via reported configs) to be factored in

...fixing an annoying bug where extended rulesets' rules were not factored into output ESLint configurations. Thanks to @jeremyyap for spotting!

tslint-to-eslint-config - v0.2.10: Small Hacktoberfest Bugs

Published by JoshuaKGoldberg almost 5 years ago

Thanks, of course, to this small release's included contributor:

  • @jeremyyap

This release contains a couple of small but key bug fixes:

  • #255: Add ruleArguments mapping to indent converter
  • #258: Added missing 'never' argument to one-var output
tslint-to-eslint-config - v0.2.9: Hacktoberfest Round 3

Published by JoshuaKGoldberg almost 5 years ago

Hacktoberfest 2019 continues with some wonderful additions from the community. Thanks everyone!

  • @bmeverett
  • @HolgerJeromin
  • @jeremyyap
  • @KingDarBoja
  • @melbarch

Feature changes included:

  • #230: Added missing no-implicit-dependencies converter
  • #231: Fix member access converter
  • #236: Output optimizing for unsupported rules
  • #237: Add strict-boolean-expression converter
  • #239: add no-import-side-effect converter
  • #240: Add comment-format converter
  • #243: Fix typescript-eslint rulename to no-reference converter
  • #244: [Bugfix] Replace removed rules
  • #245: Factor in 'raw' configurations on top of 'reported' ones
  • #248: Add align rule converter + indent merger
  • #253: Add deprecation converter
tslint-to-eslint-config - v0.2.8: Hacktoberfest Round 2

Published by JoshuaKGoldberg about 5 years ago

We've got a whole new bunch of Hacktoberfest contributions thanks to these wonderful volunteers:

  • @afonsojramos
  • @alejo90
  • @asponda
  • @bmeverett
  • @da-snap
  • @deerawan
  • @devinmotion
  • @gzuzmark
  • @jeremyyap
  • @KingDarBoja
  • @KleeUT
  • @YashdalfTheGray

Feature changes included:

  • #193: add converter for space-within-parens rule
  • #202: Add missing converter: no-null-keyword
  • #204: Add missing converter: file-name-casing
  • #205: Added no-unused-expression converter
  • #206: Added no-async-without-await converter and unit tests
  • #209: Script creates wrongly named file on Windows
  • #210: use of no-empty-function
  • #211: Added ordered-imports converter
  • #214: add no-duplicate-variable converter and unit test
  • #215: Feature/converter no default export
  • #218: implement no-shadowed-variable converter
  • #220: added semicolon rule converter plus tests
  • #221: added a converter for use-default-type-parameter
  • #222: Implement variable-name rule converter
  • #223: Implement no-submodule-imports converter
  • #226: Removed end-to-end tests
  • #227: Add no-caller and no-eval mergers
  • #229: Refreshed list of ESLint rules for new additions
  • #235: Switched no-console output from blacklist to whitelist
tslint-to-eslint-config - v0.2.7: Hacktoberfest Is Amazing!

Published by JoshuaKGoldberg about 5 years ago

Many thanks to the first four (!) days of Hacktoberfest volunteers who have already gotten contributions merged in!

  • @asponda
  • @bpallares
  • @cthompson527
  • @da-snap
  • @mauricetmeyer
  • @Mouzourides

Feature changes included:

  • #146: Correct GitHub repo URL
  • #152: Corrected convert names: member-ordering, no-eval
  • #160: Added missing_converter.md issue template
  • #189: Added missing no-floating-promises converter
  • #191: Added missing prefer-readonly converter
  • #190: Implement converter for triple-equals rule #187
  • #195: Added converter for max-line-length rule
  • #192: Added missing quotemark converter
  • #198: added no-void-expression converter and unit tests
  • #194: Adds no-for-in converter along with tests
  • #196: added no-trailing-whitespace converter and unit tests
  • #197: added only-arrow-functions converter and unit tests
  • #201: fix: corrected arguments for max-line-length converter
  • #199: Added converter for no-duplicate-imports rule
  • #203: Add missing converter: newline-before-return
tslint-to-eslint-config - v0.2.4: The One with Merged Rule Notices

Published by JoshuaKGoldberg about 5 years ago

Changes included:

  • #141: Merge and deduplicate rule notices
tslint-to-eslint-config - v0.2.3: The One with Explicit Member Visibility

Published by JoshuaKGoldberg about 5 years ago

Changes included:

  • #137: Converted explicit-member-accessibility will ignore constructors
tslint-to-eslint-config - v0.2.2: The One with Explicit TSLint Version Complaints

Published by JoshuaKGoldberg about 5 years ago

Changes included:

#120: Explicit error message asking for an updated tslint version

tslint-to-eslint-config - v0.2.1: The One with Rule Notices

Published by JoshuaKGoldberg about 5 years ago

Changes included:

  • #7: Print rule notices in result reporting

Thanks @egiurleo for the contribution! ✨

Package Rankings
Top 1.45% on Npmjs.org
Top 6.68% on Proxy.golang.org
Badges
Extracted from project README
Code Style: Prettier NPM version Circle CI Join the chat at https://gitter.im/tslint-to-eslint-config/community Speed: Blazingly Fast