-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (45 loc) · 1.21 KB
/
.pre-commit-config.yaml
File metadata and controls
45 lines (45 loc) · 1.21 KB
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
41
42
43
44
45
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
exclude: ^birdie_snapshots/.*\.accepted$
- id: mixed-line-ending
- id: trailing-whitespace
exclude: ^birdie_snapshots/.*\.accepted$
- repo: local
hooks:
- id: gleam-check
name: gleam check
entry: gleam check
language: system
files: ^src/.*\.gleam$
pass_filenames: false
- id: gleam-format
name: gleam format --check
entry: gleam format --check src test
language: system
files: ^src/.*\.gleam$
pass_filenames: false
- 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