From 81a99a0cd73e261ff8072a603b08554fd397c38c Mon Sep 17 00:00:00 2001 From: pegasust Date: Tue, 15 Nov 2022 17:14:59 +0000 Subject: [PATCH] about-me: eslint and package.json --- apps/about-me/.eslintrc.json | 15 ++++----------- apps/about-me/next.config.mjs | 3 +++ apps/about-me/package.json | 7 +++++-- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/apps/about-me/.eslintrc.json b/apps/about-me/.eslintrc.json index 4cc0a95..c8df607 100644 --- a/apps/about-me/.eslintrc.json +++ b/apps/about-me/.eslintrc.json @@ -1,11 +1,4 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "./tsconfig.json" - }, - "plugins": ["@typescript-eslint"], - "extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"], - "rules": { - "@typescript-eslint/consistent-type-imports": "warn" - } -} +module.exports = { + root: true, + extends: ["custom"], +}; diff --git a/apps/about-me/next.config.mjs b/apps/about-me/next.config.mjs index b5bef6c..d29f9af 100644 --- a/apps/about-me/next.config.mjs +++ b/apps/about-me/next.config.mjs @@ -9,6 +9,9 @@ const config = { reactStrictMode: true, swcMinify: true, + experimental: { + transpilePackages: [], + }, i18n: { locales: ["en"], defaultLocale: "en", diff --git a/apps/about-me/package.json b/apps/about-me/package.json index 2b79c65..a1eb594 100644 --- a/apps/about-me/package.json +++ b/apps/about-me/package.json @@ -20,9 +20,13 @@ "react": "18.2.0", "react-dom": "18.2.0", "superjson": "1.9.1", - "zod": "^3.18.0" + "zod": "^3.18.0", + "ui": "workspace:*" }, "devDependencies": { + "@babel/core": "^7.0.0", + "eslint-config-custom": "workspace:*", + "tsconfig": "workspace:*", "@types/node": "^18.0.0", "@types/react": "^18.0.14", "@types/react-dom": "^18.0.5", @@ -30,7 +34,6 @@ "@typescript-eslint/parser": "^5.33.0", "autoprefixer": "^10.4.7", "eslint": "^8.26.0", - "eslint-config-next": "13.0.2", "postcss": "^8.4.14", "prettier": "^2.7.1", "prettier-plugin-tailwindcss": "^0.1.13",