-
Notifications
You must be signed in to change notification settings - Fork 528
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
Error: EISDIR: illegal operation on a directory #555
Comments
How're you running sass-lint? From the CLI? If so which command did you use? |
Yeah, from the CLI, simply by running I've also attempted running it via an npm script using the same command. |
I ran into the same thing. Coming from scss-lint I assumed that sass-lint would scan a directory for .sass & .scss files. But apparently it doesn't - it just blindly attempts to read the directory as a file. Workaround: |
Maybe we weren't so specific but it does mention the globbing and including of a file extension in the docs for the CLI and config file include section. This probably should change though. Thanks 👍 |
It would be nice if running sass-lint from the command line would auto-detect a sass-lint.yml file in the same directory. Also it might be nice to at least get feedback about the number of warnings, even when not in verbose mode. Otherwise it looks like nothing happened. :) |
I found the cause of this, if running sass-lint without any options the default glob would match folders labelled like the following 'o.scss' which happens the appear in the sass-graph package which is a dependency of node-sass. If you dont pass options to sass-lint the chances are it attempted to lint your node modules and came across this. The fix should be with you for 1.8.0 |
Running
sass-lint .
fails on my system, throwing the following error:I'm running Node v4.2.4 and the latest version of sass-lint (v1.5.1) on OS X 10.11 and fails with and without default config files.
The text was updated successfully, but these errors were encountered: