chore: add ESLint with angular-eslint to the frontend #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "robinp2000/chore/frontend-eslint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Angular rule sets (
ng add angular-eslint@21), including thelintnpmscript and the
linttarget inangular.json.app-,component-, none), soprefixis an empty array in both selector rules.The selector style (kebab-case / camelCase) is still checked.
Why
Prettier only covers formatting. ESLint finds unused code, unsafe patterns and
template problems. This PR adds the tooling and configuration only; the existing
findings are fixed in follow-up PRs before the check is enforced in CI.
Tests
npm run format:checkpasses andnpm ci --dry-runsucceeds.npm run lintruns and reports 132 existing findings. CI does not run it yet.