aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 10:53:27 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 10:53:27 +0300
commit1178701bf134ab7ef783826e965ded3051fe6e74 (patch)
treeb530ff2e7e6e01914f05cd8a062f41527234255a
parent601b3890646c21fd7764e88a362298eb7b3bbc2c (diff)
downloadeslint-config-1178701bf134ab7ef783826e965ded3051fe6e74.tar.xz
eslint-config-1178701bf134ab7ef783826e965ded3051fe6e74.zip
feat(eslint): Rule "no-path-concat"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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"
],