Skip to content

Commit 2f3c42c

Browse files
justin808claude
andcommitted
Fix remaining lint issues: eslint-disable placement and no-danger
- Use single-line comment eslint-disable before 'use client' directive (file-level rules must be disabled before line 1) - Suppress react/no-danger for sanitized HTML in CommentsFeed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c0df6e commit 2f3c42c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

client/app/bundles/comments/components/SimpleCommentScreen/ror_components/SimpleCommentScreen.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
// eslint-disable max-classes-per-file
12
'use client';
2-
/* eslint-disable max-classes-per-file */
33

44
import React from 'react';
55
import request from 'axios';

client/app/bundles/server-components/components/CommentsFeed.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async function CommentsFeed() {
6666
</div>
6767
<TogglePanel title="Show rendered markdown">
6868
{/* Content is sanitized via sanitize-html before rendering */}
69+
{/* eslint-disable-next-line react/no-danger */}
6970
<div
7071
className="prose prose-sm prose-slate max-w-none"
7172
dangerouslySetInnerHTML={{ __html: safeHtml }}

0 commit comments

Comments
 (0)