- Stylelint: - re-enable `number-max-precision` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - round overly precise rem values in the shared tag component stylesheet to the configured precision without changing the size scale materially - Validation: - `just ui stylelint`
27 lines
872 B
JavaScript
27 lines
872 B
JavaScript
module.exports = {
|
|
extends: ["stylelint-config-standard-scss"],
|
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
|
rules: {
|
|
"at-rule-empty-line-before": null,
|
|
"declaration-block-single-line-max-declarations": 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,
|
|
"property-no-deprecated": null,
|
|
"property-no-vendor-prefix": 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,
|
|
},
|
|
};
|