diff --git a/biome.json b/biome.json index 02caffa10..c8ebc01be 100644 --- a/biome.json +++ b/biome.json @@ -12,6 +12,10 @@ "complexity": { "noUselessSwitchCase": "off" }, + "correctness": { + "noUnusedImports": "warn", + "noUnusedVariables": "warn" + }, "suspicious": { "noConsoleLog": "warn" } diff --git a/sample/create-react-app-5/src/Sample.tsx b/sample/create-react-app-5/src/Sample.tsx index a75b76bb6..b80d46c5e 100644 --- a/sample/create-react-app-5/src/Sample.tsx +++ b/sample/create-react-app-5/src/Sample.tsx @@ -66,7 +66,7 @@ export default function Sample() {
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => ( {render ? ( displayAll ? ( - Array.from(new Array(numPages), (el, index) => ( + Array.from(new Array(numPages), (_el, index) => ( )}
- {Array.from(new Array(numPages), (el, index) => ( + {Array.from(new Array(numPages), (_el, index) => (