Rollup Suggestion? #104

Closed
cssagogo opened this Issue Jul 6, 2011 · 2 comments

Projects

None yet

2 participants

@cssagogo

I'm fairly new to github so I'm not sure this is the place to do this, but I was thinking it would be nice if on the rollups if Lint gave the suggested targets for floats and such. Similar to the way validators do for file size. That said, It would also be nice if to see CSS Lint eventually became a css toolbox that also offered a validator and minimizer.

@nzakas

I'm not sure I understand what you're asking for, can you provide an example?

CSS Lint will do some basic validation in the future, but it will stick to verifying code. That's not to say that we wouldn't also create a minimizer, but it wouldn't be under this umbrella.

@cssagogo

Sure. CSS Lint currently outputs this when you have to many !important rules. It displays the count, but not a target. What is the max number of !important rules that I should be using?

Important   
Too many !important declarations (52), be careful with rule specificity

Perhas something like...

Important   
Too many !important declarations (52), be careful with rule specificity (Try keeping the number below 20 to avoid possible conflicts)

Or something to that effect?

@nzakas nzakas pushed a commit that closed this issue Jul 12, 2011
Nicholas C. Zakas Changed wording of \!important error to include max usage recommendat…
…ion (fixes #104)
3406867
@nzakas nzakas closed this in 3406867 Jul 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment