Use sass-convert to indent your Sass/SCSS code
You can use sass-convert to indent SCSS code by converting from SCSS to SCSS.
Usage:
sass-convert -F scss -T scss --indent 4 from.scss to.scss
(2 is default if not specified)
If you want to re-indent all SCSS files in the entire folder:
sass-convert --in-place --indent 4 -r -F scss -T scss YOUR_SASS_FOLDER_NAME
Credit:
http://iamhlb.com/post/48175381086/use-sass-convert-to-indent-your-sass-scss-code
Written by Christopher Mitchell
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sass
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#