chore: run eslint before prettier
This commit is contained in:
parent
5e91f19b18
commit
0d0dcefbe0
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import type { BrowserWindow } from "electron"
|
||||
import { clipboard, Menu } from "electron"
|
||||
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue