From 37030ce364b9da37981a9e4e6b5d2b1b8aed320b Mon Sep 17 00:00:00 2001 From: Ryan Smith <0ryansmith1994@gmail.com> Date: Mon, 24 Sep 2018 15:05:45 +0100 Subject: [PATCH] feat: Changes rule to warn about non-arrow functions. --- configs/tslint.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/tslint.json b/configs/tslint.json index 4be7a174..3c0ffd62 100644 --- a/configs/tslint.json +++ b/configs/tslint.json @@ -32,9 +32,9 @@ "no-reference": true, "no-unnecessary-type-assertion": true, "no-var-requires": true, - "only-arrow-functions": [ - true - ], + "only-arrow-functions": { + "severity": "warning" + }, "prefer-for-of": true, "promise-function-async": false, "typedef": [