-
Notifications
You must be signed in to change notification settings - Fork 480
--exclude-list doesn't seem to work on folders #345
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
Comments
Assuming you are using 0.9.10? @jklein - would you mind taking a look? |
Yes, 0.9.10, tested on 2 Windows machines both with bash shell and dos. |
I'll look at this shortly, but in the meantime can you try using an absolute path? |
Using an absolute patch doesn't help
|
Okay so this is a bug, or more realistically a fragile implementation of this functionality. Basically the matching between the exclude list and the list of files to list isn't as robust as one might like, and you need to specify the files in the correct way. So the workaround is to do:
Not ideal. I'll work on improving this and submit a patch, but in the meantime this should get you up and running. Essentially the prefix that is going to go in front of all of the files to be linted (in this case ./) must go in front of all of the files that are being excluded. |
Fixes #345 - Using absolute paths for the excluded files and the files t...
As part of the discussion in #330, I was testing the --exclude-list inside .csslintrc and directly from the CLI.
The text was updated successfully, but these errors were encountered: