Skip to content

chore: configure prettier & apply formatting #315

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 1 commit into from
Feb 14, 2025

Conversation

alex-mcgovern
Copy link
Collaborator

Just noticed apparently we've never had a prettier config, which explains why we got a lot of noise in diffs around formatting.

Thir PR adds one, and applies the formatting changes. It re-uses the config in place for Minder, Trusty etc.

@ghost
Copy link

ghost commented Feb 14, 2025

Minder Vulnerability Report ✅

Minder analyzed this PR and found it does not add any new vulnerable dependencies.

Vulnerability scan of 7bf78fe1:

  • 🐞 vulnerable packages: 0
  • 🛠 fixes available for: 0

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 13325211149

Details

  • 360 of 519 (69.36%) changed or added relevant lines in 99 files are covered.
  • 5 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.02%) to 68.625%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/features/dashboard-messages/components/search-field-messages.tsx 2 3 66.67%
src/features/dashboard-messages/components/token-usage-by-providers.tsx 0 1 0.0%
src/features/dashboard-messages/components/token-usage-icon.tsx 0 1 0.0%
src/features/dashboard-messages/hooks/use-messages-filter-search-params.ts 16 17 94.12%
src/features/workspace/hooks/use-mutation-archive-workspace.ts 7 8 87.5%
src/features/workspace/hooks/use-mutation-restore-workspace.ts 4 5 80.0%
src/hooks/use-confirm.tsx 2 3 66.67%
src/lib/format-time.ts 1 2 50.0%
src/lib/react-query-utils.ts 2 3 66.67%
src/routes/route-not-found.tsx 1 2 50.0%
Files with Coverage Reduction New Missed Lines %
src/components/react-query-provider.tsx 1 0.0%
src/features/providers/hooks/use-mutation-create-provider.ts 1 0.0%
src/features/workspace/hooks/use-mutation-restore-workspace.ts 1 54.55%
src/features/workspace/hooks/use-mutation-archive-workspace.ts 2 51.52%
Totals Coverage Status
Change from base Build 13325105088: 0.02%
Covered Lines: 769
Relevant Lines: 1061

💛 - Coveralls

@alex-mcgovern alex-mcgovern merged commit 8b45b6d into main Feb 14, 2025
8 checks passed
@alex-mcgovern alex-mcgovern deleted the chore/configure-prettier branch February 14, 2025 08:39
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.

3 participants