2017-08-10 16:30:29 +00:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2017-11-30 01:44:55 +00:00
|
|
|
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]
|
2017-12-04 22:56:15 +00:00
|
|
|
exclude: ^static/(csslibs/|jslibs/|bundle-)
|
2017-08-10 16:30:29 +00:00
|
|
|
- repo: git://github.com/Lucas-C/pre-commit-hooks
|
2017-11-30 01:44:55 +00:00
|
|
|
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: ''
|