generated from bazel-contrib/rules-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
39 lines (39 loc) · 1020 Bytes
/
.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
default_language_version:
node: 16.18.0
default_stages:
- pre-commit
repos:
- hooks:
- entry: ./tools/update_bzlmod_lockfile.sh
files: MODULE.bazel
id: update-bzlmod-lock
language: script
name: Update MODULE.bazel.lock
pass_filenames: false
- args:
- e2e/smoke
entry: ./tools/update_bzlmod_lockfile.sh
files: e2e/smoke/MODULE.bazel
id: update-e2e-bzlmod-lock
language: script
name: Update e2e/MODULE.bazel.lock
pass_filenames: false
repo: local
- hooks:
- id: buildifier
- id: buildifier-lint
repo: https://github.com/keith/pre-commit-buildifier
rev: 6.1.0.1
- hooks:
- id: commitizen
stages:
- commit-msg
- id: commitizen-branch
stages:
- pre-push
repo: https://github.com/commitizen-tools/commitizen
rev: v3.30.0
- hooks:
- id: prettier
repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.4.0