From ddbdb502fa2800eed3b5fcea61dd158bfc72a7d3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:07:00 +0400 Subject: feat(eslint): Rule "prefer-template" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 17e92af..cd50d56 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -244,7 +244,7 @@ - [ ] "prefer-regex-literals" - [X] "prefer-rest-params" - [X] "prefer-spread" -- [ ] "prefer-template" +- [X] "prefer-template" - [X] "quote-props" - [X] "quotes" - [ ] "radix" diff --git a/src/rules/default.json b/src/rules/default.json index e5e5bd7..c68506d 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -407,6 +407,9 @@ "prefer-spread": [ "error" ], + "prefer-template": [ + "error" + ], "quote-props": [ "error", "consistent-as-needed", -- cgit v1.2.3