glen-84 / vscode-sass-lint

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

Extension not working #26

Closed ghKZ closed 6 years ago

ghKZ commented 6 years ago

Hi,

After installing the extension and making sure that "sass-lint" is available, both globally as well as locally, the extension still seems to fail to load/run/lint.

Our project structure:

When we run the sass-linter manually with sass-lint '**/*.scss' -v, it picks up all the files to lint correctly and outputs any of the issues in the terminal.

Relevant information:

rules: class-name-format:

Things we've tried:

Let me know if you require any additional information.

glen-84 commented 6 years ago
files:
  include: 'sass/**/*.s+(a|c)ss'
  ignore: 'node_modules/**'

Where is the sass folder in your project structure?

ghKZ commented 6 years ago

Sorry for the delayed response.

Removing that particular sass part of the include section seems to have fixed it but I could have sworn I tried that before and it didn't work. Either way, it seems to be fixed now -- I should check my configs more careful next time.

Again, thank you.