File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ repos :
2+
3+ # Default
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
5+ rev : v4.1.0
6+ hooks :
7+ - id : check-yaml # ## Control YAML format
8+ - id : check-json # ## Control JSON format
9+ - id : end-of-file-fixer # ## Fix end of file with one line
10+ - id : trailing-whitespace # ## Remove end of line spaces
11+ - id : check-added-large-files # ## Check files size to add only 500ko max
12+ - id : check-merge-conflict # ## Check if there is already merge conflict(s)
13+ - id : detect-private-key # ## Detect private keys
14+
15+ # ESLint
16+ - repo : https://github.com/pre-commit/mirrors-eslint
17+ rev : v8.10.0
18+ hooks :
19+ - id : eslint
20+ additional_dependencies :
21+ - eslint-config-airbnb
22+ - eslint-config-prettier
23+
24+ # Conventional Commit
25+ - repo : https://github.com/compilerla/conventional-pre-commit
26+ rev : v1.2.0
27+ hooks :
28+ - id : conventional-pre-commit
29+ stages : [commit-msg]
You can’t perform that action at this time.
0 commit comments