Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Ability to downgrade error level to "warning" instead of just "error" #536

Open
CNovakPB opened this issue Oct 14, 2019 · 0 comments
Open

Comments

@CNovakPB
Copy link

Some rules are important to be made aware of, but a team of developers may not have the bandwidth to resolve all of them in a repo at one time. Therefore, it would be helpful to be able to set a rule's level to "warning" instead of just "error." This mimics the abilities of eslint and stylelint.

With a "warning," a test suite written in ember-cli and qunit can still pass without failure. With only "errors" in ember-cli-template-lint, the test suite will fail, and prevent the codebase from moving forward (particularly in a CI system). At that point, the developer is forced to disable the template rule completely, and new instances of the rule being broken can/will be added to the codebase, making the eventual refactor much worse.

Please add the ability to individually downgrade errors to warnings, in addition to completely disabling a rule.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant