We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79020a6 commit 2b0f735Copy full SHA for 2b0f735
packages/eslint-config-zillow/rules/react.js
@@ -415,7 +415,8 @@ module.exports = {
415
416
// Enforce consistent usage of destructuring assignment of props, state, and context
417
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/destructuring-assignment.md
418
- 'react/destructuring-assignment': ['error', 'always'],
+ // TODO: enable when it is less naïve about shadowing outer scopes
419
+ 'react/destructuring-assignment': ['off', 'always'],
420
421
// Prevent using this.state within a this.setState
422
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/no-access-state-in-setstate.md
0 commit comments