@universityofnottingham/sasslint-config

1.0.0 • Public • Published

NPM

University of Nottingham standard sass-lint configuration

to prevent the same .sass-lint.yml being present on every project with any SCSS in.

Usage

In an npm enabled project:

  1. Have sass-lint
    • npm i -D sass-lint
  2. Install this package
    • npm i @universityofnottingham/sasslint-config
  3. Add sasslintConfig to package.json referring to the config in this package:
{
  //...
  "sasslintConfig": "./node_modules/@universityofnottingham/sasslint-config/.sass-lint.yml"
  //...
}

Enjoy your lightweight, UoN standard sass-lint without a separate config file!

Optional overrides / extensions

  1. Create a new local .sass-lint.yml for your project
  2. Remove sasslintConfig from package.json
  3. Refer to the config in this package from your local .sass-lint.yml:
options:
  config-file: "./node_modules/@universityofnottingham/sasslint-config/.sass-lint.yml"
  #...
rules:
  # optional rule overrides

Readme

Keywords

none

Package Sidebar

Install

npm i @universityofnottingham/sasslint-config

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.43 kB

Total Files

4

Last publish

Collaborators

  • beforan