forked from potsda.mn/mobilizon
style(lint): add Elixir lint on pre-commit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d0835232d6
commit
fb173414c9
|
@ -22,6 +22,10 @@
|
||||||
"**/*.{js,ts,vue}": [
|
"**/*.{js,ts,vue}": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
|
],
|
||||||
|
"**/*.{ex,exs,eex,heex}": [
|
||||||
|
"mix format",
|
||||||
|
"mix credo"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue