🧑‍💻(frontend) add makefile lint --fix

Add a Makefile command to easily run the automatic fixup for frontend
files.
This commit is contained in:
Quentin BEY
2025-05-20 14:57:06 +02:00
parent c7eb86eaa9
commit 8fed2606d6
2 changed files with 6 additions and 1 deletions

View File

@@ -158,10 +158,14 @@ lint-pylint: ## lint back-end python sources with pylint only on changed files f
bin/pylint --diff-only=origin/main
.PHONY: lint-pylint
lint-front:
lint-front: ## lint front-end sources with eslint
cd $(PATH_FRONT) && yarn lint
.PHONY: lint-front
lint-front-fix: ## fix front-end sources with eslint
cd $(PATH_FRONT) && yarn lint-fix
.PHONY: lint-front-fix
test: ## run project tests
@$(MAKE) test-back-parallel
.PHONY: test