chore(lint): add oxlint and configure rules, commands and CI (#2362)

This commit is contained in:
Alex
2026-10-16 14:11:03 +01:00
committed by GitHub
parent b74ec165ba
commit ad119b483a
38 changed files with 9221 additions and 42 deletions
+19 -3
View File
@@ -66,10 +66,26 @@ e2e-list spec:
e2e-dev host='127.0.0.1' port='4301':
{{ pnpm }} exec ng serve --host {{ host }} --port {{ port }} --configuration development --watch=false
# Run the frontend linter.
# Run Oxlint, ESLint, and Stylelint.
lint:
{{ pnpm }} run lint
# Run Oxlint, including type-aware TypeScript rules.
oxlint:
{{ pnpm }} run lint:oxlint
# Apply Oxlint's safe automatic fixes.
oxlint-fix:
{{ pnpm }} run lint:oxlint:fix
# Run ESLint for the Angular-specific rules.
eslint:
{{ pnpm }} run lint:eslint
# Remove fixed findings from the Oxlint and ESLint baselines.
lint-prune:
{{ pnpm }} run lint:prune
# Run the frontend stylesheet linter.
stylelint:
{{ pnpm }} run lint:styles
@@ -95,7 +111,7 @@ audit-ci:
{{ pnpm }} audit --audit-level critical
# Run the standard local frontend verification pass.
check: deps typecheck lint stylelint build test
check: deps typecheck lint build test
# Run the frontend CI-style verification sequence from a clean install.
ci-check: install-ci audit-ci deps typecheck lint stylelint build test
ci-check: install-ci audit-ci deps typecheck lint build test