-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (28 loc) · 858 Bytes
/
.pre-commit-config.yaml
File metadata and controls
28 lines (28 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: [--maxkb=600]
# Check Markdown for relative URLs
#- repo: https://github.com/klieret/jekyll-relative-url-check
# rev: v2.0.1
# hooks:
# - id: jekyll-relative-url-check-markdown
# Run Prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
# Convert images in /assets/img/remote to webP
#- repo: local
# hooks:
# - id: generate_webp
# name: "Convert remote images to WebP"
# entry: ./generate_webp.sh
# language: script