ota-meshi/eslint-plugin-astro

1.1.0 breaks `tsc` with `error TS1005`

Closed this issue · 1 comments

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

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