stylelint-config-lukkien-scss
v0.8.1
Published
Lukkien config for stylelint and SCSS usage
Downloads
4
Readme
stylelint-config-lukkien-scss
Our base Configuration rules to ensure your SCSS code is compliant with Lukkien code style. This configuration can be used on top of the stylelint-lukkien-config package in order to be SCSS compliant.
Installation
npm install --save-dev stylelint stylelint-scss stylelint-config-lukkien stylelint-config-lukkien-scss
or
yarn install --dev stylelint stylelint-scss stylelint-config-lukkien stylelint-config-lukkien-scss
Usage
Set your stylelint config to:
{
"extends": [
"stylelint-config-lukkien",
"stylelint-config-lukkien-scss"
],
"plugins": [
"stylelint-scss"
],
}
Extending the config
Simply add a "plugins"
key to your config and add your overrides there.
For example:
{
"extends": [
"stylelint-config-lukkien",
"stylelint-config-lukkien-scss"
],
"plugins": [
"stylelint-scss"
],
"rules": {
"scss/dollar-variable-pattern": "^foo",
"scss/selector-no-redundant-nesting-selector": true
}
}