From d462ca0b462c6317c3eba0e19d7a96ec3ea0752f Mon Sep 17 00:00:00 2001 From: nafees nazik Date: Sat, 9 Mar 2024 00:16:16 +0530 Subject: [PATCH] feat: remove prettier plugin --- packages/eslint-config/index.cjs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/packages/eslint-config/index.cjs b/packages/eslint-config/index.cjs index 57cecf40d..bc20fcbdc 100644 --- a/packages/eslint-config/index.cjs +++ b/packages/eslint-config/index.cjs @@ -4,29 +4,20 @@ module.exports = { 'turbo', 'eslint:recommended', 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', 'plugin:package-json/recommended', ], - plugins: ['prettier', 'package-json', 'unused-imports'], + plugins: ['package-json', 'unused-imports'], env: { + es2022: true, node: true, browser: true, - es6: true, }, parser: '@typescript-eslint/parser', - parserOptions: { - tsconfigRootDir: __dirname, - project: ['../../apps/*/tsconfig.json', '../../packages/*/tsconfig.json'], - ecmaVersion: 2022, - ecmaFeatures: { - jsx: true, - }, - sourceType: 'module', - }, + parserOptions: { project: true }, rules: { '@next/next/no-html-link-for-pages': 'off',