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.
netop://ウエハ fd949ebd0e Updated dep 2 months ago
.editorconfig Initial commit 10 months ago
.eslintrc Initial commit 10 months ago
.gitignore Initial commit 10 months ago
.npmrc Initial commit 10 months ago
LICENSE Updated README, LICENSE, and ignore rules for node_modules folders 5 months ago
README.md Updated README, LICENSE, and ignore rules for node_modules folders 5 months ago
config.json Added "hyphenate-limit-chars" 3 months ago
package.json Updated dep 2 months 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-19, Ideas Never Cease