aboutsummaryrefslogtreecommitdiff
path: root/src/rules/typescript
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 23:10:20 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 23:11:14 +0300
commit4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e (patch)
treee7bf8709b7420d17bf311fc379db228d30eb443a /src/rules/typescript
parent07a5bddd6b41c94c86dd492eaf1d775d16aaf70e (diff)
downloadeslint-config-4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e.tar.xz
eslint-config-4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e.zip
feat(typescript): Rule "no-untyped-public-signature"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/typescript')
-rw-r--r--src/rules/typescript/default.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 55a5216..26bd453 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -67,6 +67,14 @@
"allowDefinitionFiles": true
}
],
+ "@typescript-eslint/no-untyped-public-signature": [
+ "error",
+ {
+ "ignoredMethods": [
+ "constructor"
+ ]
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",