diff --git a/crates/biome_js_analyze/src/lint/nursery/no_unwanted_polyfillio.rs b/crates/biome_js_analyze/src/lint/nursery/no_unwanted_polyfillio.rs index acb9e09f7f69..55128b7b9c56 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_unwanted_polyfillio.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_unwanted_polyfillio.rs @@ -113,7 +113,7 @@ impl Rule for NoUnwantedPolyfillio { } // Keep in sync with next.js polyfills file : https://github.com/vercel/next.js/blob/master/packages/next-polyfill-nomodule/src/index.js -const NEXT_POLYFILLED_FEATURES: [&str; 64] = [ +const NEXT_POLYFILLED_FEATURES: &[&str] = &[ "Array.from", "Array.of", "Array.prototype.@@iterator",