scsslint-loader
scss-lint loader (for webpack)
Last updated 4 years ago by domjtalbot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install scsslint-loader 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (4 years ago)

14 Versions

  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.93                                ...           4 years ago
  • 0.0.92                                ...           4 years ago
  • 0.0.91                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.8                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |