Skip to content

Commit 8ed1d85

Browse files
naomiajacobsljharb
authored andcommitted
[eslint config] [base] [patch] Include 'accumulator' exception for no-param-reassign
1 parent 49dab88 commit 8ed1d85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/eslint-config-airbnb-base/rules/best-practices.js

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ module.exports = {
173173
props: true,
174174
ignorePropertyModificationsFor: [
175175
'acc', // for reduce accumulators
176+
'accumulator', // for reduce accumulators
176177
'e', // for e.returnvalue
177178
'ctx', // for Koa routing
178179
'req', // for Express requests

0 commit comments

Comments
 (0)