forked from baron/baron-sso
chore: fix formatting and lint errors across Makefile, backend, and adminfront
This commit addresses several linting and formatting issues that caused CI checks to fail: - Makefile: Removed obsolete '--organize-imports-enabled' from Biome and switched to '@biomejs/biome'. - backend: Fixed spacing and alignment issues according to gofmt. - adminfront: Fixed multiple unused variables and imports, and configured unsafe fixes in the Biome config to remove dead code.
This commit is contained in:
12
Makefile
12
Makefile
@@ -276,18 +276,18 @@ code-check-front-lint:
|
||||
@echo "==> adminfront biome lint/format check"
|
||||
rm -rf adminfront/playwright-report adminfront/test-results
|
||||
cd adminfront && CI=true npx pnpm install --frozen-lockfile --ignore-scripts
|
||||
cd adminfront && npx biome check . --formatter-enabled=false --organize-imports-enabled=false
|
||||
cd adminfront && npx biome check . --linter-enabled=false --organize-imports-enabled=false
|
||||
cd adminfront && npx @biomejs/biome check . --formatter-enabled=false --assist-enabled=false
|
||||
cd adminfront && npx @biomejs/biome check . --linter-enabled=false --assist-enabled=false
|
||||
@echo "==> devfront biome lint/format check"
|
||||
rm -rf devfront/playwright-report devfront/test-results
|
||||
cd devfront && npm ci --ignore-scripts
|
||||
cd devfront && npx biome check . --formatter-enabled=false --organize-imports-enabled=false
|
||||
cd devfront && npx biome check . --linter-enabled=false --organize-imports-enabled=false
|
||||
cd devfront && npx @biomejs/biome check . --formatter-enabled=false --assist-enabled=false
|
||||
cd devfront && npx @biomejs/biome check . --linter-enabled=false --assist-enabled=false
|
||||
@echo "==> orgfront biome lint/format check"
|
||||
rm -rf orgfront/playwright-report orgfront/test-results
|
||||
cd orgfront && npm ci --ignore-scripts
|
||||
cd orgfront && npx biome check . --formatter-enabled=false --organize-imports-enabled=false
|
||||
cd orgfront && npx biome check . --linter-enabled=false --organize-imports-enabled=false
|
||||
cd orgfront && npx @biomejs/biome check . --formatter-enabled=false --assist-enabled=false
|
||||
cd orgfront && npx @biomejs/biome check . --linter-enabled=false --assist-enabled=false
|
||||
|
||||
code-check-backend-tests:
|
||||
@echo "==> backend tests"
|
||||
|
||||
Reference in New Issue
Block a user