-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: replace eslint and prettier with biomejs #32
base: main
Are you sure you want to change the base?
Conversation
7e92b27
to
b7a96df
Compare
Performance Report✔️ no performance regression detected Full benchmark results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great! Just a couple small details that I noticed
@@ -13,7 +13,7 @@ export async function getCurrentCommitInfo(): Promise<{ | |||
const branchStr = await shell("git branch --show-current"); | |||
const timestamp = parseInt(timestampStr, 10); | |||
|
|||
if (!timestamp || isNaN(timestamp)) { | |||
if (!timestamp || Number.isNaN(timestamp)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthewkeil This usage is different than the Number
namespace rule. This is safety fix as the behavior of global isNaN
and Number.isNaN
is different. Global instance coerce the input to number before checking it, later one check what the given input is.
Motivation
Use the advance and consistent tooling across the repos.
Description
Steps to test or reproduce