mirror of
https://github.com/run-llama/research-extractor.git
synced 2026-06-30 22:28:00 -04:00
24 lines
547 B
YAML
24 lines
547 B
YAML
# .pre-commit-config.yaml
|
|
repos:
|
|
# General hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-json
|
|
- id: pretty-format-json
|
|
args: ['--autofix']
|
|
|
|
# Additional nextjs checks
|
|
- repo: local
|
|
hooks:
|
|
- id: lint
|
|
name: npm lint
|
|
entry: npm run lint
|
|
language: system
|
|
pass_filenames: false
|