Skip to content

Conversation

@ezzak
Copy link
Contributor

@ezzak ezzak commented Sep 4, 2025

image

Upgrade eslint version to match prior typescript bump

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2025
const params = new URL(document.location.href).searchParams;
setUpBackgroundMessageHandler(params.get('tab_id'));
const state = params.get('state') as State;
state && updateDisplay(state);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we removing the state check here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Redundant because of the line above, eslint was complaining.

try {
JSON.parse(nodeTextContent);
} catch (parseError) {
} catch {
Copy link
Contributor

Choose a reason for hiding this comment

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

Neat, didn't realize they made exceptionVar optional.

@rich-hansen rich-hansen merged commit 51dc772 into facebookincubator:main Sep 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants