Idea support for SassLint A Node-only Sass linter for both sass and scss syntax. see more here.
SassLint plugin for WebStorm, PHPStorm and other Idea family IDE with Javascript plugin, provides integration with SassLint and shows errors and warnings inside the editor.
- Support displaying SassLint warnings as intellij inspections
- NodeJS
- IntelliJ 13.1.4 / Webstorm 8.0.4, or above.
Install sass-lint npm package sass-lint npm:
$ cd <project path>
$ npm install sass-lintOr, install sass-lint globally:
$ npm install -g sass-lintTo get started, you need to set the SassLint plugin settings:
- Go to preferences, SassLint plugin page and check the Enable plugin.
- Set the path to the nodejs interpreter bin file.
- Set the path to the sass-lint bin file. should point to
<project path>node_modules/sass-lint/bin/sass-lintif you installed locally or/usr/local/bin/sass-lintif you installed globally.- For Windows: install sass-lint globally and point to the sass-lint cmd file like, e.g.
C:\Users\<username>\AppData\Roaming\npm\sass-lint.cmd
- For Windows: install sass-lint globally and point to the sass-lint cmd file like, e.g.
- Select whether to let sass-lint search for
.sass-lint.ymlfile