idok / scss-lint-plugin

SCSS Lint plugin for intellij
http://plugins.jetbrains.com/plugin/7530
93 stars 8 forks source link

scss-lint plugin collides with native style-lint support #52

Closed danez closed 6 years ago

danez commented 7 years ago

Versions

scss-lint: 0.48.0 OS: macOS latest IDEA product and version: phpstorm/webstorm 2016.3.1

Description

When scss-lint is installed (does not need to be enabled for the project) style-lint is not working in scss files.

Steps to Reproduce

  1. git clone https://github.com/danez/scss-lint-bug
  2. yarn install or npm i
  3. Create new project in web- or phpstorm from sourcefiles, pointing to the checkout
  4. Enable stylelint in web- or phpstorm ( see https://www.jetbrains.com/help/webstorm/2016.3/using-stylelint-code-quality-tool.html)
  5. open error.scss file that has a violating rule in stylelint and see error annotation.
  6. Install scss-lint (just install, do not enable it for the project)

Expected behavior: [What you expected to happen] errors from style-lint

Actual behavior: [What actually happened] errors are not be reported, as either style-lint is not run at all, or because the annotations are not applied from style-lint.