Skip to content

Conversation

greghuels
Copy link
Contributor

@greghuels greghuels commented Dec 4, 2024

Lint checks that prevent Node.js globals from leaking to the JavaScript SDK. The lint job should pass once Eppo-exp/js-client-sdk#115 is merged.

},
},
],
'no-restricted-globals': [
Copy link
Contributor Author

@greghuels greghuels Dec 4, 2024

Choose a reason for hiding this comment

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

This is the rule that was added. Other rules were just sorted alphabetically.

@greghuels greghuels requested a review from aarsilv December 4, 2024 12:18
@greghuels greghuels force-pushed the greg/native-node branch 2 times, most recently from 739c65f to cc41463 Compare December 4, 2024 12:56
Copy link
Contributor

@aarsilv aarsilv left a comment

Choose a reason for hiding this comment

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

Great thinking!

@aarsilv aarsilv assigned greghuels and unassigned aarsilv Dec 4, 2024
message: "'clearImmediate' unavailable in JavaScript.",
},
{
name: 'process',
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 although looks like this is showing up in a lint-test-sdk error

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can write extension specific overrides. One sec; I'll update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated!

Copy link
Contributor

@felipecsl felipecsl left a comment

Choose a reason for hiding this comment

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

nice!

@greghuels greghuels merged commit 9189f29 into main Dec 4, 2024
8 checks passed
@greghuels greghuels deleted the greg/native-node branch December 4, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants