Avoid no-shadow eslint error with mapDispatchToProps
<p>I have the following component that triggers a <code>no-shadow</code> ESlint error on the <code>FilterButton</code> <code>props</code>.</p>

<pre class="lang-js prettyprint-override"><code>import { setFilter } from '../actions/filter';


function FilterButton({ setFilter }) {
  return (
    &lt;button onClick={setFilter}&gt;Click&lt;/button&gt;
  );
}

export default connect(null, { setFilter })(FilterButton);
</code></pre>

<p>How can I avoid the warning while keeping both the concise syntax of <code>mapDispatchToProps</code> and the ESlint rule?</p>

<p>I know I can add a comment to suppress the warning but doing it for every components seems redundant and tedious.</p>