mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[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:
committed by
Jordan Harband
parent
5cd011dfa1
commit
1310ade9d0
@@ -186,6 +186,7 @@ module.exports = {
|
||||
'res', // for Express responses
|
||||
'response', // for Express responses
|
||||
'$scope', // for Angular 1 scopes
|
||||
'staticContext', // for ReactRouter context
|
||||
]
|
||||
}],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user