Skip to content

Commit 2e8f08d

Browse files
fix: patch security vulnerabilities in dependencies (#49)
1 parent 6513f2b commit 2e8f08d

File tree

4 files changed

+618
-216
lines changed

4 files changed

+618
-216
lines changed

eslint.config.mjs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
4-
5-
const __filename = fileURLToPath(import.meta.url);
6-
const __dirname = dirname(__filename);
7-
8-
const compat = new FlatCompat({
9-
baseDirectory: __dirname,
10-
});
1+
import nextConfig from "eslint-config-next";
112

123
const eslintConfig = [
13-
...compat.extends("next/core-web-vitals", "next/typescript"),
4+
...nextConfig,
5+
{
6+
rules: {
7+
"react-hooks/set-state-in-effect": "warn",
8+
},
9+
},
1410
];
1511

1612
export default eslintConfig;

0 commit comments

Comments
 (0)