refactor(husky): add pre-commits

This commit is contained in:
Walid 2022-08-13 19:20:42 +01:00
parent c65823b03f
commit 073d316797
No known key found for this signature in database
GPG Key ID: 7DF9215FC4E48853

View File

@ -1,6 +1,12 @@
{
"*": ["editorconfig-checker"],
"*.{js,jsx,ts,tsx}": ["prettier --write", "eslint --fix"],
"*.{json,jsonc,yml,yaml}": ["prettier --write"],
"*.{md,mdx}": ["prettier --write", "markdownlint --dot --fix"]
"*": [
"editorconfig-checker"
],
"*.{js,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,jsonc,yml,yaml,md,mdx}": [
"prettier --write"
]
}