pelican-mg/.pre-commit-config.yaml
2017-12-03 00:59:03 +01:00

20 lines
510 B
YAML
Executable File

- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.1.1
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
args: [--no-markdown-linebreak-ext]
exclude: ^static/(css|js)
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.1.4
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: local
hooks:
- id: eslint
name: eslint
language: system
entry: sh -c 'eslint templates/js/*.js'
files: ''