mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-11-08 19:11:31 +01:00
fix: disable no-undef
using TypeScript
This commit is contained in:
parent
f3feed70cb
commit
c026007f42
@ -78,7 +78,6 @@
|
||||
}
|
||||
],
|
||||
"no-useless-backreference": "error",
|
||||
"require-atomic-updates": "error",
|
||||
"use-isnan": [
|
||||
"error",
|
||||
{
|
||||
@ -164,7 +163,6 @@
|
||||
"radix": "error",
|
||||
"require-await": "off",
|
||||
"@typescript-eslint/require-await": "error",
|
||||
"spaced-comment": ["error", "always"],
|
||||
"yoda": ["error", "never"],
|
||||
|
||||
"import/no-absolute-path": "error",
|
||||
@ -203,7 +201,10 @@
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"rules": {
|
||||
"no-undef": "off",
|
||||
|
||||
"@typescript-eslint/adjacent-overload-signatures": "error",
|
||||
"@typescript-eslint/await-thenable": "error",
|
||||
"@typescript-eslint/array-type": [
|
||||
"error",
|
||||
{ "default": "array-simple" }
|
||||
|
3
package-lock.json
generated
3
package-lock.json
generated
@ -36,12 +36,11 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
||||
"@typescript-eslint/parser": "^5.12.0",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-unicorn": "^41.0.0",
|
||||
"typescript": "^4.5.5"
|
||||
"typescript": "^4.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
|
Loading…
Reference in New Issue
Block a user