Chrysoblog/.pre-commit-config.yaml

24 lines
550 B
YAML
Raw Permalink Normal View History

2024-09-29 00:14:24 -07:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [feat, fix, chore, test, build, merge, refactor]
2024-09-29 00:14:24 -07:00
- repo: local
hooks:
- id: eslint
name: eslint
entry: bash -c 'npx eslint'
language: system
types: [javascript]
pass_filenames: false