chore: add oxlint pre-commit hook

- Add oxc-project/mirrors-oxlint hook
- Enable verbose output for better debugging
- Complements existing ruff checks for JavaScript linting
This commit is contained in:
2025-11-05 15:06:15 +01:00
parent e47df43337
commit dc6fc35b06

View File

@@ -77,6 +77,12 @@ repos:
# Run the formatter. # Run the formatter.
- id: ruff-format - id: ruff-format
- repo: https://github.com/oxc-project/mirrors-oxlint
rev: v1.25.0 # change to the latest version
hooks:
- id: oxlint
verbose: true
# # Django-specific hooks # # Django-specific hooks
# - repo: local # - repo: local
# hooks: # hooks: