1
mirror of https://github.com/jakejarvis/eslint-config.git synced 2025-04-26 01:45:25 -04:00

revert typescript rules (for now)

This commit is contained in:
Jake Jarvis 2021-08-30 23:14:51 -04:00
parent 4c7d1c6f54
commit 0782ebe868
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 1 additions and 21 deletions

View File

@ -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",
},
},
],
};

View File

@ -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"
},