Skip to content

Commit 0b9052f

Browse files
fix: disable no-await-in-loop (#395)
* fix: disable no-await-in-loop as discussed in today's Node Guild Sync, this rule encourages some hard-to-read workarounds, but doesn't help a lot. we agreed to disable it. * chore: i swear to never commit in github web editor again
1 parent abfdb2f commit 0b9052f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module.exports = {
4747
'max-statements': [2, 15],
4848
'max-statements-per-line': [2, { max: 2 }],
4949
'multiline-comment-style': [2, 'separate-lines'],
50-
'no-await-in-loop': 2,
5150
'no-bitwise': 2,
5251
'no-constructor-return': 2,
5352
'no-duplicate-imports': 2,
@@ -139,6 +138,8 @@ module.exports = {
139138
],
140139

141140
// Those rules are too strict
141+
'no-await-in-loop': 0,
142+
142143
'fp/no-rest-parameters': 0,
143144
'fp/no-unused-expression': 0,
144145
'fp/no-nil': 0,

0 commit comments

Comments
 (0)