Skip to content

Commit 05675db

Browse files
authored
Merge pull request #197 from GizzZmo/ci/dependabot-noise-prettier-lint
Ci/dependabot noise prettier lint
2 parents 76f6951 + f7b4b4f commit 05675db

10 files changed

Lines changed: 18 additions & 46 deletions

test/settingsPanelTabs.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect, vi, afterEach, beforeEach } from 'vitest';
1+
import { describe, it, expect, vi, afterEach } from 'vitest';
22
import { render, screen, fireEvent } from '@testing-library/react';
33
import { GeneralTab } from '../components/SettingsPanel/GeneralTab';
44
import { AdvancedTab } from '../components/SettingsPanel/AdvancedTab';

widgets/CyberEditor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ import Editor, { OnMount } from '@monaco-editor/react';
33
import {
44
Code2,
55
FileCode,
6-
Save,
76
Download,
87
Copy,
98
Check,
109
Sparkles,
1110
FileJson,
12-
FileType,
1311
Settings,
1412
Plus,
1513
X,

widgets/MacroNet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState, useMemo } from 'react';
2-
import { Globe, TrendingUp, Activity, ArrowRight, Zap, Waves } from 'lucide-react';
2+
import { Globe, Waves } from 'lucide-react';
33

44
// --- Atomic Components (Atomic Design) ---
55

widgets/NeuralScratchpad.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Loader2,
55
FileSearch,
66
ArrowDownToLine,
7-
Command,
87
Zap,
98
MessageSquare,
109
Languages,

widgets/SecureCalendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from 'react';
2-
import { Calendar as CalendarIcon, Lock, Plus, ChevronLeft, ChevronRight } from 'lucide-react';
2+
import { Lock, Plus, ChevronLeft, ChevronRight } from 'lucide-react';
33
import { useAppStore } from '../store';
44

55
export const SecureCalendar: React.FC = () => {

widgets/SonicArchitecture.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const SonicArchitecture: React.FC = () => {
6565
const audioRef = useRef<HTMLAudioElement | null>(null);
6666
const playlistRef = useRef<Track[]>([]);
6767

68-
const NOTES = ['C', 'G', 'D', 'A', 'E', 'B', 'F#', 'Db', 'Ab', 'Eb', 'Bb', 'F'];
68+
const _NOTES = ['C', 'G', 'D', 'A', 'E', 'B', 'F#', 'Db', 'Ab', 'Eb', 'Bb', 'F'];
6969
// Simplified circle relative to C
7070
const RELATIVE_MAJORS = ['C', 'G', 'D', 'A', 'E', 'B', 'Gb', 'Db', 'Ab', 'Eb', 'Bb', 'F'];
7171
const RELATIVE_MINORS = [
@@ -330,7 +330,7 @@ export const SonicArchitecture: React.FC = () => {
330330
))}
331331
</div>
332332
<div className="flex gap-2 justify-center">
333-
{chords.minor?.map((c, i) => (
333+
{chords.minor?.map((c, _i) => (
334334
<div
335335
key={c}
336336
className={`w-12 h-12 flex items-center justify-center rounded font-bold text-slate-300 border border-slate-600 bg-slate-800`}

widgets/StrategicBlueprint.tsx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ import {
77
Calendar,
88
CheckCircle,
99
BarChart,
10-
ArrowRight,
11-
User,
1210
Activity,
1311
Search,
1412
Zap,
15-
Eye,
16-
Terminal,
1713
Grid,
1814
} from 'lucide-react';
1915

@@ -88,8 +84,8 @@ export const StrategicBlueprint: React.FC = () => {
8884
<p className="text-slate-600 leading-relaxed text-sm mb-4">
8985
The <strong className="text-slate-900">Omni-Grid</strong> platform is entering a
9086
critical scaling phase. To maintain its competitive edge as a premier data-grid
91-
solution, we must transition from a &quot;feature-complete&quot; tool to a
92-
&quot;performance-optimized&quot; ecosystem.
87+
solution, we must transition from a "feature-complete" tool to a
88+
"performance-optimized" ecosystem.
9389
</p>
9490
<div className="bg-slate-50 p-4 rounded-lg border border-slate-200 mb-4">
9591
<h3 className="text-xs font-bold text-slate-900 uppercase tracking-wider mb-2">
@@ -101,9 +97,7 @@ export const StrategicBlueprint: React.FC = () => {
10197
<CheckCircle size={10} />
10298
</div>
10399
<div>
104-
<strong className="block text-slate-800 text-xs">
105-
Increase User Retention
106-
</strong>
100+
<strong className="block text-slate-800 text-xs">Increase Retention</strong>
107101
<span className="text-slate-500 text-[10px]">
108102
Reducing friction in complex data manipulation.
109103
</span>
@@ -203,9 +197,9 @@ export const StrategicBlueprint: React.FC = () => {
203197
<Layers className="text-blue-600" size={20} /> New Widgets
204198
</h2>
205199
<div className="bg-blue-900 text-white p-4 rounded-lg mb-4 shadow-lg">
206-
<h3 className="font-bold text-sm mb-1">Philosophy: &quot;Widget Sandbox&quot;</h3>
200+
<h3 className="font-bold text-sm mb-1">Philosophy: "Widget Sandbox"</h3>
207201
<p className="text-xs opacity-90">
208-
Widgets must be &quot;Data Agnostic&quot; handling JSON or gRPC via middleware.
202+
Widgets must be "Data Agnostic" handling JSON or gRPC via middleware.
209203
</p>
210204
</div>
211205
<div className="grid grid-cols-2 gap-2">
@@ -298,7 +292,7 @@ export const StrategicBlueprint: React.FC = () => {
298292
</div>
299293
<div>
300294
<h4 className="font-bold text-amber-900 text-xs">
301-
The &quot;A11y&quot; Advantage
295+
The "A11y" Advantage
302296
</h4>
303297
<p className="text-amber-800 text-[10px] mt-1">
304298
Target Section 508 for Gov/Enterprise contracts.

widgets/ValutaExchange.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState, useEffect } from 'react';
2-
import { DollarSign, RefreshCw, ArrowRightLeft, TrendingUp, Loader2 } from 'lucide-react';
2+
import { DollarSign, ArrowRightLeft, TrendingUp, Loader2 } from 'lucide-react';
33

44
const CURRENCIES = [
55
'USD',
@@ -33,8 +33,8 @@ export const ValutaExchange: React.FC = () => {
3333
setRate(data.rates[to]);
3434
setLastUpdated(new Date().toLocaleTimeString());
3535
}
36-
} catch (e) {
37-
console.error(e);
36+
} catch (_e) {
37+
console.error(_e);
3838
} finally {
3939
setLoading(false);
4040
}

widgets/WeatherStation.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
import React, { useState, useEffect } from 'react';
2-
import {
3-
Cloud,
4-
Sun,
5-
CloudRain,
6-
Wind,
7-
Droplets,
8-
MapPin,
9-
Search,
10-
Loader2,
11-
Thermometer,
12-
} from 'lucide-react';
2+
import { Cloud, Sun, CloudRain, Wind, Droplets, MapPin, Search, Loader2 } from 'lucide-react';
133
import { useAppStore } from '../store';
144

155
interface WeatherData {

widgets/WritePad.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
/// <reference lib="dom" />
22
import React, { useState, useEffect, useRef } from 'react';
3-
import {
4-
PenTool,
5-
FileText,
6-
Eraser,
7-
Sparkles,
8-
Copy,
9-
Check,
10-
Loader2,
11-
ArrowDownToLine,
12-
} from 'lucide-react';
3+
import { FileText, Eraser, Sparkles, Copy, Check, Loader2, ArrowDownToLine } from 'lucide-react';
134
import { useAppStore } from '../store';
145
import { processCrossTalk } from '../services/gridIntelligence';
156
import { COMMON_FILE_ACCEPTS } from './fileAccepts';
@@ -84,8 +75,8 @@ export const WritePad: React.FC = () => {
8475
setLocalContent(generated);
8576
setWritePadContent(generated);
8677
setShowPrompt(false);
87-
} catch (e: unknown) {
88-
const error = e instanceof Error ? e : new Error(String(e));
78+
} catch (_e: unknown) {
79+
const error = _e instanceof Error ? _e : new Error(String(_e));
8980
setLocalContent((prev: string) => `${prev}\n\n[AI Generation Failed: ${error.message}]`);
9081
} finally {
9182
setLoading(false);

0 commit comments

Comments
 (0)