csscomb / sublime-csscomb

Sublime plugin for CSScomb—CSS coding style formatter
398 stars 61 forks source link

Global csscomb settings file? #8

Closed welly closed 10 years ago

welly commented 10 years ago

Is there any way of setting up a global CSSComb config file rather than having to add a .csscomb.json file to every project? I've create a config file that I would want to use as a standardised format and while it's not that difficult to duplicate the config file across projects, it's another thing to think about while setting up a new project.

Thanks!

tonyganch commented 10 years ago

You can place .csscomb.json file in HOME directory, or any other folder inside HOME, just like .gitignore. For example, if path to the config is ~/GitHub/.csscomb.json, projects ~/GitHub/panda_project and ~/GitHub/raccoon_project will both use that config.