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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Context: I'm working on autotslint, a CLI tool to take in TSLint failures and, when possible, fix them in the files.
Ask: Can the existing logic in tslint-cli.ts be exposed publicly as a usable class and documented in the readme? Ideally we should be able to do something like the following:
Autotslint will need to be able to generate "waves" of TSLint failures: given the standard configurations that can be given via tslint-cli, it should generate failures for rules. It's possible to do this using the existing require("tslint") linter and some work, but would be much simpler if the existing CLI logic could be re-used.
The CLI class would just be a refactor of tslint-cli.ts, not a change in any existing behavior. That being said, it would be nice to switch the options to have shorthand as aliases so the interface could use strings like "config" instead of "c".
The text was updated successfully, but these errors were encountered:
Hey, I don't know if you noticed this (there are no docs...) but we have started implementing auto-fixing in tslint itself. This is on the master branch and in the 4.0.0-dev.* releases. See #1423, #1574
Context: I'm working on autotslint, a CLI tool to take in TSLint failures and, when possible, fix them in the files.
Ask: Can the existing logic in
tslint-cli.ts
be exposed publicly as a usable class and documented in the readme? Ideally we should be able to do something like the following:Autotslint will need to be able to generate "waves" of TSLint failures: given the standard configurations that can be given via tslint-cli, it should generate failures for rules. It's possible to do this using the existing require("tslint") linter and some work, but would be much simpler if the existing CLI logic could be re-used.
The CLI class would just be a refactor of tslint-cli.ts, not a change in any existing behavior. That being said, it would be nice to switch the options to have shorthand as aliases so the interface could use strings like
"config"
instead of"c"
.The text was updated successfully, but these errors were encountered: