mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
[Refactor] Prefer textContent over innerText (#630)
Only setters are used, so getter differences aren't involved. This may result in a runtime change to consumers passing a Node that isn't actually a HTMLElement.
This commit is contained in:
@@ -68,6 +68,7 @@ export default tseslint.config(
|
||||
"unicorn/empty-brace-spaces": "error",
|
||||
"unicorn/no-nested-ternary": "error",
|
||||
"unicorn/prefer-string-replace-all": "error",
|
||||
"unicorn/prefer-dom-node-text-content": "error",
|
||||
|
||||
// Node rules: dev dependency config, etc.
|
||||
"unicorn/prefer-node-protocol": "error",
|
||||
|
||||
Reference in New Issue
Block a user