From 8ed1d855bbefccbb147fe17d902a18c8f9aa3977 Mon Sep 17 00:00:00 2001 From: Naomi Jacobs Date: Tue, 20 Mar 2018 11:40:04 -0700 Subject: [PATCH] [eslint config] [base] [patch] Include 'accumulator' exception for `no-param-reassign` --- packages/eslint-config-airbnb-base/rules/best-practices.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eslint-config-airbnb-base/rules/best-practices.js b/packages/eslint-config-airbnb-base/rules/best-practices.js index 978cafc6..b5712d00 100644 --- a/packages/eslint-config-airbnb-base/rules/best-practices.js +++ b/packages/eslint-config-airbnb-base/rules/best-practices.js @@ -173,6 +173,7 @@ module.exports = { props: true, ignorePropertyModificationsFor: [ 'acc', // for reduce accumulators + 'accumulator', // for reduce accumulators 'e', // for e.returnvalue 'ctx', // for Koa routing 'req', // for Express requests