[eslint config] [base] [patch] Ignore property modifications of staticContext params

React Router passes a `staticContext` property to children to allow
signalling status codes and redirected URLs, by allowing children to
assign property values to it during render
This commit is contained in:
Joseph Nields
2019-04-27 14:00:50 -07:00
committed by Jordan Harband
parent 5cd011dfa1
commit 1310ade9d0

View File

@@ -186,6 +186,7 @@ module.exports = {
'res', // for Express responses
'response', // for Express responses
'$scope', // for Angular 1 scopes
'staticContext', // for ReactRouter context
]
}],