forked from dharrigan/startrek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
40 lines (36 loc) · 1.03 KB
/
.pre-commit-config.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
hooks:
- id: clj-kondo
name: clj-kondo linter
description: Run lint rules with clj-kondo
types: [clojure]
entry: scripts/hooks/clj-kondo-pre-commit
language: script
require_serial: true
args: ["warning"]
- id: cljfmt
name: cljfmt formatter
description: Run formatting rules with cljfmt
types: [clojure]
entry: scripts/hooks/cljfmt-pre-commit
language: script
require_serial: true
- id: tidy
name: tidy HTML formatter
description: Run HTML formatting rules with tidy
types: [html]
entry: scripts/hooks/tidy-pre-commit
language: script
require_serial: true