title: React ESLint no-shadow
body: <p>How to set ESLint no-shadow for React props.</p>
  
  <p>My code:</p>
  
  <pre><code>Import React, {Component, PropTypes} from 'react';
  ...
  
  @connect(
    state =&gt; ({
       user: state.user
    }),{
      getInfo
    }
  
  export default
  class ComponentName extends Component {
     static propTypes = {
       user: PropTypes.object.isRequired,
       getInfo: PropTypes.func
     }
  
     componentWillMount() {
       const {getInfo, user} = this.props;
  
       getInfo(user.id, user.auth);
       ...
     }
  }
  </code></pre>
  
  <p>ESLint show that in componentWillMount() <strong>getInfo</strong> is shadowed <em>(intresting that only for getInfo and no for user hmmm...)</em></p>
  
  <p>I dont want use ugly this.props.getInfo(...) ;(</p>
  
  <p>Thx for any help.</p>