Skip to content

Commit 148f7cd

Browse files
committed
fix(base): Turn off the require-atomic-updates rule
A lot of false-positives are really annoying
1 parent 4fc39d3 commit 148f7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configurations/base/rules/possible-problems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ module.exports = {
242242
// Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
243243
// https://eslint.org/docs/rules/require-atomic-updates
244244
// Note: may be buggy according to `airbnb` config
245-
'require-atomic-updates': 'error',
245+
'require-atomic-updates': 'off',
246246

247247
// Require calls to `isNaN()` when checking for `NaN`
248248
// https://eslint.org/docs/rules/use-isnan

0 commit comments

Comments
 (0)