aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 10:57:12 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 10:57:12 +0300
commit7928a93ea7c21a99873c0bab9c73e86865227321 (patch)
treeda9f7a38bec4fae93718a48e43ba787d37acc4b1
parent556f81ccfd47b0242e2ae70f8eaa188f14376960 (diff)
downloadeslint-config-7928a93ea7c21a99873c0bab9c73e86865227321.tar.xz
eslint-config-7928a93ea7c21a99873c0bab9c73e86865227321.zip
feat(eslint): Rule "handle-callback-err"
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 35a4b93..b747c51 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -45,7 +45,7 @@
- [ ] "global-require"
- [ ] "grouped-accessor-pairs"
- [ ] "guard-for-in"
-- [ ] "handle-callback-err"
+- [X] "handle-callback-err"
- [ ] "id-blacklist"
- [X] "id-length"
- [ ] "id-match"
diff --git a/src/rules/default.json b/src/rules/default.json
index 9ee41be..7bc82bd 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -77,6 +77,9 @@
"error",
"consistent"
],
+ "handle-callback-err": [
+ "error"
+ ],
"id-length": [
"warn",
{