-
Notifications
You must be signed in to change notification settings - Fork 531
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
Enable @typescript-eslint/member-delimiter-style and @typescript-eslint/semi #10172
Conversation
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default for single-line is false, which seems inconsistent to me, so I changed it. The tree projects, which currently use prettier, also omit trailing semicolons in single-line cases. What say you all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No strong opinion from me, my default is to prefer minimal change to the repo unless/until someone has a strong opinion.
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No strong opinion from me, my default is to prefer minimal change to the repo unless/until someone has a strong opinion.
This PR enables and pre-emptively applies fixes for ESLint
@typescript-eslint/member-delimiter-style
and@typescript-eslint/semi
rules that will be part of the default lint config (see #9748). This PR represents no functional changes.