eslint icon indicating copy to clipboard operation
eslint copied to clipboard

Version 12 ignoring *.d.ts files

Open rchl opened this issue 3 years ago • 2 comments

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.

rchl avatar Dec 18 '22 21:12 rchl

Was wondering the same...

dsvgl avatar Jan 07 '23 00:01 dsvgl

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!

antfu avatar Mar 19 '24 14:03 antfu

This issue was created for the legacy configs for Nuxt 2, which have been deprecated for a while and removed recently in #534. The issue is likely no longer relevant to the latest version. If you still have a similar issue with the latest config, please open a new issue with minimal reproduction. Thanks.

antfu avatar Jan 30 '25 09:01 antfu