Skip to content

Commit

Permalink
chore: update eslint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Sep 18, 2024
1 parent 79d6e8f commit b448602
Show file tree
Hide file tree
Showing 5 changed files with 228 additions and 261 deletions.
1 change: 1 addition & 0 deletions client/features/auth/AuthLoader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const AuthLoader = () => {
}, [setUser, updateCookie]);

useEffect(() => {
// eslint-disable-next-line complexity
const useId = apiAxios.interceptors.response.use(undefined, async (err) => {
if (user.data && isAxiosError(err) && err.response?.status === 401 && err.config) {
const { config } = err;
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default tseslint.config(
},
{
files: ['**/*.js'],
rules: { '@typescript-eslint/no-var-requires': ['off'] },
rules: { '@typescript-eslint/no-require-imports': ['off'] },
},
prettierConfig,
);
Loading

0 comments on commit b448602

Please sign in to comment.