1.1.1 • Published 5 years ago
@marissen/stylelint-config v1.1.1
Marissen stylelint-config
A sharable stylelint config object that enforces Marissen css rules.
Installation
npm install @marissen/stylelint-config --save-dev
Usage
If you've installed @marissen/stylelint-config, just set your stylelint config to:
{
"extends": "@marissen/stylelint-config"
}
Extending
Simply add a "rules"
key to your config,
then add your overrides and additions there.
{
"extends": "@marissen/stylelint-config",
"rules": {
"rule-empty-line-before": [
"always-multi-line", {
except: ["first-nested"],
ignore: ["after-comment"]
}
],
}
}
Extensions
SCSS
{
"extends": "@marissen/stylelint-config/scss"
}
Rules
The Marissen style-config is based on the @fylgja/stylelint-config And most rules are set there.
We only optimized it to match our Magento environments.
To checkout our rules see each config file.