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

Add ES5 validation #741

Merged
merged 3 commits into from
Aug 19, 2024
Merged

Add ES5 validation #741

merged 3 commits into from
Aug 19, 2024

Conversation

zeux
Copy link
Owner

@zeux zeux commented Aug 19, 2024

This makes sure that the main library code is ES5 compatible and ES6 features aren't used accidentally.

As part of this, Prettier settings were changed to format code with ES5 compliant trailing commas; this was a regression that didn't make it into any versioned builds.

This regressed with the prettier update; it defaults to placing trailing
commas in function calls which is a ES6 feature.
Short-hand key/value is a ES6 feature
This makes sure that the main library code is ES5 compatible and ES6
features aren't used accidentally.
@zeux zeux merged commit c913d04 into master Aug 19, 2024
12 checks passed
@zeux zeux deleted the es5 branch August 19, 2024 17:10
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.

1 participant