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

build: Upgrade to latest eslint config #17480

Merged
merged 26 commits into from Oct 6, 2023

Conversation

tylerbutler
Copy link
Member

Updates the client release group to use the most recent release of the shared eslint config.

@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: propertydds area: dds: sharedstring area: dds: tree 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: tests Tests to add, test infrastructure improvements, etc dependencies Pull requests that update a dependency file base: next PRs targeted against next branch labels Sep 26, 2023
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented Sep 26, 2023

@fluid-example/bundle-size-tests: -10 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 445.13 KB 445.13 KB -3 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 238.5 KB 238.5 KB -1 Bytes
loader.js 148.02 KB 148.02 KB No change
map.js 48.08 KB 48.08 KB No change
matrix.js 141.86 KB 141.86 KB -2 Bytes
odspDriver.js 90.1 KB 90.1 KB -1 Bytes
odspPrefetchSnapshot.js 41.77 KB 41.77 KB -1 Bytes
sharedString.js 162.51 KB 162.5 KB -2 Bytes
sharedTree2.js 259.09 KB 259.09 KB No change
Total Size 1.68 MB 1.68 MB -10 Bytes

Baseline commit: 746ebdb

Generated by 🚫 dangerJS against 6ae2f18

@tylerbutler tylerbutler marked this pull request as ready for review September 26, 2023 16:19
@@ -3,4 +3,5 @@
* Licensed under the MIT License.
*/

// eslint-disable-next-line unicorn/no-empty-file
describe("Bubblebench", () => {});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just delete this file if it has no tests? If these are the only tests in the package, and strictly exist to make the mocha script pass, we should add a comment to that effect.

@@ -1622,6 +1623,7 @@ export class MergeTree {
}

if (
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing -- ?? is not logically equivalent when the first clause returns false.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I almost wonder if we should disable this rule, given how frequently it makes invalid recommendations. I've been burned by its auto-fix behavior in particular before.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Letting the linter fix things should be almost a no-brainer, but this particular "fix" requires more careful consideration on a case-by-case basis.

This reverts commit ef72165.
@tylerbutler tylerbutler requested a review from a team as a code owner September 26, 2023 21:15
@tylerbutler tylerbutler changed the base branch from next to main September 28, 2023 00:25
@tylerbutler
Copy link
Member Author

/azp run Build - client packages

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions github-actions bot added base: main PRs targeted against main branch and removed base: next PRs targeted against next branch labels Sep 29, 2023
@tylerbutler tylerbutler merged commit 0d581c0 into microsoft:main Oct 6, 2023
28 checks passed
@tylerbutler tylerbutler deleted the eslint-config-bump branch October 6, 2023 17:50
tylerbutler added a commit that referenced this pull request Oct 13, 2023
While working on #17480, I noticed that some packages had unneeded deps
on eslint configs and plugins. I removed those in this PR.
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: tree area: dds Issues related to distributed data structures 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: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants