mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-22 15:29:44 +00:00
[CodeHealth] Apply modern standards to LGraphCanvas (#650)
- Prefer template string - Prefer explicit throw to undefined TypeError - Remove unnecessary `this` assignment
This commit is contained in:
@@ -124,6 +124,8 @@ export default tseslint.config(
|
||||
// Base, TypeScript, and Stylistic
|
||||
{
|
||||
rules: {
|
||||
"prefer-template": "error",
|
||||
|
||||
// TODO: Update when TypeScript has been cleaned
|
||||
"prefer-spread": "off",
|
||||
"no-empty": "off",
|
||||
|
||||
Reference in New Issue
Block a user