Skip to content

Commit a9ab730

Browse files
authored
fix: linting (#52)
1 parent 9dca74d commit a9ab730

File tree

15 files changed

+95
-57
lines changed

15 files changed

+95
-57
lines changed

app/globals.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ body {
3737
background: hsl(var(--color-paper));
3838
color: hsl(var(--color-text));
3939
letter-spacing: -0.01em;
40-
font-feature-settings: 'ss01' on, 'ss02' on;
40+
font-feature-settings:
41+
'ss01' on,
42+
'ss02' on;
4143

4244
/* Subtle texture overlay */
4345
background-image:
@@ -54,7 +56,9 @@ body {
5456
/* Utility for distinctive mono numbers */
5557
.font-mono-data {
5658
font-family: 'JetBrains Mono', monospace;
57-
font-feature-settings: 'tnum' on, 'ss01' on;
59+
font-feature-settings:
60+
'tnum' on,
61+
'ss01' on;
5862
}
5963

6064
/* Display serif for emphasis */

components/Dashboard.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export function Dashboard() {
8484
<div className="flex items-center gap-3">
8585
<div className="h-4 w-px bg-gradient-to-b from-teal-400 to-teal-300" />
8686
<div>
87-
<div className="text-[9px] uppercase tracking-widest text-slate-500">Lean Ethereum</div>
87+
<div className="text-[9px] uppercase tracking-widest text-slate-500">
88+
Lean Ethereum
89+
</div>
8890
<h1 className="text-base font-medium text-white leading-tight">
8991
Lean Consensus <span className="font-display text-slate-400">R&D Progress</span>
9092
</h1>
@@ -167,7 +169,8 @@ export function Dashboard() {
167169

168170
{/* Subtitle */}
169171
<p className="text-base md:text-lg text-slate-500 max-w-md md:max-w-lg leading-relaxed">
170-
Track <span className="text-slate-700 font-medium">Lean Consensus</span> research & engineering progress across all workstreams
172+
Track <span className="text-slate-700 font-medium">Lean Consensus</span> research &
173+
engineering progress across all workstreams
171174
</p>
172175
</div>
173176

components/benchmarks/Benchmarks.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ export function Benchmarks() {
7373
}`}
7474
>
7575
<div className="flex flex-col">
76-
<span className={`text-sm ${metric.highlight ? 'font-semibold text-slate-700' : 'text-slate-600'}`}>{metric.label}</span>
76+
<span
77+
className={`text-sm ${metric.highlight ? 'font-semibold text-slate-700' : 'text-slate-600'}`}
78+
>
79+
{metric.label}
80+
</span>
7781
{metric.note && (
7882
<span className="text-[10px] text-slate-400 mt-0.5">{metric.note}</span>
7983
)}
@@ -83,15 +87,19 @@ export function Benchmarks() {
8387
<AnimatedValue
8488
value={metric.value}
8589
className={`font-mono-data text-lg ${
86-
metric.highlight ? 'font-bold text-teal-600' : 'font-semibold text-slate-800'
90+
metric.highlight
91+
? 'font-bold text-teal-600'
92+
: 'font-semibold text-slate-800'
8793
}`}
8894
/>
89-
{metric.unit && (
90-
<span className="text-xs text-slate-500">{metric.unit}</span>
91-
)}
95+
{metric.unit && <span className="text-xs text-slate-500">{metric.unit}</span>}
9296
</div>
9397
{metric.subValue && (
94-
<span className={`text-[10px] ${getPercentageColor(metric.subValue, metric.label)}`}>{metric.subValue}</span>
98+
<span
99+
className={`text-[10px] ${getPercentageColor(metric.subValue, metric.label)}`}
100+
>
101+
{metric.subValue}
102+
</span>
95103
)}
96104
</div>
97105
</div>

components/benchmarks/LeanSigTimingChart.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import {
1010
Legend,
1111
ResponsiveContainer,
1212
} from 'recharts';
13-
import {
14-
leanSigTimingData,
15-
leanSigSeriesConfig,
16-
} from '@/data/leansig-timing';
13+
import { leanSigTimingData, leanSigSeriesConfig } from '@/data/leansig-timing';
1714

1815
export function LeanSigTimingChart() {
1916
const hasData = leanSigTimingData.length > 0;
@@ -25,10 +22,7 @@ export function LeanSigTimingChart() {
2522
</h4>
2623
<ResponsiveContainer width="100%" height={240}>
2724
{hasData ? (
28-
<LineChart
29-
data={leanSigTimingData}
30-
margin={{ top: 0, right: 40, left: 0, bottom: 0 }}
31-
>
25+
<LineChart data={leanSigTimingData} margin={{ top: 0, right: 40, left: 0, bottom: 0 }}>
3226
<CartesianGrid strokeDasharray="3 3" stroke="#e2e8f0" />
3327
<XAxis
3428
dataKey="date"

components/benchmarks/XmssAggregationChart.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ import {
1111
ReferenceLine,
1212
ResponsiveContainer,
1313
} from 'recharts';
14-
import {
15-
xmssAggregationData,
16-
xmssSeriesConfig,
17-
XMSS_TARGET,
18-
} from '@/data/xmss-aggregation';
14+
import { xmssAggregationData, xmssSeriesConfig, XMSS_TARGET } from '@/data/xmss-aggregation';
1915

2016
const formatDate = (date: string): string => {
2117
return new Date(date).toLocaleDateString('en-US', { month: 'numeric', day: 'numeric' });
@@ -28,10 +24,7 @@ export function XmssAggregationChart() {
2824
XMSS Aggregated / Second
2925
</h4>
3026
<ResponsiveContainer width="100%" height={240}>
31-
<LineChart
32-
data={xmssAggregationData}
33-
margin={{ top: 0, right: 40, left: 0, bottom: 0 }}
34-
>
27+
<LineChart data={xmssAggregationData} margin={{ top: 0, right: 40, left: 0, bottom: 0 }}>
3528
<CartesianGrid strokeDasharray="3 3" stroke="#e2e8f0" />
3629
<XAxis
3730
dataKey="date"

components/clients/ClientImplementations.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ export function ClientImplementations() {
5757
<Github className="h-4 w-4" />
5858
</div>
5959
<div className="flex-1 min-w-0">
60-
<div className="text-[10px] text-slate-500 uppercase tracking-wide">Repository</div>
60+
<div className="text-[10px] text-slate-500 uppercase tracking-wide">
61+
Repository
62+
</div>
6163
<div className="text-sm font-mono text-slate-800 truncate">
6264
{team.leanRepo.replace('https://github.com/', '')}
6365
</div>

components/devnets/DevnetCard.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,16 @@ export function DevnetCard({ devnet }: DevnetCardProps) {
4646
{/* Header */}
4747
<div className="flex items-start justify-between mb-3">
4848
<div>
49-
<h3 className="font-mono-data text-base font-semibold text-slate-800">
50-
{devnet.name}
51-
</h3>
49+
<h3 className="font-mono-data text-base font-semibold text-slate-800">{devnet.name}</h3>
5250
{devnet.date && (
53-
<span className="text-xs text-slate-400">{formatDate(devnet.date, devnet.status)}</span>
51+
<span className="text-xs text-slate-400">
52+
{formatDate(devnet.date, devnet.status)}
53+
</span>
5454
)}
5555
</div>
5656
<div className={`flex items-center gap-1.5 px-2 py-1 rounded-full ${status.bg}/10`}>
5757
<StatusIcon className={`h-3.5 w-3.5 ${status.text}`} />
58-
<span className={`text-[10px] font-medium ${status.text}`}>
59-
{status.label}
60-
</span>
58+
<span className={`text-[10px] font-medium ${status.text}`}>{status.label}</span>
6159
</div>
6260
</div>
6361

components/lean-calls/LeanCalls.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ import { LeanCall, leanCallsData, determineLeanCallStatus } from '@/data/lean-ca
77

88
const formatDate = (date: string): string => {
99
if (date === 'TBD') return 'TBD';
10-
return new Date(date).toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' });
10+
return new Date(date).toLocaleDateString('en-US', {
11+
month: 'long',
12+
day: 'numeric',
13+
year: 'numeric',
14+
});
1115
};
1216

1317
// Helper function to extract YouTube video ID from URL

components/overview/Overview.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ export function Overview() {
8484
</div>
8585
<div className="relative text-slate-300 group-hover:text-slate-900 group-hover:translate-x-1 transition-all duration-300">
8686
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
87-
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
87+
<path
88+
strokeLinecap="round"
89+
strokeLinejoin="round"
90+
strokeWidth={2}
91+
d="M9 5l7 7-7 7"
92+
/>
8893
</svg>
8994
</div>
9095
</a>
@@ -119,14 +124,18 @@ export function Overview() {
119124
</div>
120125
<div className="relative text-slate-300 group-hover:text-slate-900 group-hover:translate-x-1 transition-all duration-300">
121126
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
122-
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
127+
<path
128+
strokeLinecap="round"
129+
strokeLinejoin="round"
130+
strokeWidth={2}
131+
d="M9 5l7 7-7 7"
132+
/>
123133
</svg>
124134
</div>
125135
</a>
126136
))}
127137
</div>
128138
</div>
129-
130139
</div>
131140
);
132141
}

components/timeline/Timeline.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export function Timeline() {
4747
const CURRENT_DATE = getTimelineDate();
4848
const weHereMarkerOffsetPercentage = getGridOffsetPercentage(CURRENT_DATE);
4949

50-
5150
return (
5251
<Card className="relative bg-white/80 backdrop-blur-sm border-slate-200/60 p-6 overflow-visible shadow-sm">
5352
{/* Subtle decorative gradient */}

0 commit comments

Comments
 (0)