aboutsummaryrefslogtreecommitdiff
path: root/src/rules/typescript/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-10-02 16:19:18 +0300
committerGitHub <noreply@github.com>2020-10-02 16:19:18 +0300
commitca3472cf54466250deafbb210d81054674b5a27d (patch)
tree975dc87692d80347b3604e3d649a65dbd51e50f6 /src/rules/typescript/default.json
parenta7aeded00994c56e4a6f24f53944b159be3a253d (diff)
parent8a1a4a502c1045e3f74bfe74addad130edb99f48 (diff)
downloadeslint-config-ca3472cf54466250deafbb210d81054674b5a27d.tar.xz
eslint-config-ca3472cf54466250deafbb210d81054674b5a27d.zip
Merge pull request #7 from valentineus/release/2020-06-18
Release/2020 06 18
Diffstat (limited to 'src/rules/typescript/default.json')
-rw-r--r--src/rules/typescript/default.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index f65f761..b4fcc7a 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
}
@@ -249,10 +249,10 @@
"arrayDestructuring": true,
"arrowParameter": true,
"memberVariableDeclaration": true,
- "objectDestructuring": true,
+ "objectDestructuring": false,
"parameter": true,
"propertyDeclaration": true,
- "variableDeclaration": true,
+ "variableDeclaration": false,
"variableDeclarationIgnoreFunction": false
}
],
@@ -289,4 +289,4 @@
"space-before-function-paren": [
"off"
]
-} \ No newline at end of file
+}