From 180fcb9c444901f42d46df4d3d3a0984f1de2734 Mon Sep 17 00:00:00 2001 From: Wladimir Palant Date: Fri, 12 Jun 2020 09:56:36 +0200 Subject: [PATCH] Disable require-atomic-updates ESLint rule due to false positives (https://github.com/eslint/eslint/issues/11899) --- .eslintrc.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 0a02cd43..cb459dd5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,7 +5,7 @@ "json" ], "parserOptions": { - "ecmaVersion": 6, + "ecmaVersion": 2017, "sourceType": "module" }, "env": { @@ -57,7 +57,6 @@ ], "prefer-rest-params": "warn", "prefer-spread": "warn", - "require-yield": "warn", "quotes": [ "error", "double", @@ -65,6 +64,11 @@ "avoidEscape": true } ], + "require-yield": "warn", + "require-atomic-updates": [ + "off", + "https://github.com/eslint/eslint/issues/11899" + ], "semi": "error", "semi-spacing": "error", "space-before-function-paren": [