-
Notifications
You must be signed in to change notification settings - Fork 2
chore: replace linter #202
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
Conversation
🦋 Changeset detectedLatest commit: 234c927 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
At work, we have been stuck on Biome for the last year and this week finally migrated off it back to Prettier + Eslint. Main reasons were:
The PR itself looks perfectly correct (though I'd encourage configuring the trailing comma settings to reduce the diff), I just have had a bad experience with Biome and if the hard work of setting up the repo for Eslint has already been done, I don't see much to gain from swapping the linter. |
It was lacking formatter and sort organizaer (plus). As mentioned in the other PR, biome found more lint issues and fixed them, where the previous eslint setup didnt even find them with a bunch of packages. So, so far, it's a upgrade. |
Here I stopped using prettier, even in vscode, too clunky. Formatter in biome are just better and faster. |
@dougg0k it will likely hang around for a bit as I'd like to circle this suggestion with other stakeholders of the project too and spend some time with the branch myself. I'm mostly offline for about another week of vacationing 🏝️ and it likely won't merge before I get back, if at all. |
Project lacks a formatter currently, ideally this would be merged, if someone has better impl, they could change later. It's just a tool, this would help me not have to save without format or sometimes have to format with spaces myself. |
I agree we should add a formatter and I opened this PR ~ 2 months ago that I'd like for you to review: #115. It was stalled because we had many open PRs and merging it would cause a lot of conflicts. We still have a bunch, but it might be a good time to revive it. I surfaced this PR with the rest of the project stakeholders and we're happy with an eslint + prettier setup for now. I agree we do need to tune the rules and plugins further and would love suggestions on that - ideally we'd want to stick pretty close to recommended settings for now. |
Maybe merge that then. |
Replaced eslint with biomejs.
Eslint only has linting where biome has lint, formatter and sort organizer. A much more complete tool.
Previous discussion here https://github.com/callstackincubator/react-native-node-api/pull/200/files#r2229485568
A bunch of linting and formatting fixes.