pre-commit git hooks for Deno projects.
Add this to your .pre-commit-config.yaml
- repo: https://github.com/nozaq/pre-commit-deno
rev: 0.1.0 # Use the ref you want to point at
hooks:
- id: deno-fmt
- id: deno-lint
# - id: ...
Checks if all JavaScript, TypeScript, Markdown and JSON files are formatted.
Auto-format all JavaScript, TypeScript, Markdown and JSON files.
Lint all JavaScript and TypeScript source code files.
Run tests.