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
--projectflag reference should point to the primary apptsconfigfile. - The
--configflag reference should point to the citslintfile.
{
"name": "My Project",
"scripts": {
"lint:scss": "npx stylelint 'your/path/to/styles/**/*.scss'"
}
}