@lwce/stylelint-config-experience-cloud
v0.6.22
Published
Style Linting Tool
Downloads
18
Readme
@lwce/stylelint-config-experience-cloud
This package will export Default Recommended Rules suggested by stylelint & also Custom Rules / Plugins.
Currently we only have a single Plugin which is Linting Colors lwce/color-no-static-values. i.e. Our CSS files should not have any Fixed Colors, all the colors should be used via variables.
Usage
While consuming we can create a .stylelintrc.json file in the consumer package and add following lines.
{
"extends":"@lwce/stylelint-config-experience-cloud",
"defaultSeverity": "warning"
}
For more information please check Stylelint documenation