yyx990803/pug-plain-loader

ESlint doesn't detect variables in PUG template with quasar/vue

Nuzzlet opened this issue · 0 comments

ESlint doesn't detect variables in PUG template, causing build error with "no-unused-vars" despite the variable being used in the template.

The following code results in the no-unused-vars error, preventing my application from being built.

<template lang="pug">
h1 {{test}}
</template>

<script setup>
const test = ''
</script>