feat: add lint-staged

This commit is contained in:
Yifei Zhang
2023-03-28 17:51:22 +00:00
parent 83400093a2
commit e648a59b1f
8 changed files with 467 additions and 61 deletions

6
.lintstagedrc.json Normal file
View File

@@ -0,0 +1,6 @@
{
"./app/**/*.{js,ts,jsx,tsx,json,html,css,scss,md}": [
"eslint --fix",
"prettier --write"
]
}