This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

scsslint-loader

0.1.1 • Public • Published

scsslint-loader

Build Status npm version

Webpack loader for scss-lint

Requirements

  • Ruby 1.9.3+
  • Sass 3.4.15+
  • scss-lint 0.48.0+
  • Files you wish to lint must be written in SCSS (not Sass) syntax

Install

$ npm install scsslint-loader

Usage

Documentation: using loaders

Within your webpack configuration, you'll need to add the scsslint-loader to the list of modules:

module.exports = {
  // ...
  module: {
    preloaders: [
      {
          test: /\.scss$/,
          loader: "scsslint",
          exclude: /node_modules/
      }
    ]
  }
  // ...
}

Configuration

Please see scss-lint configuration for configuration options.

scss-lint loads configuration in the following order of precedence:

  1. Configuration file specified via the --config flag
  2. Configuration from .scss-lint.yml in the current working directory, if it exists
  3. Configuration from .scss-lint.yml in the user's home directory, if it exists

Package Sidebar

Install

npm i scsslint-loader

Weekly Downloads

14

Version

0.1.1

License

MIT

Last publish

Collaborators

  • domjtalbot