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
missing TypeScript declaration file #2324
Comments
Types already available https://github.com/eslint-types/define-config-plugin-types/tree/main/types/unicorn Maybe @Shinigami92 can help us move to this repo? |
I can try to help, but unfortunate I currently have much todo with maintaining There is also a post by @nzakas that the eslint v8->v9 migration path will get a bit more stabilization in "near" future. If someone wants to tackle a PR for unicorn, have a look into my script https://github.com/eslint-types/define-config-plugin-types/blob/main/scripts/generate-plugin-dts.ts and take everything needed to build up a starting base for unicorn types itself. |
Now that ESLint 9 is released and everyone is migrating to flat config, importing the plugin into a flat config by following the official documentation actually results in a red squiggly line, because no declaration file exists (when using
checkJs
and/or@ts-check
).I suspect many/most users will be using TypeScript to validate that their new flat configs do not have typos in them. Thus, shipping a declaration file for this plugin would really be appreciated!
The text was updated successfully, but these errors were encountered: