fix(package): update
This commit is contained in:
15
eslint.config.mjs
Normal file
15
eslint.config.mjs
Normal file
@@ -0,0 +1,15 @@
|
||||
import tseslint from "typescript-eslint";
|
||||
import next from "@next/eslint-plugin-next";
|
||||
|
||||
export default [
|
||||
{ ignores: [".next/**", "node_modules/**", "scripts/**", "next.config.js"] },
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ["**/*.{js,jsx,ts,tsx}"],
|
||||
plugins: { "@next/next": next },
|
||||
rules: {
|
||||
...next.configs.recommended.rules,
|
||||
...next.configs["core-web-vitals"].rules,
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user