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 @@
{
"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"],
};

View File

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

View File

@ -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",