diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 10:57:12 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 10:57:12 +0300 |
commit | 7928a93ea7c21a99873c0bab9c73e86865227321 (patch) | |
tree | da9f7a38bec4fae93718a48e43ba787d37acc4b1 | |
parent | 556f81ccfd47b0242e2ae70f8eaa188f14376960 (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", { |