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

feat: add linter & switch formatter to biome #976

Merged
merged 7 commits into from
Apr 8, 2024

Conversation

afonsojramos
Copy link
Member

@afonsojramos afonsojramos commented Apr 6, 2024

At the moment we don't even have a linter. And however the app has stayed quite well in terms of code quality, it might be a good opportunity to add one.

https://biomejs.dev/ tries to be a prettier (a more performant alternative with almost 100% of prettier rules already supported) and eslint replacement (without hundreds of plugins).

Further fixes other than the automatic ones will be done in a different PR.

Following PRs: #977 #978

@afonsojramos afonsojramos marked this pull request as ready for review April 6, 2024 17:22
Copy link
Member

@setchy setchy left a comment

Choose a reason for hiding this comment

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

Should we stick with single quotes to limit the amount of changes?

biome.json Show resolved Hide resolved
@afonsojramos afonsojramos requested a review from setchy April 8, 2024 08:26
@afonsojramos
Copy link
Member Author

afonsojramos commented Apr 8, 2024

Should we stick with single quotes to limit the amount of changes?

Single for normal JS, double for JSX, but yeah 👌

src/__mocks__/mockedData.ts Show resolved Hide resolved
package.json Show resolved Hide resolved
@setchy setchy added this to the Release 5.3.0 milestone Apr 8, 2024
@afonsojramos afonsojramos requested a review from setchy April 8, 2024 10:19
Copy link
Member

@setchy setchy left a comment

Choose a reason for hiding this comment

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

Great improvement @afonsojramos - appreciate it

@afonsojramos afonsojramos merged commit f91e443 into main Apr 8, 2024
5 of 6 checks passed
@afonsojramos afonsojramos deleted the feat/biome-linter+formatter branch April 8, 2024 10:44
@setchy setchy added the enhancement New feature or enhancement to existing functionality label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants