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

refactor: prefer let/const over var #89

Merged
merged 5 commits into from
Dec 29, 2023
Merged

refactor: prefer let/const over var #89

merged 5 commits into from
Dec 29, 2023

Conversation

uncenter
Copy link
Contributor

@uncenter uncenter commented Dec 28, 2023

This PR switches to using the let and const keywords instead of var in the source code, as is the standard nowadays.

Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d749c00) 100.00% compared to head (741ca19) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #89   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          290       288    -2     
=========================================
- Hits           290       288    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uncenter

This comment was marked as resolved.

@jaredwray jaredwray merged commit b3c27ee into jaredwray:master Dec 29, 2023
5 checks passed
@jaredwray
Copy link
Owner

@uncenter - thanks for the update. We will be working to make this more modern code base in the new year and might move it to typescript.

@uncenter uncenter deleted the dont-use-var branch December 29, 2023 17:34
@uncenter
Copy link
Contributor Author

TypeScript sounds awesome! I've had a great experience with https://github.com/unjs/unbuild and there is also https://github.com/egoist/tsup.

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.

2 participants