From 0782ebe868d07595e2180f086e60cdfab31cee3d Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 30 Aug 2021 23:14:51 -0400 Subject: [PATCH] revert typescript rules (for now) --- index.js | 20 +------------------- package.json | 2 -- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/index.js b/index.js index 79c3329..55492d8 100644 --- a/index.js +++ b/index.js @@ -108,26 +108,8 @@ module.exports = { }, }, { - // TypeScript-only config + // TODO: TypeScript-only config files: ["*.ts", "*.tsx", "*.d.ts"], - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", - "plugin:import/recommended", - "plugin:import/typescript", - ], - plugins: [ - "@typescript-eslint", - ], - parser: "@typescript-eslint/parser", - parserOptions: { - project: ["./tsconfig.json"], - }, - rules: { - // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/restrict-template-expressions.md - "@typescript-eslint/restrict-template-expressions": "off", - }, }, ], }; diff --git a/package.json b/package.json index 21272b2..bbc0857 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,6 @@ "lint:fix": "eslint --fix ." }, "dependencies": { - "@typescript-eslint/eslint-plugin": "^4.30.0", - "@typescript-eslint/parser": "^4.30.0", "eslint-plugin-compat": "^3.13.0", "eslint-plugin-import": "^2.24.2" },