@funboxteam/scss-lint-config
v6.1.0
Published
Config for Stylelint SCSS linting
Downloads
951
Readme
@funboxteam/scss-lint-config
Stylelint rules that follow our style guide for SCSS.
Installation
First, install Stylelint that meets the peerDependencies requirements:
npm install --save-dev stylelint
If using Stylelint v14 or higher, also install postcss-scss:
npm install --save-dev postcss-scss
Then install the config:
npm install --save-dev @funboxteam/scss-lint-config
Usage
Include into a project config and pass desired options:
stylelint "src/**/*.scss" --cache --config node_modules/@funboxteam/scss-lint-config/.stylelintrc
For Stylelint v13 --syntax scss
option is required.
Also you can create your own config based on this one:
module.exports = {
extends: '@funboxteam/scss-lint-config/.stylelintrc.json',
rules: [
// your rule settings here
]
};