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
Conversation
examples/external-data/src/mock-external-data-service/service.ts
Outdated
Show resolved
Hide resolved
⯆ @fluid-example/bundle-size-tests: -10 Bytes
Baseline commit: 746ebdb |
| @@ -3,4 +3,5 @@ | |||
| * Licensed under the MIT License. | |||
| */ | |||
|
|
|||
| // eslint-disable-next-line unicorn/no-empty-file | |||
| describe("Bubblebench", () => {}); | |||
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.
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. | |||
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.
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.
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.
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.
|
/azp run Build - client packages |
|
Azure Pipelines successfully started running 1 pipeline(s). |
While working on #17480, I noticed that some packages had unneeded deps on eslint configs and plugins. I removed those in this PR.
Updates the client release group to use the most recent release of the shared eslint config.