You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Experimental Feature] Opt in flag convert disable comments (#246)
* Set basic replace comment conversion
* Fix regex pattern and cli command name for convert comments
* Fix regex pattern condition to match rules without carriage return
* Replace regex and use tslint functions to retrieve tslint comment data
* Switching rule handler
Convert the input TSLint rule into equivalent ESLint
* Write file after switching rule comments
This is still a work in progress, need to check the start and end
position of rule comments to avoid overwriting the wrong lines.
* replace old path to rulesConverter
* Working replacements for single line changes
* 4am and it works
* Revert .prettierrc testing change
* Love that nullish operator
* Comments WIP
* Seems to be all working and tested now
* Feature add: logged directive counts as a summary
* Docs in CLI and README.md
* Filled in basic test for separateErrors
* Normalized output per new norms
Co-authored-by: Josh Goldberg <[email protected]>
File glob path(s) to convert [TSLint rule flags](https://palantir.github.io/tslint/usage/rule-flags) to [ESLint inline comments](https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments) in.
63
+
Comments such as `// tslint:disable: tslint-rule-name` will be converted to equivalents like `// eslint-disable eslint-rule-name`.
0 commit comments