style(lint): add Elixir lint on pre-commit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-01-04 13:41:21 +01:00
parent d0835232d6
commit fb173414c9
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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": {