Add a-akimov to quickstart-resources; Add pre-commit hooks for code quality (#6)
* give akimov triage on quickstart-resources * Add pre-commit hooks for code quality Includes standard checks (trailing whitespace, EOF, YAML, merge conflicts) and TypeScript type checking. Expensive checks like Pulumi preview are intentionally excluded for CI instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
45497bf4e5
commit
6e41d744aa
1 changed files with 17 additions and 0 deletions
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-merge-conflict
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: typescript-check
|
||||
name: TypeScript type check
|
||||
entry: npm run build
|
||||
language: system
|
||||
pass_filenames: false
|
||||
files: \.(ts|tsx)$
|
||||
Loading…
Reference in a new issue