Add ESLint for TypeScript/React linting
- Install eslint, typescript-eslint, eslint-plugin-react-hooks - Configure eslint.config.js with flat config format - Add type: module to package.json - Fix unused variable issues (prefix with underscore) - Add Makefile targets: lint-frontend, fix-frontend
This commit is contained in:
parent
30583805cd
commit
4b394b0698
12 changed files with 1467 additions and 16 deletions
8
Makefile
8
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: install-backend install-frontend install setup-hooks backend frontend db db-stop db-ready db-seed dev test test-backend test-frontend test-e2e typecheck generate-types generate-types-standalone check-types-fresh check-constants lint-backend format-backend fix-backend security-backend
|
||||
.PHONY: install-backend install-frontend install setup-hooks backend frontend db db-stop db-ready db-seed dev test test-backend test-frontend test-e2e typecheck generate-types generate-types-standalone check-types-fresh check-constants lint-backend format-backend fix-backend security-backend lint-frontend fix-frontend
|
||||
|
||||
-include .env
|
||||
export
|
||||
|
|
@ -105,3 +105,9 @@ fix-backend:
|
|||
|
||||
security-backend:
|
||||
cd backend && uv run bandit -r . -c pyproject.toml
|
||||
|
||||
lint-frontend:
|
||||
cd frontend && npm run lint
|
||||
|
||||
fix-frontend:
|
||||
cd frontend && npm run lint:fix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue