- 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
- Stylelint:
- re-enable property-no-vendor-prefix in the frontend Stylelint config
- apply the rule cleanup as its own commit so browser-compatibility changes stay reviewable in isolation
- Styles:
- remove flagged vendor-prefixed property forms where an unprefixed property already exists or is now used instead
- clean up duplicate standard declarations left behind by the autofix pass
- Validation:
- run just ui stylelint
- Stylelint:
- re-enable no-invalid-position-declaration in the frontend Stylelint config
- ignore nested @media blocks so shared Sass mixins can keep their responsive declarations without tripping a false positive
- Shared styles:
- avoid a risky refactor of the auth, panel, and settings mixins, which rely on Sass media bubbling for responsive output
- Validation:
- run just ui stylelint
- Stylelint:
- re-enable keyframes-name-pattern in the frontend Stylelint config
- keep the rule rollout isolated so the animation naming change can be reviewed or reverted independently
- Animation styles:
- rename camelCase keyframes to kebab-case in the flagged reader, metadata, auth, and directory-picker stylesheets
- update the matching local animation references in the same files so behavior stays unchanged
- Validation:
- run just ui stylelint
- Stylelint:
- re-enable declaration-block-single-line-max-declarations in the frontend Stylelint config
- keep the rule change isolated to a formatting-only commit for easier rollback if needed
- Chart styles:
- expand compressed declaration blocks in the stats chart styles into multi-line blocks
- reformat the book flow empty-state styles without changing selectors or declarations
- Layout styles:
- expand the topbar animation keyframe blocks and bulk ISBN status styles to satisfy the single-line declaration limit
- Validation:
- run just ui stylelint
- Stylelint:
- re-enable `property-no-deprecated` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
- replace deprecated `word-wrap` aliases with `overflow-wrap` in the affected frontend stylesheets and remove duplicate declarations created during the migration
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `at-rule-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
- normalize blank-line spacing before Sass includes, media queries, and other at-rules where the repo was inconsistent
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `scss/dollar-variable-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
- keep the existing Sass variable block spacing as the enforced convention without requiring additional source changes
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `scss/dollar-variable-pattern` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions intact
- SCSS:
- rename the remaining camelCase layout Sass variables to kebab-case and update all layout partial references accordingly
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `no-empty-source` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
- replace empty stylesheet files with explicit placeholder comments to document that those surfaces intentionally rely on shared styling
- Validation:
- `just ui stylelint`
- 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`
- Stylelint:
- re-enable `rule-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
- normalize blank-line spacing before nested rules and sibling blocks across frontend stylesheets without changing selectors or computed styles
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `declaration-empty-line-before` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
- normalize declaration spacing across frontend stylesheets to match the enforced empty-line convention without changing selectors or computed styles
- Validation:
- `just ui stylelint`
- 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`
- Stylelint:
- re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
- convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values
- Validation:
- `just ui stylelint`
- Stylelint:
- re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
- normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values
- Validation:
- `just ui stylelint`
- 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`
- Stylelint:
- re-enable `alpha-value-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions disabled
- SCSS:
- rewrite decimal alpha values to percentage notation across the frontend stylesheet tree without changing selector structure or layout behavior
- Validation:
- `just ui stylelint`
Merge duplicate SCSS selectors that were only tripping stylelint, add a generic fallback for the PrimeIcons font usage, and relax the legacy Sass variable naming rule for the shared layout variables.
Validation:
- just ui stylelint
- 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
- Frontend package scripts:
- add a dedicated `typecheck` script for `tsc --noEmit`
- split ESLint into `lint:eslint` and add `lint:styles` plus `lint:styles:fix`
- keep the top-level `lint` script as a combined frontend lint entrypoint
- restore `postcss` so the frontend dependency graph satisfies the peer requirements used by Angular build tooling and Stylelint
- Frontend command surface:
- add `typecheck`, `stylelint`, and `stylelint-fix` recipes to `frontend/Justfile`
- expand the frontend `check` and `ci-check` recipes to include typechecking, stylesheet linting, and a production build
- Stylelint configuration:
- add `frontend/stylelint.config.js` using the standard SCSS config as the base
- pare back the noisiest formatting and notation rules so the initial lint layer stays actionable instead of forcing a repo-wide SCSS rewrite
- Lockfile:
- refresh `frontend/yarn.lock` for the new frontend lint dependencies
- Validation:
- `just ui install`
- `just ui typecheck`
- `just ui stylelint` currently reports 140 errors, with 76 marked autofixable