Skip to content

Commit 3106238

Browse files
committed
chore: use pre-commit-gleam for gleam hooks
1 parent c2ebeea commit 3106238

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,13 @@ repos:
99
- id: end-of-file-fixer
1010
- id: mixed-line-ending
1111
- id: trailing-whitespace
12+
- repo: https://github.com/jtdowney/pre-commit-gleam
13+
rev: v1.0.0
14+
hooks:
15+
- id: format
16+
- id: check
1217
- repo: local
1318
hooks:
14-
- id: gleam-check
15-
name: gleam check
16-
entry: gleam check
17-
language: system
18-
files: ^src/.*\.gleam$
19-
pass_filenames: false
20-
- id: gleam-format
21-
name: gleam format --check
22-
entry: gleam format --check src test
23-
language: system
24-
files: ^src/.*\.gleam$
25-
pass_filenames: false
2619
- id: erlfmt
2720
name: erlfmt
2821
entry: rebar3 fmt -c

0 commit comments

Comments
 (0)