From 5cf3d74e03c6742f1cac3f8fba38c01e47d888bc Mon Sep 17 00:00:00 2001 From: C4illin Date: Tue, 30 Jul 2024 00:44:43 +0200 Subject: [PATCH] chore: update old config --- .eslintrc.cjs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c6d2a93..38e07b3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -12,17 +12,11 @@ const config = { ecmaVersion: "latest", sourceType: "module", tsconfigRootDir: __dirname, - project: [ - "./tsconfig.json", - "./cli/tsconfig.eslint.json", // separate eslint config for the CLI since we want to lint and typecheck differently due to template files - "./upgrade/tsconfig.json", - "./www/tsconfig.json", - ], + project: ["./tsconfig.json"], }, overrides: [ // Template files don't have reliable type information { - files: ["./cli/template/**/*.{ts,tsx}"], extends: ["plugin:@typescript-eslint/disable-type-checked"], }, ], @@ -46,9 +40,6 @@ const config = { // These lint rules don't make sense for us but are enabled in the preset configs "@typescript-eslint/no-confusing-void-expression": "off", "@typescript-eslint/restrict-template-expressions": "off", - - // This rule doesn't seem to be working properly - "@typescript-eslint/prefer-nullish-coalescing": "off", }, };