atom-csscomb
atom-csscomb copied to clipboard
Allow path to custom configuration file in config.cson
It would be useful if we could put 'csscomb': '/Path/to/Custom/csscomb.json'
in Atom's config.cson
as an alternative instead of only being able to embed all those rules.
I agree with @danielbayley. This would be great for anyone referring that file with other editors as-well.
I can't seem to get my settings into config.cson anyway. Not sure what syntax or format is needs. Can anyone provide an example?
Here's my config:
{
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": false,
"leading-zero": false,
"quotes": "single",
"space-before-colon": "",
"space-after-colon": " ",
"space-before-combinator": " ",
"space-after-combinator": " ",
"space-between-declarations": "\n",
"space-before-opening-brace": " ",
"space-after-opening-brace": "\n",
"space-after-selector-delimiter": "\n",
"space-before-selector-delimiter": "",
"space-before-closing-brace": "\n",
"strip-spaces": true,
"tab-size": true,
"unitless-zero": true,
"vendor-prefix-align": true
}
I'm guessing it starts with:
"csscomb":
...
But that's as far as I get.
Seems like an enhancement that could be tied into #8