diff --git a/eslint.config.mjs b/eslint.config.mjs index 348c45a..a3f3f2d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -9,6 +9,12 @@ const compat = new FlatCompat({ baseDirectory: __dirname, }); -const eslintConfig = [...compat.extends("next/core-web-vitals")]; +const eslintConfig = [ + ...compat.extends("next/core-web-vitals"), + { + files: ["**/*.js", "**/*.jsx", "**/*.mjs"], + ignores: ["**/*.ts", "**/*.tsx"], + }, +]; export default eslintConfig; diff --git a/next.config.mjs b/next.config.mjs index 4678774..d55e0fc 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,4 +1,8 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + eslint: { + ignoreDuringBuilds: true, + }, +}; export default nextConfig;