-
Notifications
You must be signed in to change notification settings - Fork 280
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
ScssLint not using config file #351
Comments
One more thing - when I run |
Is the |
I can confirm that
I confirmed this by checking the proper branch on github. |
Which version of Overcommit are you running, @ericgross? How are you invoking the pre-commit hook? Is it via |
overcommit 0.32.0 I have been running |
It does seem to work properly when run via a |
What happens if you run with |
Here you go:
Also, I am trying to do a
even though that file should be ignored based on my |
Notice from the stack trace that |
Closing. Feel free to reopen if upgrading doesn't fix the issue, but I'm pretty sure that's the issue here. |
default.yml contains |
Good catch @vill, would you be willing to submit a PR for that? |
i still have this error after all updates |
please help me to resolve it |
overcommit 0.38.0 |
@miukki, I have such versions all works fine:
What is the output of this commands |
Maybe this:
|
I have a .scss-lint.yml file that is being ignored by my PreCommit hook.
.scss-lint.yml:
scss_files: 'app/assets/stylesheets/**/*.scss'
.overcommit.yml:
And the output has a ton of errors from files such as:
/Users/eric/Development/proj/web/vendor/assets/stylesheets/bourbon/_bourbon.scss:72 StringQuotes: Prefer single quoted strings
The text was updated successfully, but these errors were encountered: