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.
Is your feature request that we implement a new rule?
No.
Is your feature request related to a problem? Please describe.
It's often difficult to determine which rules are active and in what configuration. I'm often needing to search through the list of rule sets listed in extends to figure out what's being overridden where.
Describe the solution you'd like
There should be a CLI command that will display the list of computed rules. The command could be named something like --display-computed. If the option is present when tslint is invoked, you would simply get a print out in standard output of a JSON array of the resultant rules after combining all the imported and overridden rules.
Describe alternatives you've considered
There doesn't appear to be a way to get tslint to display precisely how it resolved all the rules given to it.
Feature request
Is your feature request that we implement a new rule?
No.
Is your feature request related to a problem? Please describe.
It's often difficult to determine which rules are active and in what configuration. I'm often needing to search through the list of rule sets listed in
extends
to figure out what's being overridden where.Describe the solution you'd like
There should be a CLI command that will display the list of computed rules. The command could be named something like
--display-computed
. If the option is present whentslint
is invoked, you would simply get a print out in standard output of a JSON array of the resultant rules after combining all the imported and overridden rules.Describe alternatives you've considered
There doesn't appear to be a way to get
tslint
to display precisely how it resolved all the rules given to it.Additional context
ClangFormat has such a feature (named
-dump-config
): https://clang.llvm.org/docs/ClangFormat.htmlThe text was updated successfully, but these errors were encountered: