We have moved to separately published packages within a monorepo.
Please update any bookmarks to point to the new repo.
NOTE: This package will still be published to the existing NPM package.
A collection of SCSS lint rules for Terminus frontend codebases.
$ yarn add stylelint @terminus/stylelint-config-frontend -D
Create a stylelint config file at the root level named stylelint.config.js
and extend our base ruleset:
module.exports = {
extends: '@terminus/stylelint-config-frontend',
}
- The
--project
flag reference should point to the primary apptsconfig
file. - The
--config
flag reference should point to the citslint
file.
{
"name": "My Project",
"scripts": {
"lint:scss": "npx stylelint 'your/path/to/styles/**/*.scss'"
}
}