2020-01-09 07:09:26 +08:00
|
|
|
// Copied from react-sdk
|
|
|
|
// TODO: Only keep one copy of this for synchronization purposes
|
|
|
|
module.exports = {
|
|
|
|
"extends": "stylelint-config-standard",
|
|
|
|
"plugins": [
|
|
|
|
"stylelint-scss",
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"indentation": 4,
|
|
|
|
"comment-empty-line-before": null,
|
|
|
|
"declaration-empty-line-before": null,
|
|
|
|
"length-zero-no-unit": null,
|
|
|
|
"rule-empty-line-before": null,
|
|
|
|
"color-hex-length": null,
|
|
|
|
"max-empty-lines": null,
|
|
|
|
"number-no-trailing-zeros": null,
|
|
|
|
"number-leading-zero": null,
|
|
|
|
"selector-list-comma-newline-after": null,
|
|
|
|
"at-rule-no-unknown": null,
|
|
|
|
"no-descending-specificity": null,
|
|
|
|
"scss/at-rule-no-unknown": [true, {
|
2020-11-25 22:16:55 +08:00
|
|
|
// https://github.com/vector-im/element-web/issues/10544
|
2020-01-09 07:09:26 +08:00
|
|
|
"ignoreAtRules": ["define-mixin"],
|
|
|
|
}],
|
|
|
|
}
|
|
|
|
};
|