Skip to content

chore: Add Biome as a formatter and linter #104

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

Merged
merged 2 commits into from
May 3, 2024
Merged

chore: Add Biome as a formatter and linter #104

merged 2 commits into from
May 3, 2024

Conversation

7nohe
Copy link
Owner

@7nohe 7nohe commented May 3, 2024

close #81

  • Use Biome to lint and format code
  • Run Biome on CI (only on ubuntu-latest)
  • Run Biome at pre-commit

@7nohe 7nohe requested a review from seriouslag May 3, 2024 06:15
@7nohe 7nohe self-assigned this May 3, 2024
Copy link

github-actions bot commented May 3, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 99.07% (🎯 95%) 1812 / 1829
🟢 Statements 99.07% (🎯 95%) 1812 / 1829
🟢 Functions 100% (🎯 95%) 40 / 40
🟢 Branches 94.51% (🎯 85%) 155 / 164
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/common.mts 100% 100% 100% 100%
src/createExports.mts 100% 100% 100% 100%
src/createImports.mts 96.15% 71.42% 100% 96.15% 22-25, 29
src/createPrefetch.mts 100% 100% 100% 100%
src/createSource.mts 100% 100% 100% 100%
src/createUseMutation.mts 99.6% 93.33% 100% 99.6% 83
src/createUseQuery.mts 99.81% 97.43% 100% 99.81% 539
src/generate.mts 100% 100% 100% 100%
src/print.mts 100% 100% 100% 100%
src/service.mts 90.82% 76.19% 100% 90.82% 42-43, 50-51, 57-58, 62-63, 73-74
src/util.mts 100% 100% 100% 100%
Generated in workflow #252

@7nohe 7nohe merged commit d9be9f0 into main May 3, 2024
4 checks passed
@7nohe 7nohe deleted the chore/biome branch May 3, 2024 16:48
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.

Biome as a formatter and linter
2 participants