- Stylelint: - re-enable `shorthand-property-no-redundant-values` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions intact - SCSS: - collapse redundant shorthand values across frontend stylesheets without changing computed spacing or sizing - Validation: - `just ui stylelint`
31 lines
1015 B
JavaScript
31 lines
1015 B
JavaScript
module.exports = {
|
|
extends: ["stylelint-config-standard-scss"],
|
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
|
rules: {
|
|
"at-rule-empty-line-before": null,
|
|
"color-hex-length": null,
|
|
"declaration-block-single-line-max-declarations": null,
|
|
"declaration-empty-line-before": null,
|
|
"declaration-property-value-keyword-no-deprecated": null,
|
|
"keyframes-name-pattern": null,
|
|
"no-descending-specificity": null,
|
|
"no-empty-source": null,
|
|
"no-invalid-position-declaration": null,
|
|
"number-max-precision": null,
|
|
"property-no-deprecated": null,
|
|
"property-no-vendor-prefix": null,
|
|
"rule-empty-line-before": null,
|
|
"selector-class-pattern": null,
|
|
"selector-pseudo-element-no-unknown": [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ["host", "ng-deep"],
|
|
},
|
|
],
|
|
"scss/dollar-variable-empty-line-before": null,
|
|
"scss/dollar-variable-pattern": null,
|
|
"scss/load-partial-extension": null,
|
|
"scss/load-no-partial-leading-underscore": null,
|
|
},
|
|
};
|