From 5237efb88c0ad60b0427855ba10724e86a855736 Mon Sep 17 00:00:00 2001 From: Xymorot Date: Sun, 13 Oct 2019 02:34:15 +0200 Subject: [PATCH] config: add only-arrow-functions rule to tslint --- tslint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tslint.json b/tslint.json index f54c277..b15f67d 100644 --- a/tslint.json +++ b/tslint.json @@ -25,7 +25,8 @@ "no-parameter-reassignment": true, "arrow-return-shorthand": true, "no-default-export": true, - "prefer-template": true + "prefer-template": true, + "only-arrow-functions": [true, "allow-named-functions"] }, "jsRules": true }