mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
[chore] Remove redundant lint-staged config from litegraph
Frontend's root lint-staged config already handles all file types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
export default {
|
|
||||||
"*.css": stagedFiles => `prettier --write ${stagedFiles.join(" ")}`,
|
|
||||||
|
|
||||||
"*.js": stagedFiles => prettierAndEslint(stagedFiles),
|
|
||||||
|
|
||||||
"*.{ts,mts}": stagedFiles => [...prettierAndEslint(stagedFiles), "tsc"],
|
|
||||||
}
|
|
||||||
|
|
||||||
function prettierAndEslint(fileNames) {
|
|
||||||
return [
|
|
||||||
`prettier --write ${fileNames.join(" ")}`,
|
|
||||||
`eslint --fix ${fileNames.join(" ")}`,
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user