You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tell us about your environment
Project is a monorepo using the following:
TurboRepo
Vue 3 (script setup)
Typescript
ESLint
Pug
ESLint version: 7.32.0
eslint-plugin-vue version: 8.4.1
Node version: 17
The problem you want to solve.
With normal html templating, eslint-plugin-vue correctly verifies used/unused components in the script setup tag.
With pug templating, eslint-plugin-vue does not support the templating and thus it cannot verify whether a component is used or not.
Your take on the correct solution to problem.
In Additional context There is an sfc plugin in the making, but I would much rather see eslint-plugin-vue support this.
Additional context
The following plugin is working on fixing this issue. https://github.com/Shinigami92/eslint-plugin-vue-pug-sfc
However, I can not seem to get the plugin working, nor do I want to have an additional plugin just for this support
The text was updated successfully, but these errors were encountered:
Blissful89
changed the title
Script setup support for pug
Feature request: Script setup support for pug
Feb 26, 2022
Tell us about your environment
Project is a monorepo using the following:
The problem you want to solve.
With normal html templating, eslint-plugin-vue correctly verifies used/unused components in the script setup tag.
With pug templating, eslint-plugin-vue does not support the templating and thus it cannot verify whether a component is used or not.
Your take on the correct solution to problem.
In
Additional context
There is an sfc plugin in the making, but I would much rather see eslint-plugin-vue support this.Additional context
The following plugin is working on fixing this issue.
https://github.com/Shinigami92/eslint-plugin-vue-pug-sfc
However, I can not seem to get the plugin working, nor do I want to have an additional plugin just for this support
The text was updated successfully, but these errors were encountered: