chore: run eslint before prettier

This commit is contained in:
Stephen Zhou 2024-10-09 15:52:21 +08:00
parent 5e91f19b18
commit 0d0dcefbe0
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
import type { BrowserWindow } from "electron"
import { clipboard, Menu } from "electron"

View File

@ -118,9 +118,9 @@
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*": "eslint --fix",
"*.{js,jsx,ts,tsx,json}": [
"prettier --write "
"*": [
"eslint --fix",
"prettier --ignore-unknown --write"
]
},
"bump": {