title: I get this error Unexpected constant condition no-constant-condition and cant figure our how to pass this ,
body: <p>I have this simple middleware but i keep getting this error</p>
  <pre><code>    export default function auth({ next }) {
      
          if (false) {
              return next({
                  name: 'loginPage'
              })
          }
      
          return next()
  
  }
  </code></pre>
  <p>any help would be appreciated.</p>