Skip to content

Commit 0f11049

Browse files
feat(lint): restrict nesting to avoid callback hell
Closes #43
1 parent c4cf2a9 commit 0f11049

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/eslintrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ rules:
2727
no-warning-comments: 1
2828
quote-props: [2, 'as-needed']
2929
require-yield: 2
30+
max-nested-callbacks: [2, 4]
31+
max-depth: [2, 4]

0 commit comments

Comments
 (0)