From 8a67058d159ea4d0da70c210752d8e830df359e7 Mon Sep 17 00:00:00 2001 From: mohitb35 <44917347+mohitb35@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:16:14 +0530 Subject: [PATCH] chore: update eslint config/rules --- .eslintrc.js | 1 + next.config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 115d5ce8..92ebed99 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = { env: { + node: true, browser: true, es2020: true, }, diff --git a/next.config.js b/next.config.js index d4c68c7e..624cbd5a 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,8 @@ +/* eslint-disable @typescript-eslint/no-var-requires */ const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: process.env.ANALYZE === "true", }); + const { i18n } = require("./next-i18next.config"); // Use the SentryWebpack plugin to upload the source maps during build step