-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pug SFCs #258
Comments
Currently this plugin does not support Pug. |
👀 another pug ecosystem problem... |
I would love if I had enough time as I wish I had to assist on Pug+Vue ecosystem as well @Shinigami92 😢 |
I'm not familiar with pug but eslint-plugin-vue-pug might be worth a try too. |
Ping @rashfael |
https://github.com/rashfael/vue-eslint-parser-template-tokenizer-pug might just make the rules of eslint-plugin-vue-i18n work with pug like it does for eslint-plugin-vue. Either install https://github.com/rashfael/eslint-plugin-vue-pug and enable the plugin or just install vue-eslint-parser-template-tokenizer-pug and add this to your eslint config. https://github.com/rashfael/eslint-plugin-vue-pug is mostly just tests for the original https://github.com/vuejs/eslint-plugin-vue rules and a few fixes. Somebody might do the same for eslint-plugin-vue-i18n, using vue-eslint-parser-template-tokenizer-pug, which could have a chance at being relatively little effort (I currently don't have time or interest to do it myself). Let me know if vue-eslint-parser-template-tokenizer-pug works for this and feel free to ask me any questions. |
Hi
All is working fine so long as I'm using HTML SFCs. As soon as I start using Pug (aka Jade) then the linter fails to detect, eg, @intlify/vue-i18n/no-missing-keys.
Is there anything I can do to enable linting with Pug?
The text was updated successfully, but these errors were encountered: