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

Enable @typescript-eslint/member-delimiter-style and @typescript-eslint/semi #10172

Merged
merged 17 commits into from
May 6, 2022

Conversation

tylerbutler
Copy link
Member

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.

@github-actions github-actions bot added area: dds Issues related to distributed data structures area: definitions area: dev experience Improving the experience of devs building on top of fluid area: driver Driver related issues area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: runtime Runtime related issues area: server Server related issues (routerlicious) base: main PRs targeted against main branch labels May 5, 2022
@github-actions github-actions bot added area: dds: propertydds area: dds: sharedstring area: examples Changes that focus on our examples area: odsp-driver area: tests Tests to add, test infrastructure improvements, etc labels May 5, 2022
},
"singleline": {
"delimiter": "semi",
"requireLast": true
Copy link
Member Author

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?

Copy link
Contributor

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.

@tylerbutler tylerbutler marked this pull request as ready for review May 6, 2022 17:55
@tylerbutler tylerbutler requested review from a team as code owners May 6, 2022 17:55
},
"singleline": {
"delimiter": "semi",
"requireLast": true
Copy link
Contributor

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.

@tylerbutler tylerbutler merged commit 0b67718 into microsoft:main May 6, 2022
@tylerbutler tylerbutler deleted the lint/formatting branch May 6, 2022 20:26
sonalivdeshpande pushed a commit to sonalivdeshpande/FluidFramework that referenced this pull request May 17, 2022
sonalivdeshpande pushed a commit to sonalivdeshpande/FluidFramework that referenced this pull request May 17, 2022
sonalivdeshpande pushed a commit to sonalivdeshpande/FluidFramework that referenced this pull request May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dds: propertydds area: dds: sharedstring area: dds Issues related to distributed data structures area: definitions area: dev experience Improving the experience of devs building on top of fluid area: driver Driver related issues area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: odsp-driver area: runtime Runtime related issues area: server Server related issues (routerlicious) area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants