Files
grimmory/frontend/stylelint.config.js
T
James Cox a689751e39 style(frontend): enforce number-max-precision in scss
- 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`
2026-04-22 17:26:44 -04:00

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,
},
};