-
Notifications
You must be signed in to change notification settings - Fork 480
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
Allow embedded per-file rules. #336
Comments
+1 |
I'd also like this feature. |
Yes please! |
+1 |
+1 I like the second suggestion a lot. At this point, it's more a matter of On Fri, Jan 11, 2013 at 8:19 AM, Hans-Peter Buniat <[email protected]
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
Added support for embedded rulesets. Resolves #336.
I'd like to be able to specify rules on a per-file basis by embedding the options directly in the CSS file as a comment, similar to jslint and jshint:
/*csslint --ignore=adjoining-classes,box-sizing --error=universal-selector */
Or, to follow jslint convention (defaults to warn, false is ignore, true is error):
/*csslint adjoining-classes:false, box-sizing:false, universal-selector:true */
The text was updated successfully, but these errors were encountered: