mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #536] [MERGED] Add ESLint & Update tooling #917
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#917
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/536
Author: @webfiltered
Created: 12/18/2024
Status: ✅ Merged
Merged: 12/19/2024
Merged by: @robinjhuang
Base:
main← Head:build-tooling📝 Commits (10+)
882f301Add ESLint & Unicornbc6143fUpdate TypeScript52d4a8fUpdate vite9a08a02Fix build process not type-checked183f56bUpdate project to lint all files294a2a5Update tsconfig to match project used7da8cdImprove legibility of dense JSON files78247feFix yarn start never stops21cecd7Allow JS scripts to be formatteda30d9e5nit📊 Changes
22 files changed (+1100 additions, -442 deletions)
View changed files
➖
.eslintrc.json(+0 -18)📝
.prettierrc(+9 -1)📝
.vscode/launch.json(+9 -2)➕
eslint.config.js(+64 -0)📝
package.json(+11 -6)📝
scripts/downloadFrontend.js(+3 -3)📝
scripts/downloadUV.js(+4 -2)📝
scripts/env.mjs(+1 -1)📝
scripts/getPackage.js(+1 -1)📝
scripts/launchdev.js(+62 -63)📝
scripts/makeComfy.js(+1 -2)📝
scripts/preMake.js(+8 -7)📝
scripts/prepareTypes.js(+2 -2)📝
scripts/releaseTypes.js(+3 -3)📝
scripts/resetInstall.js(+4 -4)📝
scripts/updateFrontend.js(+3 -3)📝
tests/integration/startup.spec.ts(+20 -12)📝
todesktop.json(+4 -1)➕
tsconfig.build.json(+4 -0)📝
tsconfig.json(+6 -3)...and 2 more files
📄 Description
Features
Adds ESLint with unicorn plugin and baseline rules
Updates TypeScript to support ES2024
Updates vite
Allows formatting of js files in scripts/
Formats some of them
Bug fixes
┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.