0.1.1 • Published 8 years ago

scsslint-loader v0.1.1

Weekly downloads
143
License
MIT
Repository
github
Last release
8 years ago

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
0.1.1

8 years ago

0.1.0

8 years ago

0.0.93

8 years ago

0.0.92

8 years ago

0.0.91

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago