title: How to make ESLint understand that function is used in vue pug template?
body: <p>I have following vue component.</p>
  <pre><code>&lt;template lang=&quot;pug&quot;&gt;
  button(@click=&quot;onLogout&quot;) Logout
  &lt;/template&gt;
  
  &lt;script setup lang=&quot;ts&quot;&gt;
  function onLogout() {
    // some logic
  }
  &lt;/script&gt;
  </code></pre>
  <p>When I run linter. Linter complains <code>Warning:(9, 10) ESLint: 'onLogout' is defined but never used. (@typescript-eslint/no-unused-vars)</code></p>
  <p>How do I make ESLint aware that <code>onLogout</code> function is used in the template?</p>