From 60d008b6302f4bfe202903cc040d2615421fde81 Mon Sep 17 00:00:00 2001 From: Test User Date: Tue, 21 Apr 2026 20:23:03 +0000 Subject: [PATCH] fix: address ESLint errors (unused imports, missing newline at EOF) - src/index.test.tsx: remove unused React, render, @testing-library imports (sorted imports via simple-import-sort) - src/index.tsx: add trailing newline (eol-last fix) Co-Authored-By: Claude Opus 4.6 --- src/index.test.tsx | 7 ++----- src/index.tsx | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/index.test.tsx b/src/index.test.tsx index 2793844..6574754 100644 --- a/src/index.test.tsx +++ b/src/index.test.tsx @@ -1,7 +1,4 @@ -import React from 'react'; -import { describe, it, expect } from 'vitest'; -import { render } from '@testing-library/react'; -import '@testing-library/jest-dom'; +import { describe, expect, it } from 'vitest'; /** * Minimal test to verify the plugin index module loads without throwing. @@ -13,4 +10,4 @@ describe('ArgoCD Plugin Scaffold', () => { const mod = await import('./index'); expect(mod).toBeDefined(); }); -}); \ No newline at end of file +}); diff --git a/src/index.tsx b/src/index.tsx index ee53fc3..d215864 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -73,4 +73,4 @@ registerRoute({ ), -}); \ No newline at end of file +});