You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll need to also have a sass-lint-auto-fix yml file that specifies which rules to be enabled. This file has it's own matching pattern to run on. But by default it matches the same pattern, and only runs if lint errors have been detected. Can you try running it with pattern as a command line arg instead, and see if that resolved your issue
Problem Description
When I running
npm run lint:fix
sass-lint-auto-fix runs only in one file, but not of all scss files mentioned in my.sass-lint.yml
configsass-lint-auto-fix output
My
.sass-lint.yml
config:my folder structure
lint:fix
script:"lint:fix": "sass-lint-auto-fix"
sass-lint-auto-fix
version: 0.19.0The explicit also doesn't work (same result):
"lint:fix": "sass-lint-auto-fix --config-sass-lint .sass-lint.yml"
How I can use
sass-lint-auto-fix
to validate and fix (if necessary) all my.scss
files according to sass-lint rules in.sass-lint.yml
config?Thank you :)
The text was updated successfully, but these errors were encountered: