mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-11 11:37:57 +08:00
feat: add lint-staged
This commit is contained in:
6
.lintstagedrc.json
Normal file
6
.lintstagedrc.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"./app/**/*.{js,ts,jsx,tsx,json,html,css,scss,md}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user