mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-05-06 08:47:18 +00:00
570c86948e
Co-authored-by: Rubén De la Torre Vico <ruben@prowler.com> Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
918 B
YAML
38 lines
918 B
YAML
orphan: true
|
|
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: ui-typecheck
|
|
name: UI - TypeScript Check
|
|
entry: pnpm run typecheck
|
|
language: system
|
|
files: '\.(ts|tsx|js|jsx)$'
|
|
pass_filenames: false
|
|
priority: 0
|
|
|
|
- id: ui-lint
|
|
name: UI - ESLint
|
|
entry: pnpm run lint:check
|
|
language: system
|
|
files: '\.(ts|tsx|js|jsx)$'
|
|
pass_filenames: false
|
|
priority: 0
|
|
|
|
- id: ui-tests
|
|
name: UI - Unit Tests
|
|
entry: pnpm exec vitest related --run
|
|
language: system
|
|
files: '\.(ts|tsx|js|jsx)$'
|
|
exclude: '\.test\.|\.spec\.|vitest\.config|vitest\.setup'
|
|
pass_filenames: true
|
|
priority: 1
|
|
|
|
- id: ui-build
|
|
name: UI - Build
|
|
entry: pnpm run build
|
|
language: system
|
|
files: '\.(ts|tsx|js|jsx|json|css)$'
|
|
pass_filenames: false
|
|
priority: 2
|