mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
30 lines
836 B
YAML
Executable File
30 lines
836 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/(csslibs/|jslibs/|bundle-)
|
|
- repo: git://github.com/Lucas-C/pre-commit-hooks
|
|
sha: v1.1.4
|
|
hooks:
|
|
- id: remove-crlf
|
|
- id: remove-tabs
|
|
- repo: local
|
|
hooks:
|
|
- id: gen_statics_bundles
|
|
name: gen_statics_bundles
|
|
language: system
|
|
entry: ./gen_statics_bundles.py
|
|
files: ^static/(main.css$|js/)
|
|
- id: eslint
|
|
name: eslint
|
|
language: system
|
|
entry: sh -c 'eslint templates/js/*.js'
|
|
files: ''
|
|
- id: stylelint
|
|
name: stylelint
|
|
language: system
|
|
entry: sh -c 'stylelint static/main.css'
|
|
files: ''
|