pelican-mg/.pre-commit-config.yaml

20 lines
510 B
YAML
Raw Normal View History

2017-08-10 16:30:29 +00:00
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.1.1
2017-08-10 16:30:29 +00:00
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
2017-11-30 02:49:39 +00:00
args: [--no-markdown-linebreak-ext]
exclude: ^static/(css|js)
2017-08-10 16:30:29 +00:00
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.1.4
2017-08-10 16:30:29 +00:00
hooks:
- id: remove-crlf
- id: remove-tabs
2017-11-30 00:54:19 +00:00
- repo: local
hooks:
2017-11-30 00:57:52 +00:00
- id: eslint
name: eslint
2017-11-30 00:54:19 +00:00
language: system
2017-12-02 23:59:03 +00:00
entry: sh -c 'eslint templates/js/*.js'
2017-11-30 00:54:19 +00:00
files: ''