Skip to content
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

Open
chris-allison-achiive opened this issue Oct 30, 2021 · 6 comments
Open

Pug SFCs #258

chris-allison-achiive opened this issue Oct 30, 2021 · 6 comments
Labels
help wanted Extra attention is needed Type: Feature Includes new features

Comments

@chris-allison-achiive
Copy link

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?

@ota-meshi
Copy link
Member

ota-meshi commented Oct 31, 2021

Currently this plugin does not support Pug.
I'm not familiar with Pug because I don't use Pug, I think it would be good if someone could work on it.

@ota-meshi ota-meshi added help wanted Extra attention is needed Type: Feature Includes new features labels Oct 31, 2021
@Shinigami92
Copy link

👀 another pug ecosystem problem...
@chris-allison-achiive Not sure right now if and when I have time for that... but it seems that everytime when something is related to pug+vue then I'm the person to rescue 😔 Would love to have some additional contributors in my pug+vue ecosystem around me

@SkyaTura
Copy link

I would love if I had enough time as I wish I had to assist on Pug+Vue ecosystem as well @Shinigami92

😢

@ota-meshi
Copy link
Member

I'm not familiar with pug but eslint-plugin-vue-pug might be worth a try too.

https://github.com/rashfael/eslint-plugin-vue-pug

@Shinigami92
Copy link

Ping @rashfael

@rashfael
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Type: Feature Includes new features
Projects
None yet
Development

No branches or pull requests

5 participants