Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintrc.json

This file was deleted.

6 changes: 3 additions & 3 deletions app/components/premium/AnalysisPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export function AnalysisPreview() {
<div className="space-y-4 text-slate-200 leading-relaxed">
<p>Excited to announce our team is growing!</p>
<p className="bg-purple-500/20 px-3 py-1 rounded-lg inline-block border border-purple-500/30">
We're tackling complex challenges in distributed systems
We&apos;re tackling complex challenges in distributed systems
</p>
<p>Looking for engineers who love diving deep into open-source projects and optimising for performance.</p>
<p className="bg-purple-500/20 px-3 py-1 rounded-lg inline-block border border-purple-500/30">
If you're passionate about building resilient systems
If you&apos;re passionate about building resilient systems
</p>
<p>and contributing to the community, let's chat.</p>
<p>and contributing to the community, let&apos;s chat.</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/examples/ai-personas/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ export default function AIPersonasPage() {
</div>
<div className="tagList">
{getAllTags().length === 0 ? (
<div className="tagEmpty">No tags yet. Add tags in "Edit persona".</div>
<div className="tagEmpty">No tags yet. Add tags in &quot;Edit persona&quot;.</div>
) : (
getAllTags().map(tag => (
<div
Expand Down
2 changes: 1 addition & 1 deletion app/examples/gemini/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default function GeminiTestPage() {
<ul className="list-disc list-inside space-y-1 text-blue-700 dark:text-blue-300">
<li>Select a model from the dropdown</li>
<li>Enter your prompt in the text area</li>
<li>Click "Generate Response" to send the request</li>
<li>Click &quot;Generate Response&quot; to send the request</li>
<li>The response will appear below</li>
</ul>
</div>
Expand Down
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import next from 'eslint-config-next/core-web-vitals'

// ESLint 9 flat config for Next.js 16.
// `next lint` was removed in Next 16, so linting runs via the ESLint CLI
// (`eslint .` — see the "lint" script). eslint-config-next@16 ships native
// flat-config arrays, so we import and spread them directly (no FlatCompat).
// Replaces the legacy .eslintrc.json (`extends: next/core-web-vitals`).
const eslintConfig = [
// Flat config replaces .eslintignore — list non-source paths here.
{
ignores: [
'.next/**',
'out/**',
'build/**',
'node_modules/**',
'next-env.d.ts',
// Python backend / ML training + virtualenv + archived code
'venv/**',
'.venv/**',
'ml_training/**',
'archive/**',
'output/**',
'data/**',
'**/*.py',
],
},
...next,
]

export default eslintConfig
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev:ml": "uvicorn api:app --reload --host 0.0.0.0 --port 8000",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint": "eslint .",
"types:generate": "supabase gen types typescript --project-id YOUR_PROJECT_ID > types/supabase.ts || echo 'Install Supabase CLI and set your project ID to generate types'"
},
"repository": {
Expand Down
Loading