Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
refactor: consolidate frontend lint scripts into check/fix (#18755)
boojack70f8abfed03e
diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.ymlindex aa5be1d31c..5672f9d3b6 100644--- a/.github/workflows/frontend-tests.yml+++ b/.github/workflows/frontend-tests.yml@@ -28,11 +28,8 @@ jobs:- name: Install dependenciesrun: pnpm install --frozen-lockfileworking-directory: frontend- - name: Biome check (format, lint, imports)- run: pnpm biome:ci- working-directory: frontend- - name: ESLint check (Vue-specific + i18n)- run: pnpm lint+ - name: Check (ESLint + Biome)+ run: pnpm checkworking-directory: frontend- name: TypeScript type checkrun: pnpm type-checkdiff --git a/CLAUDE.md b/CLAUDE.mdindex ea08bd3770..b3e8df3f94 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -23,13 +23,11 @@ This file provides guidance to AI coding assistants when working with code in th### Frontend Code Changes-1. **Format** — Run `pnpm --dir frontend biome:format` (formats all files) or `cd frontend && pnpm biome format --write <path>` for specific files-2. **Lint** — Run `pnpm --dir frontend lint --fix` (ESLint for Vue-specific rules) and `pnpm --dir frontend biome:lint` (Biome linter)+1. **Fix** — Run `pnpm --dir frontend fix` to auto-fix ESLint + Biome issues (format, lint, organize imports)+2. **Check** — Run `pnpm --dir frontend check` to validate without modifying files (for CI)3. **Type check** — Run `pnpm --dir frontend type-check`4. **Test** — Run `pnpm --dir frontend test`-**Recommended**: Use `pnpm --dir frontend biome:check` to format, lint, and organize imports in one command-### Proto Changes1. **Format** — Run `buf format -w proto`@@ -66,17 +64,11 @@ pnpm --dir frontend i# Dev serverpnpm --dir frontend dev-# Format (Biome)-pnpm --dir frontend biome:format--# Lint (ESLint for Vue-specific rules)-pnpm --dir frontend lint--# Lint (Biome)-pnpm --dir frontend biome:lint+# Fix (ESLint + Biome: format, lint, organize imports)+pnpm --dir frontend fix-# Format + Lint + Organize imports (recommended)-pnpm --dir frontend biome:check+# Check (validate without modifying, for CI)+pnpm --dir frontend check# Type checkpnpm --dir frontend type-checkdiff --git a/frontend/package.json b/frontend/package.jsonindex 516db29d39..918aadedeb 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -8,16 +8,13 @@"release": "export NODE_OPTIONS=--max_old_space_size=8000 && pnpm run copy:all && vite build --mode release --outDir=../backend/server/dist --emptyOutDir","release-docker": "export NODE_OPTIONS=--max_old_space_size=8000 && pnpm run copy:all && vite build --mode release","release-aws": "export NODE_OPTIONS=--max_old_space_size=8000 && pnpm run copy:all && vite build --mode release-aws",- "lint": "eslint --cache src",+ "check": "eslint --cache src && biome ci .",+ "fix": "eslint --cache --fix src && biome check --write .","bundle-visualize": "export NODE_OPTIONS=--max_old_space_size=80000 && vite-bundle-visualizer -c vite.config.ts","type-check": "export NODE_OPTIONS=--max_old_space_size=8000 && vue-tsc --build --force","test": "vitest run --passWithNoTests","coverage": "vitest --coverage",- "i18n": "TS_NODE_PROJECT='./tsconfig.i18n.json' ts-node i18n.ts && pnpm biome:check",- "biome:format": "biome format --write .",- "biome:lint": "biome lint --write .",- "biome:check": "biome check --write .",- "biome:ci": "biome ci ."+ "i18n": "TS_NODE_PROJECT='./tsconfig.i18n.json' ts-node i18n.ts && pnpm fix"},"dependencies": {"@buf/googleapis_googleapis.bufbuild_es": "2.9.0-20251009205305-72c8614f3bd0.1",