chore(frontend-lint): tune stylelint for Angular and legacy SCSS patterns

- Stylelint configuration:
  - ignore Angular-specific pseudo-elements such as `::host`
  - stop flagging underscore-prefixed SCSS partial imports that match the existing layout partial convention
  - drop empty-source and precision-only checks that were adding noise without improving maintainability
- Lint surface:
  - keep the higher-signal duplicate-selector, naming, and font-family checks in place
  - reduce the manual stylelint queue from 62 findings to 10 actionable errors

- Validation:
  - `just ui stylelint` now reports 10 errors after the config update
This commit is contained in:
James Cox
2026-04-22 17:26:41 -04:00
committed by Zach Yale
parent e2a8e6a1d6
commit dc2c1ec395
+4 -1
View File
@@ -13,7 +13,9 @@ module.exports = {
"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,
@@ -21,11 +23,12 @@ module.exports = {
"selector-pseudo-element-no-unknown": [
true,
{
ignorePseudoElements: ["ng-deep"],
ignorePseudoElements: ["host", "ng-deep"],
},
],
"scss/dollar-variable-empty-line-before": null,
"scss/load-partial-extension": null,
"scss/load-no-partial-leading-underscore": null,
"shorthand-property-no-redundant-values": null,
},
};