title: Parsing error: Expression expected. eslint
body: <pre><code>interface Address {
    street: string,
  }
  
  export const getAddress = (address: Address | null) : string =&gt;
    address?.street ? `${address?.street}`
      : '0000 Default Dr';
  </code></pre>
  <p>Does anybody know am I getting <code>Parsing error: Expression expected. eslint</code> on <code>address</code> in <code>address?.street ?</code> ?</p>
  <p>Eslint rules both for the <code>.js</code> and <code>.ts</code>:</p>
  <pre><code> {
        &quot;extends&quot;: [
          &quot;plugin:cypress/recommended&quot;,
          &quot;plugin:@typescript-eslint/recommended&quot;
        ],
        &quot;overrides&quot;:
          {
            &quot;files&quot;: [&quot;**/*.{ts,tsx}&quot;],
            &quot;parser&quot;: &quot;@typescript-eslint/parser&quot;,
            &quot;parserOptions&quot;: {
              &quot;project&quot;: &quot;./tsconfig.json&quot;
            },
            &quot;plugins&quot;: [&quot;@typescript-eslint&quot;, &quot;prettier&quot;, &quot;react-hooks&quot;, &quot;jsx-a11y&quot;],
            &quot;extends&quot;: [
              &quot;eslint:recommended&quot;,
              &quot;react-app&quot;,
              &quot;plugin:@typescript-eslint/recommended&quot;,
              &quot;plugin:@typescript-eslint/recommended-requiring-type-checking&quot;,
              &quot;prettier&quot;
            ],
            &quot;rules&quot;: {
              &quot;@typescript-eslint/explicit-function-return-type&quot;: &quot;off&quot;,
              &quot;@typescript-eslint/no-explicit-any&quot;: &quot;off&quot;,
              &quot;@typescript-eslint/no-shadow&quot;: &quot;off&quot;,
              &quot;no-empty-function&quot;: 0,
              &quot;@typescript-eslint/no-empty-function&quot;: &quot;off&quot;,
              &quot;@typescript-eslint/explicit-module-boundary-types&quot;: &quot;off&quot;,
              &quot;@typescript-eslint/no-non-null-assertion&quot;: &quot;off&quot;,
              &quot;no-use-before-define&quot;: &quot;off&quot;,
              &quot;@typescript-eslint/no-use-before-define&quot;: [&quot;error&quot;]
            },
            &quot;settings&quot;: {
              &quot;import/parsers&quot;: {
                &quot;@typescript-eslint/parser&quot;: [&quot;.ts&quot;, &quot;.tsx&quot;]
              },
              &quot;import/resolver&quot;: {
                &quot;typescript&quot;: {}
              },
              &quot;react&quot;: {
                &quot;version&quot;: &quot;detect&quot;
              }
            }
          }
        ]
      }
  </code></pre>