Recommended Sass Lint settings for !NC projects https://git.inc.sh/IdeasNeverCease/sasslint-config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ポール ウェッブ 17b660aee4 Updated deps, README, and LICENSE 2 weeks ago
.editorconfig Initial commit 1 month ago
.eslintrc Initial commit 1 month ago
.gitignore Initial commit 1 month ago
.npmrc Initial commit 1 month ago
LICENSE Updated deps, README, and LICENSE 2 weeks ago
README.md Updated deps, README, and LICENSE 2 weeks ago
config.json Massive update 1 month ago
package.json Updated deps, README, and LICENSE 2 weeks ago

README.md

sasslint-config

INC

Recommended Sass Lint settings for !NC projects

Installation

$ npm i sass-lint @inc/sasslint-config -D

Usage

Sass Lint configuration

YAML config
options:
  config-file: ./node_modules/@inc/sasslint-config/config.json
JSON config
options: {
  "config-file": "./node_modules/@inc/sasslint-config/config.json"
}
Command line config
sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit
package.json config
{
  "name": "your_project",
  "scripts": {
    ...,
    "test:sass": "sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit",
    ...
  }
}

If your script was called test:sass you could then run npm run test:sass and your Sass files would be linted.

License

BSD-3-Clause Copyright © 2018, Ideas Never Cease