github.com/dnephin/dobi@v0.15.0/.pre-commit-config.yaml (about) 1 - repo: git://github.com/pre-commit/pre-commit-hooks 2 sha: v0.7.1 3 hooks: 4 - id: check-merge-conflict 5 - id: end-of-file-fixer 6 files: '(\.(go|md|sh|yml|yaml|json|ini|rst)|Dockerfile.*)$' 7 exclude: '^vendor/' 8 - id: trailing-whitespace 9 files: '(\.(go|md|sh|yml|yaml|json|ini|rst)|Dockerfile.*)$' 10 args: ['--no-markdown-linebreak-ext'] 11 exclude: '^vendor/' 12 - id: check-yaml 13 exclude: '^vendor/' 14 - id: check-json 15 exclude: '^vendor/' 16 17 - repo: git://github.com/dnephin/pre-commit-golang 18 sha: v0.3.5 19 hooks: 20 - id: golangci-lint 21 args: ['-v', './...']