@prestashopcorp/stylelint-config
v1.0.0
Published
Stylelint configuration for PrestaShop projects
Keywords
Readme
@prestashopcorp/stylelint-config
The recommended shareable config for Stylelint used by PrestaShop.
Useful for your css/scss linting, the package include stylelint-scss and stylelint-order predefined rules.
Installation
npm install @prestashopcorp/stylelint-config --save-devUsage
Add a .stylelintrc.js configuration file to your project and extends with our config:
{
"extends": "@prestashopcorp/stylelint-config"
}Add / Override custom rules configuration for your project
For example, to turn off the no-descending-specificity rule:
{
"extends": "@prestashopcorp/stylelint-config",
"rules": {
"no-descending-specificity": null
}
}