tslint-comment-to-eslint

0.0.3 • Public • Published

README

Replace tslint comments (like tslint:disable-nextline) to eslint comments.

CAUTION: This tool does not check lines are comments. Check diff carefully!

Usage

$ yarn global add tslint-comment-to-eslint
$ tslint-comment-to-eslint 'src/**/*.ts'

Example

-   // tslint:disable-next-line:no-floating-promises
+   // eslint-disable-next-line @typescript-eslint/no-floating-promises

Readme

Keywords

none

Package Sidebar

Install

npm i tslint-comment-to-eslint

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • sunnyone41