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

1.1.0 breaks tsc with error TS1005 #375

Closed
2 tasks done
riywo opened this issue Apr 30, 2024 · 1 comment · Fixed by #374
Closed
2 tasks done

1.1.0 breaks tsc with error TS1005 #375

riywo opened this issue Apr 30, 2024 · 1 comment · Fixed by #374

Comments

@riywo
Copy link

riywo commented Apr 30, 2024

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.

What version of ESLint are you using?

9.1.1

What version of eslint-plugin-astro are you using?

1.1.0

What did you do?

Just upgrade from 1.0.3 to 1.1.0. Then, run tsc --noEmit.

What did you expect to happen?

No error.

What actually happened?

$ npx tsc --noEmit
node_modules/eslint-plugin-astro/lib/index.d.mts:57:42 - error TS1005: ',' expected.

57 declare const meta: typeof __metadeclare const rules: {
                                            ~~~~~


Found 1 error in node_modules/eslint-plugin-astro/lib/index.d.mts:57

Link to Minimal Reproducible Example

https://github.com/opsbr/repro-eslint-plugin-astro

1.0.3: https://github.com/opsbr/repro-eslint-plugin-astro/actions/runs/8891570438
1.1.0: https://github.com/opsbr/repro-eslint-plugin-astro/actions/runs/8891571110

Additional comments

No response

@ota-meshi ota-meshi linked a pull request Apr 30, 2024 that will close this issue
@ota-meshi
Copy link
Owner

Thank you for the report!
Pull Request is already open. Please follow #374.

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

Successfully merging a pull request may close this issue.

2 participants