sass-lint-brunch

1.1.0 • Public • Published

Build Status NPM Package

sass-lint-brunch

Adds sass-lint support to brunch.

Install

npm install --save-dev sass-lint-brunch

Usage

The plugin will run automatically. Note that by default brunch ignores file names starting with an underscore.

Configuration

The following defaults can be overridden in brunch-config.js:

{
  ...
  plugins: {
    sassLint: {
      file: '.sass-lint.yml',
      options: {
        ...
      },
      warnOnly: false
    }
  }
  ... 
}

The file field can be used to specify an alternative YAML configuration for sass-lint.

The options field is passed through unchanged to sass-lint.

If the warnOnly field is set to true, then linting failures will be reported as warnings instead of errors, allowing Brunch to continue compiling the affected source file(s) even if linting failures occur.

Readme

Keywords

none

Package Sidebar

Install

npm i sass-lint-brunch

Weekly Downloads

5

Version

1.1.0

License

MIT

Last publish

Collaborators

  • karlspalding