Sensetime DCP shared config for stylelint.
Install the correct versions of each package, which are listed by the command:
npm info "style-config-sensetime@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev style-config-sensetime
Set your stylelint config to:
{
"extends": "style-config-sensetime"
}
Simply add a "rules"
key to your config and add your overrides there.
For example, to change the indentation
to tabs:
{
"extends": "style-config-sensetime",
"rules": {
"comment-no-empty": null
}
}