[eslint config] [base] [patch] Include 'accumulator' exception for no-param-reassign

This commit is contained in:
Naomi Jacobs
2018-03-20 11:40:04 -07:00
committed by Jordan Harband
parent 49dab881da
commit 8ed1d855bb

View File

@@ -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