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 <noreply@anthropic.com>
This commit is contained in:
+2
-5
@@ -1,7 +1,4 @@
|
|||||||
import React from 'react';
|
import { describe, expect, it } from 'vitest';
|
||||||
import { describe, it, expect } from 'vitest';
|
|
||||||
import { render } from '@testing-library/react';
|
|
||||||
import '@testing-library/jest-dom';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimal test to verify the plugin index module loads without throwing.
|
* Minimal test to verify the plugin index module loads without throwing.
|
||||||
@@ -13,4 +10,4 @@ describe('ArgoCD Plugin Scaffold', () => {
|
|||||||
const mod = await import('./index');
|
const mod = await import('./index');
|
||||||
expect(mod).toBeDefined();
|
expect(mod).toBeDefined();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -73,4 +73,4 @@ registerRoute({
|
|||||||
<ArgoCDStubView />
|
<ArgoCDStubView />
|
||||||
</ArgoCDErrorBoundary>
|
</ArgoCDErrorBoundary>
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user