Skip to content

Allow file patterns to be excluded. #2

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

Closed
sreid99 opened this issue Apr 26, 2013 · 4 comments
Closed

Allow file patterns to be excluded. #2

sreid99 opened this issue Apr 26, 2013 · 4 comments
Labels

Comments

@sreid99
Copy link

sreid99 commented Apr 26, 2013

Would it be possible to specify files to be excluded on the command line ?

@JohnRiv
Copy link
Member

JohnRiv commented Apr 26, 2013

That should be possible via the --exclude-list= command line argument. I'll look into why that's not working.

@sreidaf
Copy link

sreidaf commented Apr 29, 2013

I was just asking if this option could be added - there was no mention of it in the readme. It probably does work.

Are there any other options - e.g. to disable some of the warnings ? Is it possible to put these in a yml file, or only on the command line ?

@JohnRiv
Copy link
Member

JohnRiv commented Jul 16, 2013

I had a chance to look into this further. It appears --exclude-list= doesn't completely work in all cases csslint v0.9.10 (see CSSLint/csslint/issues/345), but it is fixed in the master branch. Once a new version of csslint is released, I'll update this ruby wrapper as well and then you should have that option.

You can specify which specific warnings to test for (effectively disabling the others) either via the command line or a .csslintrc file. More details are available over at the CSS Lint wiki page on the Command-line Interface

@JohnRiv JohnRiv closed this as completed Jul 16, 2013
@sreidaf
Copy link

sreidaf commented Jul 17, 2013

Thanks - I'll try out the new version once it's released.

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

No branches or pull requests

3 participants