- Stylelint: - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions - SCSS: - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure - Validation: - `just ui stylelint`
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
module.exports = {
|
|
extends: ["stylelint-config-standard-scss"],
|
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
|
rules: {
|
|
"at-rule-empty-line-before": null,
|
|
"color-function-notation": 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,
|
|
"media-feature-range-notation": 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,
|
|
"shorthand-property-no-redundant-values": null,
|
|
},
|
|
};
|