We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Stylelint autofix produces code with right indentation.
This
.ab { box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px red; }
after stylelint test/*.scss --fix is transformed into this
stylelint test/*.scss --fix
Stylelint autofix produces code with no indentation.
Add --fix option to lint script in package.json -> stylelint test/*.scss --fix
--fix
lint
package.json
Place this css inside test/index.scss
css
test/index.scss
npm run lint
Remove "indentation": null rule setting inside index.js
"indentation": null
index.js
The text was updated successfully, but these errors were encountered:
fix: Remove null 'indentation' rule setting, in order to get right in…
559479a
…dentation when autofix enabled in stylelint (#10)
juantxokupul
Successfully merging a pull request may close this issue.
Expected Behaviour
Stylelint autofix produces code with right indentation.
This
after
stylelint test/*.scss --fix
is transformed into thisActual Behaviour
Stylelint autofix produces code with no indentation.
This
after
stylelint test/*.scss --fix
is transformed into thisReproduce Scenario
Steps to Reproduce
Add
--fix
option tolint
script inpackage.json
->stylelint test/*.scss --fix
Place this
css
insidetest/index.scss
npm run lint
Solution
Remove
"indentation": null
rule setting insideindex.js
The text was updated successfully, but these errors were encountered: