-
Notifications
You must be signed in to change notification settings - Fork 14
Add eslint flat config support #26
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
Conversation
Thanks for working on this!
Do you want to look into borrowing from |
Sure, I'll look into it.
…On Tue, 2 Apr 2024, 16:44 rash, ***@***.***> wrote:
Thanks for working on this!
plugin-vue-pug is borrowing tools to generate configs from plugin-vue.
They have created new scripts to accomodate flat configs in this PR
<vuejs/eslint-plugin-vue#2407>. plugin-vue-pug
should follow the same approach to stay in sync with them. It also looks
like plugin-vue switched the default for configs to vue3 and now uses
vue2- es prefix for configs. plugin-vue-pug should follow suite.
Do you want to look into borrowing from plugin-vue again?
—
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH7JJTEVI7EBN7I43AYM53Y3LG6JAVCNFSM6AAAAABFTIG4XGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGQYTOMJRGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hey, can you tell what status is for this issue? vue + eslint + pug still doesn't work in flat config |
@@ -44,4 +48,4 @@ | |||
"peerDependencies": { | |||
"eslint-plugin-vue": "^9.8.0" | |||
} | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted.
Unfortunately I've stopped working on the project that requires pug, so I haven't had the time to return to this. Hopefully, someone else can make some progress. |
Thanks for giving it a go @bahulneel ! |
While we are here, I don't think
because there is no such thing as |
Seeing the same issue as @IlyaSemenov just now…
|
I released v1.0.0 with flat config support by updating the tooling that I initially copied from |
Flat config is going to be the default in eslint 9, this migrates/hacks the current generated conf into a flat version that can be used in
eslint.config.js