From 7928a93ea7c21a99873c0bab9c73e86865227321 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 11:57:12 +0400 Subject: feat(eslint): Rule "handle-callback-err" 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 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", { -- cgit v1.2.3