- 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
- ESLint autofixes:
- apply the safe automatic ESLint rewrites without taking on manual typing, accessibility, or Angular inject migrations
- normalize `==` and `!=` comparisons in templates, convert `Array<T>` to `T[]`, and tighten a small set of `let` declarations to `const`
- remove `autofocus` attributes that ESLint can rewrite mechanically
- Cleanup scope:
- keep this pass limited to files changed by `ng lint --fix` so the remaining 702 manual ESLint findings stay isolated for later review
- Validation:
- `env YARN_ENABLE_GLOBAL_CACHE=0 YARN_CACHE_FOLDER=../.yarn/cache corepack yarn lint:eslint --fix` reduced the remaining ESLint count from 721 to 702 before stopping on non-fixable issues
- SCSS autofixes:
- apply Stylelint's automatic fixes across the frontend stylesheet set without touching TypeScript or Angular templates
- normalize zero values, shorthand properties, selector casing, and similar mechanical stylesheet rewrites
- keep this pass limited to autofix output so the remaining manual stylelint findings stay isolated for later review
- Cleanup scope:
- update component SCSS and shared layout styles only where Stylelint could rewrite them mechanically
- leave the unresolved manual stylelint findings in place for a smaller follow-up pass
- Validation:
- `just ui stylelint-fix` reduced the remaining stylelint count from 140 to 62 before stopping on non-fixable issues
- Frontend path:
- rename the tracked Angular app tree from `booklore-ui/` to `frontend/`
- preserve file contents during the move so this commit stays focused on the path change itself
- Frontend docs:
- update the moved frontend README and contribution guide where they refer to the renamed folder
- keep those edits limited to path references introduced by the directory rename