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

Fix random eslint errors #5289

Merged
merged 16 commits into from
Oct 10, 2024
Merged

Fix random eslint errors #5289

merged 16 commits into from
Oct 10, 2024

Conversation

carocao-msft
Copy link
Contributor

@carocao-msft carocao-msft commented Oct 9, 2024

What

Fix random eslint errors

Why

prettier/eslint-plugin-prettier#671

Fixes: #5286

How Tested

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

dmceachernmsft and others added 4 commits October 9, 2024 20:16
* initial docs

* add docs

* links

* FAQ

* add lazy load snippet

* comment nit

* fix nits

* update for new API
* Remove CPX from lockfiles

* Remove old braces versions from lockfile

* Update auto-installer to cpy-cli v5

* Update eslint-plugin-mdx

* Update vulnerable deps
* refactor button to use callout

* update component ref and styles

* changelog

* remove console

* fix test

* fix spacing
@carocao-msft carocao-msft changed the base branch from main to users/merlinbot/1es-pt-auto-baselining-pr October 9, 2024 20:18
@carocao-msft carocao-msft changed the base branch from users/merlinbot/1es-pt-auto-baselining-pr to main October 9, 2024 20:18
Copy link
Contributor

github-actions bot commented Oct 9, 2024

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 53978 / 88295
61.13%
53978 / 88295
61.13%
1096 / 2484
44.12%
3185 / 5284
60.27%
Current 53990 / 88295
61.14%
53990 / 88295
61.14%
1096 / 2484
44.12%
3194 / 5281
60.48%
Diff 12 / 0
0.01%
12 / 0
0.01%
0 / 0
0%
9 / -3
0.21%

common/config/rush/pnpm-lock.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Copy link
Contributor

github-actions bot commented Oct 9, 2024

@emlynmac
Copy link
Member

emlynmac commented Oct 9, 2024

If we're now overriding to use synckit at version 0.8.8, do we need an explicit dev dependency for it?

Copy link
Contributor

github-actions bot commented Oct 9, 2024

@carocao-msft carocao-msft marked this pull request as draft October 9, 2024 22:54
@carocao-msft carocao-msft marked this pull request as ready for review October 9, 2024 23:09
Copy link
Contributor

github-actions bot commented Oct 9, 2024

"typescript": "5.4.5",
"synckit": "0.8.8"
},
"overrides": {
Copy link
Member

@JamesBurnside JamesBurnside Oct 10, 2024

Choose a reason for hiding this comment

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

(Suggestion, non-blocking) Could this instead be in the common-versions files? Just that it would allow the change to be kept to one file and, more importantly, allow a comment why it's been added. (otherwise someone will need to git blame and look up this PR to understand why this is present in the package.json)

},
"beachball": {
"shouldPublish": false
},
"overrides": {
Copy link
Member

Choose a reason for hiding this comment

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

Anything in this package.json gets published to our npm package, can you add to here:

a delete of this overrides section

Copy link
Member

@emlynmac emlynmac left a comment

Choose a reason for hiding this comment

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

The changes look good now; no cpx in the lock files and we have the synckit 0.8.8 dep

Copy link
Contributor

@carocao-msft carocao-msft enabled auto-merge (squash) October 10, 2024 20:50
Copy link
Contributor

@carocao-msft carocao-msft merged commit e863b3b into main Oct 10, 2024
39 checks passed
@carocao-msft carocao-msft deleted the carocao/lint branch October 10, 2024 21:02
carocao-msft added a commit that referenced this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
does not need changelog Changes that does not affect the published package in any way do not need changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Main branch CI Failed
5 participants