diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 23:10:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 23:11:14 +0300 |
commit | 4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e (patch) | |
tree | e7bf8709b7420d17bf311fc379db228d30eb443a | |
parent | 07a5bddd6b41c94c86dd492eaf1d775d16aaf70e (diff) | |
download | eslint-config-4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e.tar.xz eslint-config-4a5af3ad9664859a8d22ac3408bdbc46c4c7ec5e.zip |
feat(typescript): Rule "no-untyped-public-signature"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -380,7 +380,7 @@ - [ ] "no-unnecessary-qualifier" - [ ] "no-unnecessary-type-arguments" - [ ] "no-unnecessary-type-assertion" -- [ ] "no-untyped-public-signature" +- [X] "no-untyped-public-signature" - [ ] "no-unused-expressions" - [ ] "no-unused-vars" - [ ] "no-unused-vars-experimental" 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", |