Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for "too many" rules #354

Open
wpsmith opened this issue Mar 1, 2013 · 1 comment
Open

Options for "too many" rules #354

wpsmith opened this issue Mar 1, 2013 · 1 comment

Comments

@wpsmith
Copy link

wpsmith commented Mar 1, 2013

I would like to see the implementation of rule options for the too many as this seems to be arbitrarily & subjectively set. Having the option to run the CSSLint tighter (or looser I guess) would enable developers to have more valuable feedback without having to hack the core. I do tend to disagree with more options, but this one to me is a good one. So to be able to change floats, font-sizes & font-faces via options would be great, and the only option is to change the "limit" amount.

So I suggest something like this:

--rule-{rule-ID}=5

For example:

--rule-floats=5
--rule-font-sizes=5
--rule-font-faces=2

Thoughts?

@henryruhs
Copy link

Correct. You may have one big file that fails for "too many floats" but many splitted files pass!?

CSSLint should count per line and not per file, still I vote for wpsmith's issue.

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

No branches or pull requests

2 participants