From 7d1f958bfd589fd6ec880967c3a008ca595a308f Mon Sep 17 00:00:00 2001 From: Wyatt McCarthy <115899870+wmccrthy@users.noreply.github.com> Date: Sat, 6 Jun 2026 15:48:57 -0700 Subject: [PATCH 1/3] lint vios --- frontend/src/components/TreeNode.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/src/components/TreeNode.tsx b/frontend/src/components/TreeNode.tsx index 1c0b9b7..00ae651 100644 --- a/frontend/src/components/TreeNode.tsx +++ b/frontend/src/components/TreeNode.tsx @@ -63,6 +63,17 @@ export const TreeNode: React.FC = ({ return generateNodeId ? generateNodeId(value, nodeKey) : ""; }, [value, nodeKey, generateNodeId]); + // demonstrating lint failure + React.useEffect(() => { + console.log(nodeKey, value); + }, []); + + if (value) { + React.useEffect(() => { + console.log("oops conditional hook"); + }); + } + const renderTypeAnnotations = React.useCallback(() => { if (typeMetadata.type) { const changedType = typeMetadata.type !== typeMetadata.prevType; From a366008a44b7c0779aa43ebb6ab3be4ea05b5c9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 6 Jun 2026 22:49:47 +0000 Subject: [PATCH 2/3] Add changelog file for PR #71 --- .changes/71-bug.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .changes/71-bug.md diff --git a/.changes/71-bug.md b/.changes/71-bug.md new file mode 100644 index 0000000..51b36f0 --- /dev/null +++ b/.changes/71-bug.md @@ -0,0 +1 @@ +Demonstrate Lint Violations From 7c7eb0caa4aa9ce793b6cef81dd7d44724810020 Mon Sep 17 00:00:00 2001 From: Wyatt McCarthy <115899870+wmccrthy@users.noreply.github.com> Date: Sat, 6 Jun 2026 15:50:35 -0700 Subject: [PATCH 3/3] Update .changes/71-bug.md --- .changes/71-bug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/71-bug.md b/.changes/71-bug.md index 51b36f0..72de1e7 100644 --- a/.changes/71-bug.md +++ b/.changes/71-bug.md @@ -1 +1 @@ -Demonstrate Lint Violations +Arbitrary demonstration of lint violations