Skip to content

Commit 99335a2

Browse files
GeneAIclaude
authored andcommitted
fix: Fix ESLint errors - escape apostrophes and quotes in JSX
- Fixed unescaped apostrophes in blog, book, contact, dev-dashboard pages - Fixed unescaped quotes in contact page - Changed 'any' to 'unknown' in og route error handling - Removed unused AccessTier import - Changed let to const for scores variable 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 5179994 commit 99335a2

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

website/app/api/debug-wizard/analyze/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
} from '@/lib/debug-wizard/types';
2424

2525
import {
26-
AccessTier,
2726
DEFAULT_TIER,
2827
getTierLimits,
2928
validateFilesForTier,

website/app/api/og/route.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ export async function GET(request: NextRequest) {
4141
height: 630,
4242
}
4343
);
44-
} catch (e: any) {
45-
console.log(`${e.message}`);
44+
} catch (e: unknown) {
45+
const message = e instanceof Error ? e.message : 'Unknown error';
46+
console.log(message);
4647
return new Response(`Failed to generate the image`, {
4748
status: 500,
4849
});

website/app/blog/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function BlogPage() {
4242
Coming Soon
4343
</h2>
4444
<p className="text-xl text-[var(--text-secondary)] mb-8">
45-
We're working on exciting content about AI development, anticipatory intelligence,
45+
We&apos;re working on exciting content about AI development, anticipatory intelligence,
4646
and real-world case studies. Check back soon!
4747
</p>
4848
<Link href="/#newsletter" className="btn btn-primary">

website/app/book/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default function BookPage() {
126126

127127
{/* Right Column - Description */}
128128
<div>
129-
<h2 className="text-3xl font-bold mb-6">What You'll Learn</h2>
129+
<h2 className="text-3xl font-bold mb-6">What You&apos;ll Learn</h2>
130130

131131
<div className="space-y-6 mb-8">
132132
<div>
@@ -277,7 +277,7 @@ export default function BookPage() {
277277
<section className="py-20">
278278
<div className="container">
279279
<div className="max-w-4xl mx-auto">
280-
<h2 className="text-3xl font-bold text-center mb-12">What's Inside</h2>
280+
<h2 className="text-3xl font-bold text-center mb-12">What&apos;s Inside</h2>
281281
<div className="grid md:grid-cols-3 gap-8">
282282
<div className="text-center">
283283
<div className="flex justify-center mb-4">
@@ -336,7 +336,7 @@ export default function BookPage() {
336336
<h2 className="text-3xl font-bold text-center mb-12">Frequently Asked Questions</h2>
337337
<div className="space-y-6">
338338
<div className="border-b border-[var(--border)] pb-6">
339-
<h3 className="text-xl font-bold mb-3">What's included with the book?</h3>
339+
<h3 className="text-xl font-bold mb-3">What&apos;s included with the book?</h3>
340340
<p className="text-[var(--text-secondary)]">
341341
The complete book covering multi-agent coordination philosophy, implementation guides, and
342342
production-ready patterns. Digital formats (PDF, ePub, Mobi) with lifetime access to updates.
@@ -347,7 +347,7 @@ export default function BookPage() {
347347
<h3 className="text-xl font-bold mb-3">Do I need the book to use the framework?</h3>
348348
<p className="text-[var(--text-secondary)]">
349349
No. Empathy is open source and documented online. The book provides deeper
350-
coverage of the philosophy, implementation details, and patterns that aren't in the docs.
350+
coverage of the philosophy, implementation details, and patterns that aren&apos;t in the docs.
351351
</p>
352352
</div>
353353

@@ -371,7 +371,7 @@ export default function BookPage() {
371371
<div className="border-b border-[var(--border)] pb-6">
372372
<h3 className="text-xl font-bold mb-3">Is the Core Framework free?</h3>
373373
<p className="text-[var(--text-secondary)]">
374-
Empathy uses Fair Source License 0.9. It's free for students, educators, and
374+
Empathy uses Fair Source License 0.9. It&apos;s free for students, educators, and
375375
companies with 5 or fewer employees. Commercial licensing ($99/year per developer) is required
376376
for companies with 6+ employees.
377377
</p>

website/app/contact/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default function ContactPage() {
155155
Contact Us
156156
</h1>
157157
<p className="text-2xl mb-8 opacity-90">
158-
Questions about the framework? Looking to partner? We'd love to hear from you.
158+
Questions about the framework? Looking to partner? We&apos;d love to hear from you.
159159
</p>
160160
</div>
161161
</div>
@@ -278,7 +278,7 @@ export default function ContactPage() {
278278
placeholder="Tell us about your question, project, or partnership opportunity. You can type or use the dictation button above to speak your message."
279279
/>
280280
<p className="mt-2 text-xs text-[var(--muted)]">
281-
💡 Tip: Click "Start Dictation" to use voice input. Works in Chrome and Edge browsers.
281+
💡 Tip: Click &quot;Start Dictation&quot; to use voice input. Works in Chrome and Edge browsers.
282282
</p>
283283
</div>
284284

@@ -299,7 +299,7 @@ export default function ContactPage() {
299299
{submitStatus === 'success' && (
300300
<div className="bg-[var(--success)] bg-opacity-10 border-2 border-[var(--success)] rounded-lg p-4 text-center">
301301
<p className="text-[var(--success)] font-bold">
302-
Thank you! We'll get back to you within 24-48 hours.
302+
Thank you! We&apos;ll get back to you within 24-48 hours.
303303
</p>
304304
</div>
305305
)}

website/app/demo/distributed-memory/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function DistributedMemoryDemo() {
4242
// Simulate resolution logic
4343
let winner: typeof DEMO_PATTERNS[0];
4444
let reasoning: string;
45-
let scores: Record<string, number> = {};
45+
const scores: Record<string, number> = {};
4646

4747
if (selectedStrategy === 'highest_confidence') {
4848
winner = patterns.reduce((a, b) => a.confidence > b.confidence ? a : b);

website/app/dev-dashboard/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ export default function DevDashboard() {
369369
<div>
370370
<h3 className="text-xl font-bold mb-2">Continuous Learning</h3>
371371
<p className="text-[var(--text-secondary)]">
372-
Long-term memory enables the system to learn from your project's history,
373-
improving predictions and adapting to your team's coding patterns over time.
372+
Long-term memory enables the system to learn from your project&apos;s history,
373+
improving predictions and adapting to your team&apos;s coding patterns over time.
374374
</p>
375375
</div>
376376
</div>

0 commit comments

Comments
 (0)