aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-18 11:07:33 +0300
committerValentin Popov <info@valentineus.link>2020-06-18 11:07:33 +0300
commit65d843d5c2fb9ad9939a7cc94897d389ef492670 (patch)
tree57653406ae47d3a9d5b6b2ea89dc1b6afb2be47b
parent0aef29fcbe723cdb79d9a4a381d294aaa62c74be (diff)
downloadeslint-config-65d843d5c2fb9ad9939a7cc94897d389ef492670.tar.xz
eslint-config-65d843d5c2fb9ad9939a7cc94897d389ef492670.zip
Corrected TypeScript rules
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--src/rules/typescript/default.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index f65f761..52da311 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -133,7 +133,7 @@
"error"
],
"@typescript-eslint/no-unsafe-member-access": [
- "error"
+ "warn"
],
"@typescript-eslint/no-unsafe-return": [
"error"
@@ -167,7 +167,7 @@
"error"
],
"@typescript-eslint/prefer-readonly-parameter-types": [
- "error",
+ "warn",
{
"checkParameterProperties": true
}