From 1178701bf134ab7ef783826e965ded3051fe6e74 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 11:53:27 +0400 Subject: feat(eslint): Rule "no-path-concat" 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 d61f1c9..345dc02 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -161,7 +161,7 @@ - [ ] "no-octal" - [X] "no-octal-escape" - [ ] "no-param-reassign" -- [ ] "no-path-concat" +- [X] "no-path-concat" - [ ] "no-plusplus" - [ ] "no-process-env" - [ ] "no-process-exit" diff --git a/src/rules/default.json b/src/rules/default.json index f99eadf..17f61fc 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -322,6 +322,9 @@ "no-octal-escape": [ "error" ], + "no-path-concat": [ + "error" + ], "no-proto": [ "error" ], -- cgit v1.2.3