Files
grimmory/frontend/stylelint.config.js
James Cox c0dff27f78 style(frontend): enforce selector-class-pattern in scss
- Stylelint:
  - re-enable selector-class-pattern in the frontend Stylelint config
  - keep the selector rename isolated because this rule is the only remaining bucket that crosses stylesheet and template changes
- Series page:
  - rename the metadata card modifier classes to kebab-case in both the stylesheet and template
- Bookdrop and stats:
  - rename the fixed field label and series-name helper classes to kebab-case in the picker stylesheet and template
  - correct the responsive dialog footer selector to PrimeNG's kebab-case class name
- Validation:
  - run just ui stylelint
2026-04-22 17:26:47 -04:00

22 lines
507 B
JavaScript

module.exports = {
extends: ["stylelint-config-standard-scss"],
ignoreFiles: ["dist/**", "node_modules/**"],
rules: {
"no-descending-specificity": null,
"no-invalid-position-declaration": [
true,
{
ignoreAtRules: ["media"],
},
],
"selector-pseudo-element-no-unknown": [
true,
{
ignorePseudoElements: ["host", "ng-deep"],
},
],
"scss/load-partial-extension": null,
"scss/load-no-partial-leading-underscore": null,
},
};