mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
Initial formatting using biome
This commit is contained in:
parent
4c8ff48155
commit
758603b275
156 changed files with 23825 additions and 29508 deletions
|
|
@ -60,23 +60,6 @@ repos:
|
|||
args: ['-f', 'json', '--severity-level', 'high', '--confidence-level', 'high']
|
||||
exclude: ^surfsense_backend/(tests/|test_.*\.py|.*test.*\.py|alembic/)
|
||||
|
||||
# TypeScript compilation check
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: typescript-check-web
|
||||
name: TypeScript Check (Web)
|
||||
entry: bash -c 'cd surfsense_web && (command -v pnpm >/dev/null 2>&1 && pnpm build --dry-run || npx next build --dry-run)'
|
||||
language: system
|
||||
files: ^surfsense_web/.*\.(ts|tsx)$
|
||||
pass_filenames: false
|
||||
|
||||
- id: typescript-check-extension
|
||||
name: TypeScript Check (Browser Extension)
|
||||
entry: bash -c 'cd surfsense_browser_extension && npx tsc --noEmit'
|
||||
language: system
|
||||
files: ^surfsense_browser_extension/.*\.(ts|tsx)$
|
||||
pass_filenames: false
|
||||
|
||||
# Commit message linting
|
||||
- repo: https://github.com/commitizen-tools/commitizen
|
||||
rev: v4.8.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue