diff --git a/biome.json b/biome.json
index fb898822..c9d7601d 100644
--- a/biome.json
+++ b/biome.json
@@ -65,6 +65,7 @@
"useNumberNamespace": "off",
"useNamingConvention": "off",
"useShorthandArrayType": "off",
+ "useExplicitLengthCheck": "off",
"useSingleCaseStatement": "off",
"useSelfClosingElements": "off",
"noUnusedTemplateLiteral": "off"
@@ -75,6 +76,7 @@
"useButtonType": "off",
"useMediaCaption": "off",
"noSvgWithoutTitle": "off",
+ "noLabelWithoutControl": "off",
"useKeyWithClickEvents": "off",
"noDistractingElements": "off"
},
@@ -83,9 +85,11 @@
"noEnum": "off",
"noSecrets": "off",
"noProcessEnv": "off",
+ "noImgElement": "off",
"useExplicitType": "off",
"noNestedTernary": "off",
"useSortedClasses": "off",
+ "noExportedImports": "off",
"useImportRestrictions": "off",
"useConsistentCurlyBraces": "off",
"noStaticElementInteractions": "off",
@@ -99,6 +103,7 @@
},
"correctness": {
"all": true,
+ "noNodejsModules": "off",
"noUnusedVariables": "off",
"useImportExtensions": "off",
"noUndeclaredVariables": "off",
diff --git a/src/app/leaderboard/components/table.tsx b/src/app/leaderboard/components/table.tsx
index 2b51988a..ab2e1567 100644
--- a/src/app/leaderboard/components/table.tsx
+++ b/src/app/leaderboard/components/table.tsx
@@ -143,7 +143,7 @@ const LeaderboardTable = () => {
{leaderboard
?.slice(0, chunk * LEADERBOARD_CHUNK_SIZE)
- .map((entry: LeaderboardItem, index) => (
+ .map((entry: LeaderboardItem) => (
{
const {
diff --git a/src/app/swipe/components/useRescommendedProfilesCards.ts b/src/app/swipe/components/useRecommendedProfilesCards.ts
similarity index 98%
rename from src/app/swipe/components/useRescommendedProfilesCards.ts
rename to src/app/swipe/components/useRecommendedProfilesCards.ts
index 51ec4df4..7e81ac5c 100644
--- a/src/app/swipe/components/useRescommendedProfilesCards.ts
+++ b/src/app/swipe/components/useRecommendedProfilesCards.ts
@@ -56,7 +56,7 @@ export const useRecommendedProfilesCards = () => {
)
const bindDragToCards = useDrag(
- ({ args: [index], down, movement: [mx], direction: [xDir], velocity }) => {
+ ({ args: [index], down, movement: [mx], direction: [xDir] }) => {
if (index !== gone.size) return
const trigger = (mx > 50 && xDir === 1) || (mx < -50 && xDir === -1) // Card has to be moved more than 50px in either direction to trigger the swipe
diff --git a/src/components/footer/components/pages.tsx b/src/components/footer/components/pages.tsx
index c15831ec..fb840550 100644
--- a/src/components/footer/components/pages.tsx
+++ b/src/components/footer/components/pages.tsx
@@ -35,7 +35,7 @@ const Pages = () => {
return (
- {footerPages.map((route, index) => (
+ {footerPages.map((route) => (
) : (
- searchResult.map((result, index) => (
+ searchResult.map((result) => (
{
@@ -259,7 +259,7 @@ export function Search({
{t('search no results')}
) : (
- searchResult.map((result, index) => (
+ searchResult.map((result) => (
{