glen-84 / vscode-sass-lint

Sass Lint for Visual Studio Code
16 stars 1 forks source link

[Feature-Request] update linting on config rule change without vscode reload #31

Closed capi1O closed 5 years ago

capi1O commented 5 years ago

Currently if I edit the rules in my sass-lint.yml file the linting is not updated. I need to reload vscode window (command palette > reload window).

glen-84 commented 5 years ago

Hi @monkeydri,

Just to confirm, are you using:

  1. sass-lint.yml or
  2. .sass-lint.yml or
  3. .sasslintrc

?

capi1O commented 5 years ago

I am using .sasslintrc but had the same behaviour when using sass-lint.yml.

glen-84 commented 5 years ago
capi1O commented 5 years ago

I confirm it works when using .sass-lint.yml (setting sasslint.configFile settings entry to it or leaving it empty) : linting in editor is updated on rule change without VScode window needing to be reloaded.

sass-lint.yml is not a valid configuration file name, please try .sass-lint.yml

I initially tried sass-lint.ym over .sass-lint.ym because this is the name of the file used in sass-lint docs : https://raw.githubusercontent.com/sasstools/sass-lint/develop/docs/sass-lint.yml

glen-84 commented 5 years ago

Thanks for the confirmation.