summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:22:52 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:22:52 +0300
commit77985e07d0ba6a8274454c1a1d59a7a521d18177 (patch)
treee5b90353c58f83f1b170f485c4bfbbe3cd0e04d5 /src/rules
parent4553037062717bbbc6f41e9229cfb6d78a7e039e (diff)
downloadeslint-config-77985e07d0ba6a8274454c1a1d59a7a521d18177.tar.xz
eslint-config-77985e07d0ba6a8274454c1a1d59a7a521d18177.zip
feat(typescript): Rule "no-useless-constructor"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/typescript/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 244b4a8..631bdf2 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -90,6 +90,9 @@
"@typescript-eslint/no-unused-vars-experimental": [
"error"
],
+ "@typescript-eslint/no-useless-constructor": [
+ "error"
+ ],
"@typescript-eslint/quotes": [
"error",
"double",
@@ -144,6 +147,9 @@
"no-unused-vars": [
"off"
],
+ "no-useless-constructor": [
+ "off"
+ ],
"quotes": [
"off"
],