linter-scss-lint
linter-scss-lint copied to clipboard
Error when editing excluded file
When using a exclude property in the .scss-lint.yml you get the following error when you are saving a file that is excluded.
TypeError: All files matched by the patterns [/Users/path/to/excluded/file] were excluded by the patterns:
[/Users/path/to/excluded/file]
+1
+1
Running into this problem specifically with Jekyll. It requires YAML in the main.scss file to generate correctly, but this of course throws a syntax error with scss-lint. And I can't exclude main.scss because then I get an error everytime I save it.
Anyway we could have some flag/option to silently exclude files vs throwing an error if all files being linted are being excluded?