mirror of
https://github.com/jakejarvis/eslint-config.git
synced 2025-04-26 06:25:23 -04:00
revert typescript rules (for now)
This commit is contained in:
parent
4c7d1c6f54
commit
0782ebe868
20
index.js
20
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",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
@ -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"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user