about-me: eslint and package.json

api-as-package
pegasust 2022-11-15 17:14:59 +00:00
parent 3f267afb84
commit 81a99a0cd7
3 changed files with 12 additions and 13 deletions

View File

@ -1,11 +1,4 @@
{ module.exports = {
"parser": "@typescript-eslint/parser", root: true,
"parserOptions": { extends: ["custom"],
"project": "./tsconfig.json" };
},
"plugins": ["@typescript-eslint"],
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/consistent-type-imports": "warn"
}
}

View File

@ -9,6 +9,9 @@
const config = { const config = {
reactStrictMode: true, reactStrictMode: true,
swcMinify: true, swcMinify: true,
experimental: {
transpilePackages: [],
},
i18n: { i18n: {
locales: ["en"], locales: ["en"],
defaultLocale: "en", defaultLocale: "en",

View File

@ -20,9 +20,13 @@
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"superjson": "1.9.1", "superjson": "1.9.1",
"zod": "^3.18.0" "zod": "^3.18.0",
"ui": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.0.0",
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*",
"@types/node": "^18.0.0", "@types/node": "^18.0.0",
"@types/react": "^18.0.14", "@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5", "@types/react-dom": "^18.0.5",
@ -30,7 +34,6 @@
"@typescript-eslint/parser": "^5.33.0", "@typescript-eslint/parser": "^5.33.0",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"eslint": "^8.26.0", "eslint": "^8.26.0",
"eslint-config-next": "13.0.2",
"postcss": "^8.4.14", "postcss": "^8.4.14",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13", "prettier-plugin-tailwindcss": "^0.1.13",