Skip to content

Commit 6e36d12

Browse files
author
Kai Cataldo
authored
Update: do not recommend require-atomic-updates (refs #11899) (#12599)
1 parent dbbba83 commit 6e36d12

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

conf/eslint-recommended.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ module.exports = {
6262
"no-useless-catch": "error",
6363
"no-useless-escape": "error",
6464
"no-with": "error",
65-
"require-atomic-updates": "error",
6665
"require-yield": "error",
6766
"use-isnan": "error",
6867
"valid-typeof": "error"

lib/rules/require-atomic-updates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module.exports = {
162162
docs: {
163163
description: "disallow assignments that can lead to race conditions due to usage of `await` or `yield`",
164164
category: "Possible Errors",
165-
recommended: true,
165+
recommended: false,
166166
url: "https://eslint.org/docs/rules/require-atomic-updates"
167167
},
168168

0 commit comments

Comments
 (0)