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

use Biome #3327

Merged
merged 3 commits into from
Aug 30, 2023
Merged

use Biome #3327

merged 3 commits into from
Aug 30, 2023

Conversation

godon019
Copy link
Contributor

@godon019 godon019 commented Aug 30, 2023

use Biome instead of Rome

Comment on lines +153 to 156
},
"organizeImports": {
"enabled": false
}
Copy link
Contributor Author

@godon019 godon019 Aug 30, 2023

Choose a reason for hiding this comment

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

Biome sorts imports on npm run check and it conflicts with prettier so turned it off. https://biomejs.dev/analyzer/#imports-sorting

should we use Biome to sort import?

Copy link
Contributor

Choose a reason for hiding this comment

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

May be we can use Biome. It will be faster for sure. Let's try in a separate PR

@@ -42,7 +42,6 @@
},
"complexity": {
"noExtraBooleanCast": "error",
"noExtraSemicolon": "error",
Copy link
Contributor Author

@godon019 godon019 Aug 30, 2023

Choose a reason for hiding this comment

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

this emits error. Biome doesn't seem to have it.

and the rule seems to be removed from Rome as well
we can see that there is no page when we click the link to lint/complexity/noExtraSemicolon
from https://rome.tools/blog/2023/05/10/rome12_1/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed from Rome rome/tools#4576

@godon019 godon019 marked this pull request as ready for review August 30, 2023 00:43
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #3327 (f9a2100) into main (9fb4dc4) will decrease coverage by 7.19%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3327      +/-   ##
==========================================
- Coverage   90.49%   83.30%   -7.19%     
==========================================
  Files          47       47              
  Lines        4827     4827              
  Branches      788      738      -50     
==========================================
- Hits         4368     4021     -347     
- Misses        459      806     +347     

see 33 files with indirect coverage changes

Comment on lines +153 to 156
},
"organizeImports": {
"enabled": false
}
Copy link
Contributor

Choose a reason for hiding this comment

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

May be we can use Biome. It will be faster for sure. Let's try in a separate PR

@amanmahajan7 amanmahajan7 merged commit f38a875 into adazzle:main Aug 30, 2023
@godon019 godon019 self-assigned this Oct 9, 2023
adityatoshniwal pushed a commit to pgadmin-org/react-data-grid that referenced this pull request Jul 31, 2024
* setup biome

* use biome.json

* turn off import sorting as it conflicts with prettier

---------

Co-authored-by: Gordon Ko <gko@freewheel.com>
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