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

Version 12 ignoring *.d.ts files #257

Open
rchl opened this issue Dec 18, 2022 · 2 comments
Open

Version 12 ignoring *.d.ts files #257

rchl opened this issue Dec 18, 2022 · 2 comments
Labels
nuxt2-legacy Issues related to the legacy Nuxt 2 eslint config pr welcome

Comments

@rchl
Copy link

rchl commented Dec 18, 2022

Why is version 12 ignoring *.d.ts files?

https://github.com/nuxt/eslint-config/blob/3bc1fb3cfa2f01b807477b18c3b1c9c6e8eef8ed/packages/eslint-config-legacy/index.js#L159

I want my type definition files to be linted too.

If the intention was to ignore auto-generated ones then probably this should be done for specific directories.

@dsvgl
Copy link

dsvgl commented Jan 7, 2023

Was wondering the same...

@antfu antfu added nuxt2-legacy Issues related to the legacy Nuxt 2 eslint config pr welcome labels Mar 19, 2024
@antfu
Copy link
Member

antfu commented Mar 19, 2024

If anyone wants to work on it and find a better solution, feel free to propose changes via a PR. (Note that here we are talking about the eslint config for Nuxt 2). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nuxt2-legacy Issues related to the legacy Nuxt 2 eslint config pr welcome
Projects
None yet
Development

No branches or pull requests

3 participants