-
Notifications
You must be signed in to change notification settings - Fork 5
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
build: add biome #109
base: main
Are you sure you want to change the base?
build: add biome #109
Conversation
biome.json
Outdated
"noForEach": "warn" | ||
}, | ||
"style": { | ||
"noNonNullAssertion": "off", |
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.
This one can be turned to warn
once it works better to disable lines or files in biome v2: biomejs/biome#4569.
Until then I'd recommend to keep lines like // eslint-disable-next-line @typescript-eslint/no-explicit-any
in the project to be able to simple find/replace later on.
Let me know what you think? @0xonramp @tokdaniel
biome.json
Outdated
"noUselessElse": "off" | ||
}, | ||
"suspicious": { | ||
"noExplicitAny": "off", |
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.
Same for this rule.
@@ -1,12 +1,45 @@ | |||
{ |
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.
Please check the config and let me know if you'd add/edit anything. @0xonramp @tokdaniel
It should be pretty similar to what we had. The only changes as you can see from the altered files is mostly imports and colon for every end of line e.g. props in an object.
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.
I think it overall looks great, maybe take a look at what files to ignore. Im gonna pull in to the PnL Branch and add the kubb files for example.
Adds biome to handle formatting and linting. Removes eslint and prettier.