Skip to content

Commit

Permalink
chore: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo committed Aug 6, 2024
1 parent a734890 commit 3989eaf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 7 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": { "noUnusedVariables": "warn" },
"correctness": {
"noUnusedVariables": "warn",
"useExhaustiveDependencies": "off"
},
"complexity": { "noStaticOnlyClass": "off" }
}
},
Expand All @@ -20,4 +23,4 @@
"quoteStyle": "single"
}
}
}
}
5 changes: 4 additions & 1 deletion client/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"enabled": true,
"rules": {
"recommended": true,
"correctness": { "noUnusedVariables": "warn" },
"correctness": {
"noUnusedVariables": "warn",
"useExhaustiveDependencies": "off"
},
"complexity": { "noStaticOnlyClass": "off" }
}
},
Expand Down
1 change: 0 additions & 1 deletion client/src/context/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const AuthProvider = ({ children }: { children?: React.ReactNode }) => {
}
};

// biome-ignore lint/correctness/useExhaustiveDependencies: i don't know how to fix it :/
useEffect(() => {
checkUser();
}, []);
Expand Down

0 comments on commit 3989eaf

Please sign in to comment.