Files
grimmory/frontend/stylelint.config.js
T
James Cox a991351bb5 style(frontend): enforce color-hex-length in scss
- Stylelint:
  - re-enable `color-hex-length` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions as-is
- SCSS:
  - normalize repeatable long hex colors to their short form where the value is identical
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:44 -04:00

30 lines
985 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-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,
},
};