Novel Preposterous Mockery
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@inc/sasslint-config

1.1.3 • Public • Published

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 (c) 2018, Ideas Never Cease

install

npm i @inc/sasslint-config

Downloadsweekly downloads

59

version

1.1.3

license

MIT

homepage

git.inc.sh

repository

Gitgit

last publish

collaborators

  • avatar
Report a vulnerability