1.0.1 • Published 2 years ago
@sourcegraph/stylelint-plugin-sourcegraph v1.0.1
stylelint-plugin-sourcegraph
Recommended Stylelint rules for the Sourcegraph repo.
Setup
Update your .stylelintrc.json
file to add the following configuration:
{
"plugins": ["@sourcegraph/stylelint-plugin-sourcegraph"],
"rules": {
"@sourcegraph/filenames-match-regex": [
2,
{
"regexp": "^.+\\.module(\\.scss)$"
}
],
"@sourcegraph/no-restricted-imports": [
2,
{
"paths": ["bootstrap*", "reactstrap/styles.css"]
}
]
}
}
1.0.1
2 years ago