-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 903 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 903 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
29
30
31
32
33
34
35
36
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-json
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/jtdowney/pre-commit-gleam
rev: v1.0.0
hooks:
- id: format
- id: check
- repo: local
hooks:
- id: erlfmt
name: erlfmt
entry: rebar3 fmt -c
language: system
files: ^src/.*\.erl$
pass_filenames: false
- id: prettier
name: prettier --check
entry: bun run format
language: system
files: ^src/.*\.*$
pass_filenames: false
- id: eslint
name: eslint
entry: bun run lint
language: system
files: ^src/.*\.mjs$
pass_filenames: false