From 4d3e24b46f63c5fa1bef9331ef99db2aebf0437e Mon Sep 17 00:00:00 2001 From: Ryan Smith <0ryansmith1994@gmail.com> Date: Mon, 24 Sep 2018 12:14:09 +0100 Subject: [PATCH 1/2] feat: Warns about unsafe anys. --- configs/tslint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/tslint.json b/configs/tslint.json index 4be7a174..69f459e3 100644 --- a/configs/tslint.json +++ b/configs/tslint.json @@ -76,7 +76,9 @@ "no-string-throw": true, "no-switch-case-fall-through": false, "no-unbound-method": true, - "no-unsafe-any": false, + "no-unsafe-any": { + "severity": "warning" + }, "no-unsafe-finally": true, "no-unused-expression": true, "no-use-before-declare": true, From cc7734f9a7da360ddded784b41d9fcc6db6baf6e Mon Sep 17 00:00:00 2001 From: Ryan Smith <3045513+ryansmith94@users.noreply.github.com> Date: Mon, 24 Sep 2018 12:42:41 +0100 Subject: [PATCH 2/2] feat: Warns about use of any. --- configs/tslint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/tslint.json b/configs/tslint.json index 69f459e3..9791809d 100644 --- a/configs/tslint.json +++ b/configs/tslint.json @@ -19,7 +19,9 @@ "member-ordering": [ false ], - "no-any": false, + "no-any": { + "severity": "warning" + }, "no-empty-interface": true, "no-import-side-effect": true, "no-inferrable-types": true,