diff --git a/apps/landing-page/.eslintrc.js b/apps/landing-page/.eslintrc.js index 2044c18a20..96e7baf9e9 100644 --- a/apps/landing-page/.eslintrc.js +++ b/apps/landing-page/.eslintrc.js @@ -8,7 +8,6 @@ module.exports = { 'plugin:@typescript-eslint/recommended', 'plugin:react/recommended', 'next/core-web-vitals', - 'prettier', ], parser: '@typescript-eslint/parser', parserOptions: { @@ -23,10 +22,8 @@ module.exports = { version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use }, }, - plugins: ['prettier', 'react', '@typescript-eslint'], + plugins: ['react', '@typescript-eslint'], rules: { 'react/no-unescaped-entities': [0], - 'prettier/prettier': 'error', - 'react/display-name': [0], }, } diff --git a/apps/landing-page/package.json b/apps/landing-page/package.json index 781ce4fef2..203d66df07 100644 --- a/apps/landing-page/package.json +++ b/apps/landing-page/package.json @@ -29,9 +29,13 @@ "@types/aos": "^3.0.4", "@types/node": "18.7.13", "@types/react": "^18.0.17", + "@typescript-eslint/eslint-plugin": "5.35.1", + "@typescript-eslint/parser": "5.35.1", "autoprefixer": "10.4.8", "cross-env": "^7.0.3", "eslint": "8.23.0", + "eslint-config-next": "12.2.5", + "eslint-plugin-react": "^7.31.1", "postcss": "8.4.16", "prettier": "2.7.1", "typescript": "^4.8.2" diff --git a/apps/landing-page/pages/_document.tsx b/apps/landing-page/pages/_document.tsx index 58aaedfd0f..8ae5b94719 100644 --- a/apps/landing-page/pages/_document.tsx +++ b/apps/landing-page/pages/_document.tsx @@ -23,7 +23,7 @@ class MyDocument extends Document { {/* eslint-disable-next-line @next/next/no-sync-scripts */}