From 0dd3f0c8c400d39de2363d5fc96b35a213f2339f Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 5 Jul 2019 13:58:59 +0200 Subject: [PATCH] fix: Turn off 'require-atomic-updates' due to false positives More info: https://github.com/eslint/eslint/issues/11899 --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index b5d5dfd..e418692 100644 --- a/index.js +++ b/index.js @@ -99,6 +99,7 @@ module.exports = { 'prefer-spread': 'error', 'prefer-template': 'error', 'radix': 'error', + 'require-atomic-updates': 'off', // Reports false positives: https://github.com/eslint/eslint/issues/11899 'vars-on-top': 'error', 'spaced-comment': ['error', 'always', { exceptions: ['-', '+'], markers: ['=', '!'] }], 'strict': ['error', 'safe'],