title: Eslint error : Do not nest ternary expressions
body: <p>I am working on a project using React.js and I have that errors using the eslint :</p>
  <p><code>Do not nest ternary expressions</code></p>
  <p>Here is my code :</p>
  <pre><code>const MyApp = () =&gt; {
  
  return (
  &lt;&gt;
  {(var1 &amp;&amp; var2) ? (
            &lt;Tag1 /&gt;
          ) : error ? (
            &lt;Tag2 /&gt;
          ) : null}
  &lt;/&gt;); 
  }
  </code></pre>
  <p>Do you know how can I do to solve that ? I tohught to use if but I think I cannot in my case ...</p>