mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
Swap eslint/prettier trigger order in pre-commit (#2428)
This commit is contained in:
@@ -11,7 +11,7 @@ export default {
|
|||||||
|
|
||||||
function formatAndEslint(fileNames) {
|
function formatAndEslint(fileNames) {
|
||||||
return [
|
return [
|
||||||
`prettier --write ${fileNames.join(' ')}`,
|
`eslint --fix ${fileNames.join(' ')}`,
|
||||||
`eslint --fix ${fileNames.join(' ')}`
|
`prettier --write ${fileNames.join(' ')}`
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user