When running sass-lint
from a global npm installation, I receive valid errors about a file, however when running the same command through npm run lint
I receive no errors. I am using the latest 1.12.1 version of sass-lint and latest 8.11.1 version of node. This is only occurring on a Windows machine (10), and I cannot reproduce it on mac os.
Apologies if this is an issue with npm or something outside of sass-lint, I have been unable to find anything related anywhere. Thank you!
Invalid scss:
.layout-belt {
display: block;
}
package.json:
{
"name": "npm-test",
"scripts": {
"lint": "sass-lint -c .sass-lint.yml '*.scss' -v -q"
},
"devDependencies": {
"sass-lint": "^1.12.1"
}
}
.sass-lint.yml:
options:
merge-default-rules: true
files:
include: '**/*.s+(a|c)ss'
rules:
class-name-format:
- 2
-
convention: camelcase
TheJaredWilcurt, n0v1, cyrillegin, marckassay and ketan-10
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4