stubbornella/csslint — Issue #231: Ignore rules option
Author: AlistairB
Created: 2012-02-01 01:11:30+00:00
State: open

As I understand it, there is no way to say, run all rules but XYZ. The way to do this seems to be include a list of all rules except for those that are desired via --errors.

In my case I want to run all rules but 'ids' and so I need to set all rules in --errors, which isn't ideal as:

- There are a lot of rules to include which makes this harder to maintain
- The pertinent info in this case is which rules are NOT included, which to figure out involves running through all the rules in CSS lint and comparing this against the --error list
- With each new version of CSS lint, new rules will need to be checked for and manually added each time.

Can a --ignore-rules (or similar) option be added?