mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 13:48:12 -05:00
[eslint config] [base] [patch] Include 'accumulator' exception for no-param-reassign
This commit is contained in:
committed by
Jordan Harband
parent
49dab881da
commit
8ed1d855bb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user