Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Add default severity level in config #2279

Closed
nchen63 opened this issue Mar 1, 2017 · 0 comments · Fixed by #2416
Closed

Add default severity level in config #2279

nchen63 opened this issue Mar 1, 2017 · 0 comments · Fixed by #2416
Milestone

Comments

@nchen63
Copy link
Contributor

nchen63 commented Mar 1, 2017

Need to provide a default severity level in the config file in case people want to set most rules to "warning" (we currently default to "error")

Questions to answer:

  • does a new default severity just override the old default or does it wipe out all of the inherited custom levels?
    • if it doesn't wipe out inherited severity for each rule, could be annoying to have to override every rule individually
    • if it does wipe out everything, might be difficult to build a nuanced rule set
  • should there be a rule level severity default?
    • this would allow base ruleset authors to provide flexibility
    • could add unnecessary complexity
@nchen63 nchen63 added this to the TSLint 5.0 milestone Mar 1, 2017
@nchen63 nchen63 mentioned this issue Mar 27, 2017
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant