SublimeLinter/SublimeLinter-stylelint

Global installation support

Closed this issue · 1 comments

Is it possible to install postcss and stylelint globally and make this linter work for all projects? (Similar as htmlhint.)

I tried:

npm install -g postcss stylelint

However sublime text will give warning as follow:

SublimeLinter: WARNING: Stylelint crashed: No configuration provided...

You can install the linter program globally, but it still needs to be able to find a configuration file. This, you can also make available globally by creating one in your home directory. Please refer to postcss and stylelint documentation about creating these config files.