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

@blitz/lines-around-comment conflicts with prettier/prettier #28

Open
AriPerkkio opened this issue Sep 26, 2024 · 0 comments
Open

@blitz/lines-around-comment conflicts with prettier/prettier #28

AriPerkkio opened this issue Sep 26, 2024 · 0 comments

Comments

@AriPerkkio
Copy link
Member

Reproduction

https://stackblitz.com/~/edit/stackblitz-starters-afmjq7?file=types.d.ts&file=types-with-line-break.d.ts

1 | declare namespace something {
2 |   /** JSDoc describing this */
      ^ 2:3  error  Expected line before comment  @blitz/lines-around-comment
3 |   export const entry: 1;
4 | }
1 | declare namespace something2 {
2 |
    ^  2:1  error  Delete `⏎`  prettier/prettier
3 |   /** JSDoc describing this */
4 |   export const entry2: 1;
5 | }
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