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

constructor empty brace confict with eslint #696

Closed
edwinhuish opened this issue Dec 5, 2024 · 1 comment
Closed

constructor empty brace confict with eslint #696

edwinhuish opened this issue Dec 5, 2024 · 1 comment
Labels

Comments

@edwinhuish
Copy link

What version of eslint are you using?
9.16.0

What version of prettier are you using?
none

What version of eslint-plugin-prettier are you using?
5.2.1

Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files)
.prettierrc
eslint.config.mjs

What source code are you linting?

export abstract class Handler {
  constructor(public readonly langId: string) { }
}

What did you expect to happen?
ignore brace space error

What actually happened?
image

@ntnyq
Copy link
Contributor

ntnyq commented Jan 13, 2025

Prettier is opinionated.
It seems there is not an option for that.

@JounQin JounQin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants