csscomb.js
csscomb.js copied to clipboard
Unable to parse 'csscomb.json'
I wanted to indent my SCSS files using tabs instead of spaces. I changed block-indent
to a single tab character, but now when I run csscomb (using grunt) I get a warning: "Unable to parse "csscomb.json" file (Unexpected token ). Use --force to continue."
Any idea why? The csscomb config file is indented using four spaces, though I don't think this should make a difference.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
It appears that tabs are not allowed in strings in JSON. It works if I use \t
instead of the tab character. Perhaps the docs should be updated (currently it says "string with whitespaces and tabs").