fix(ci): fix eslint OOM, failing tests, and strengthen pre-commit hook

- eslint.config.mjs: add missing ignores for vscode-extension/,
  electron/, docs/, app/.next/, clipr/ — ESLint was OOMing because
  it scanned huge VS Code binary blobs and build artifacts
- tests: remove stale ALTER TABLE 'group' statements — column is now
  part of the base schema in core.ts; tests were failing with
  SQLITE_ERROR: duplicate column name
- .husky/pre-commit: add npm run test:unit to block broken tests
  from reaching CI
This commit is contained in:
diegosouzapw
2026-03-15 00:59:22 -03:00
parent 36856b18db
commit 2c1488e65a
4 changed files with 20 additions and 3 deletions

View File

@@ -1,2 +1,3 @@
npx lint-staged
node scripts/check-docs-sync.mjs
npm run test:unit