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
Provide a way to specify --syntax
flag for stylelint
#7
Comments
Does this seem related to the issue I was having yesterday? |
Here is how syntax should be defined: https://github.com/stylelint/stylelint/blob/6b7fb87b67b964a8edf9c625aefbad9bfa2185c4/docs/user-guide/css-processors.md#parsing-non-standard-syntax
@derekrushforth yes, I think so. |
The thing is, this styling-staged doesn't detect syntax at all. I need to find a way to provide it somehow. |
--syntax
flag for stylelint
stylelint-staged
detects syntax (i.e. SCSS) of committed files incorrectly — it throws errors that don't appear whenstylelint
is run normally. I'd guess that this is related to a new way that Stylelint requires syntax to be specified — it used to be defined in index.js, but now it is provided as paramstylelint --syntax scss
.The text was updated successfully, but these errors were encountered: