generated from aifrak/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lintstagedrc.yml
38 lines (29 loc) · 823 Bytes
/
.lintstagedrc.yml
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
"*":
- ./run lint:spellcheck
"*.{ex,exs,eex,leex}":
- ./run lint:elixir:credo
- ./run lint:elixir:format
# HACK: "fake1" is a workaround to run different Elixir checks in parallel
# https://github.com/okonet/lint-staged/issues/934#issuecomment-743299357
"*.{ex,exs,eex,leex,fake1}":
- ./run lint:elixir:light
"*.{css,sass,scss}":
- ./run lint:css
- ./run lint:prettier
"*.{htm,html}":
- ./run lint:html
- ./run lint:prettier
"*.js":
- ./run lint:js
- ./run lint:prettier
"{run,.husky/*,*.sh}":
- ./run lint:shell
"Dockerfile*":
- ./run lint:dockerfile
"*.{json,yaml,yml,htmlhintrc}":
- ./run lint:prettier
# CHANGELOG.md text is generated automatically.
# Also, as the file grows, it will take longer to lint and format.
"!(CHANGELOG).md":
- ./run lint:prettier
- ./run lint:markdown