diff --git a/.env b/.env deleted file mode 100644 index 87d44f7..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -NEXT_PUBLIC_TYPEKIT_ID=msu4qap \ No newline at end of file diff --git a/.eslintrc b/.eslintrc index 8c37ff2..4364a67 100644 --- a/.eslintrc +++ b/.eslintrc @@ -33,7 +33,7 @@ "plugin:react-hooks/recommended", "plugin:@next/next/recommended" ], - "plugins": ["@typescript-eslint", "react", "@next/next"], + "plugins": ["@typescript-eslint", "react"], "rules": { "react/prop-types": "off", "@typescript-eslint/explicit-function-return-type": "off" diff --git a/.gitignore b/.gitignore index 73a2d4e..c16bc52 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ npm-debug.log .next out build -coverage \ No newline at end of file +coverage +.env \ No newline at end of file diff --git a/next.config.js b/next.config.js index 0eea6b6..498921a 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,3 @@ -// @ts-check - -/** - * @type {import('next').NextConfig} - **/ - // eslint-disable-next-line no-unused-vars const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => { return Object.assign({}, nextConfig, { @@ -33,4 +27,4 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ enabled: process.env.ANALYZE === 'true' }) -module.exports = withBundleAnalyzer(withSvgr) +module.exports = withSvgr(withBundleAnalyzer())