From cb1a9610b0687e168443147ab76e63314b1dc623 Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 13 Sep 2024 16:56:17 -0500 Subject: [PATCH] fix(eslint): replace deprecated ignore approach --- .eslintignore | 5 ----- apps/site/eslint.config.js | 1 + packages/i18n/eslint.config.js | 2 ++ 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index ab22ce98c29c5..0000000000000 --- a/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -# Node.js -node_modules - -# Next.js & Vercel Directories -.turbo diff --git a/apps/site/eslint.config.js b/apps/site/eslint.config.js index 1add27045b4ae..5ac5bb2196eb7 100644 --- a/apps/site/eslint.config.js +++ b/apps/site/eslint.config.js @@ -22,6 +22,7 @@ const compatConfig = compat.config({ export default tseslint.config( { ignores: [ + 'node_modules', '.next', '.swc', '.turbo', diff --git a/packages/i18n/eslint.config.js b/packages/i18n/eslint.config.js index 6e9478a0712fe..727c2fbc1a061 100644 --- a/packages/i18n/eslint.config.js +++ b/packages/i18n/eslint.config.js @@ -6,6 +6,8 @@ import tseslint from 'typescript-eslint'; export default tseslint.config( { ignores: [ + 'node_modules', + '.turbo', 'build', 'coverage', 'global.d.ts',