Adding automatic linter for checking commit

This commit is contained in:
seunghyunOh
2022-12-13 22:19:59 +09:00
parent 6af59e47f5
commit 4c29c88fde
7 changed files with 8 additions and 7 deletions

View File

@@ -16,8 +16,7 @@
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
"eslint --fix"
]
},
"devDependencies": {