aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:02:53 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:02:53 +0300
commitc3df8b2213f087bd880d371eb9fa53a3a6123819 (patch)
tree16c9529c0e5ad04183cb4e58c9afeaae27678271
parentc871e1ed51b09d05fbd875c75c40bdfeb4d52ee6 (diff)
downloadeslint-config-c3df8b2213f087bd880d371eb9fa53a3a6123819.tar.xz
eslint-config-c3df8b2213f087bd880d371eb9fa53a3a6123819.zip
feat(eslint): Rule "no-debugger"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 6bcc625..ec25ed2 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -96,7 +96,7 @@
- [ ] "no-constructor-return"
- [ ] "no-continue"
- [ ] "no-control-regex"
-- [ ] "no-debugger"
+- [X] "no-debugger"
- [ ] "no-delete-var"
- [ ] "no-div-regex"
- [ ] "no-dupe-args"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 1065842..d08f852 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -66,6 +66,9 @@
"allow": []
}
],
+ "no-debugger": [
+ "error"
+ ],
"no-multi-spaces": [
"error",
{