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

can't update eslint-plugin-tsdoc in my project #112

Open
mfulton26 opened this issue Oct 18, 2024 · 0 comments
Open

can't update eslint-plugin-tsdoc in my project #112

mfulton26 opened this issue Oct 18, 2024 · 0 comments

Comments

@mfulton26
Copy link

@vercel/style-guide depends on eslint-plugin-tsdoc@^0.2.17. A new version, 0.3.0 is available but because "many authors treat a 0.x version as if the x were the major 'breaking-change' indicator" the new version, 0.3.0, does not satisfy the caret range constraint ^0.2.17.

When I update eslint-plugin-tsdoc in my project to 0.3.0 I get a runtime error when linting due to multiple versions of the plugin being available. @vercel/style-guide's dependency won't resolve to 0.3.0 and stays at 0.2.17. 😔

ops! Something went wrong! :(

ESLint: 8.57.1

ESLint couldn't determine the plugin "tsdoc" uniquely.

- /home/runner/_work/my-project/my-project/node_modules/.pnpm/[email protected]/node_modules/eslint-plugin-tsdoc/lib/index.js (loaded in ".eslintrc.js » eslint-config-custom/library#overrides[0] » /home/runner/_work/my-project/my-project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_typesc_afnunjon52la4n3hbpfaqz2ism/node_modules/@vercel/style-guide/eslint/typescript.js#overrides[0] » /home/runner/_work/my-project/my-project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_typesc_afnunjon52la4n3hbpfaqz2ism/node_modules/@vercel/style-guide/eslint/rules/tsdoc.js")
- /home/runner/_work/my-project/my-project/node_modules/.pnpm/[email protected]/node_modules/eslint-plugin-tsdoc/lib/index.js (loaded in "../../.eslintrc.js » eslint-config-custom/library#overrides[0] » /home/runner/_work/my-project/my-project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_typesc_afnunjon52la4n3hbpfaqz2ism/node_modules/@vercel/style-guide/eslint/typescript.js#overrides[0] » /home/runner/_work/my-project/my-project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_typesc_afnunjon52la4n3hbpfaqz2ism/node_modules/@vercel/style-guide/eslint/rules/tsdoc.js")

May we get a new version of @vercel/style-guide published with an update dependency on eslint-plugin-tsdoc? It could be ^0.3.0 but if a 0.4.x gets released it will be the same problem. I'm not sure if eslint-plugin-tsdoc intends to treat each minor version as a major version for now or not; if they don't plan breaking changes than 0.x could be used instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant