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

Allow embedded per-file rules. #336

Closed
shannonmoeller opened this issue Jan 11, 2013 · 5 comments
Closed

Allow embedded per-file rules. #336

shannonmoeller opened this issue Jan 11, 2013 · 5 comments

Comments

@shannonmoeller
Copy link
Contributor

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 */
@apticknor
Copy link

+1

@TwisterMc
Copy link

I'd also like this feature.

@ghost
Copy link

ghost commented Jan 11, 2013

Yes please!

@hpbuniat
Copy link
Contributor

+1

@nzakas
Copy link
Contributor

nzakas commented Jan 11, 2013

+1 I like the second suggestion a lot. At this point, it's more a matter of
someone having time to implement this rather than anything else. Hint: we
accept pull requests. :)

On Fri, Jan 11, 2013 at 8:19 AM, Hans-Peter Buniat <[email protected]

wrote:

+1


Reply to this email directly or view it on GitHubhttps://github.com//issues/336#issuecomment-12151236.


Nicholas C. Zakas
@SlickNet

Author, Professional JavaScript for Web Developers
Buy it at Amazon.com:
http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3

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

5 participants