From 2a1536d0911e6d3db6666dfeb4ee697429078c1e Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 8 Oct 2024 10:12:40 +0100 Subject: chore: move lint rules to Biome (#12145) * chore: move lint rules to Astro * better suppression system * revert * format code * address more linting files * address more linting files --- packages/integrations/react/test/react-component.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/integrations/react/test/react-component.test.js') diff --git a/packages/integrations/react/test/react-component.test.js b/packages/integrations/react/test/react-component.test.js index 25a35f49d..fbe88d65f 100644 --- a/packages/integrations/react/test/react-component.test.js +++ b/packages/integrations/react/test/react-component.test.js @@ -46,7 +46,7 @@ describe('React Components', () => { assert.equal($('astro-island[uid]').length, 9); // test 9: Check island deduplication - const uniqueRootUIDs = new Set($('astro-island').map((i, el) => $(el).attr('uid'))); + const uniqueRootUIDs = new Set($('astro-island').map((_i, el) => $(el).attr('uid'))); assert.equal(uniqueRootUIDs.size, 8); // test 10: Should properly render children passed as props -- cgit v1.2.3