summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:43:53 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:43:53 +0300
commit2d8a11cb2f4f2caee86cc87def3181cede724de2 (patch)
treeb60b66c2e05b53306158e8da40866f0185896b7c
parent2eec58795d17543d05d058fa170dca95d8f26056 (diff)
downloadeslint-config-2d8a11cb2f4f2caee86cc87def3181cede724de2.tar.xz
eslint-config-2d8a11cb2f4f2caee86cc87def3181cede724de2.zip
feat(eslint): Rule "no-octal-escape"
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 30e6de5..d28164e 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -159,7 +159,7 @@
- [X] "no-new-wrappers"
- [ ] "no-obj-calls"
- [ ] "no-octal"
-- [ ] "no-octal-escape"
+- [X] "no-octal-escape"
- [ ] "no-param-reassign"
- [ ] "no-path-concat"
- [ ] "no-plusplus"
diff --git a/src/rules/default.json b/src/rules/default.json
index d76ffeb..d04adf1 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -302,6 +302,9 @@
"no-new-wrappers": [
"error"
],
+ "no-octal-escape": [
+ "error"
+ ],
"no-spaced-func": [
"off"
],