R2NorthstarTools / R2NorthstarTools/FlightCore

Investigate auto-formating frontend code

Open
#721 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
94
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Right now we enforce styling of the backend code via rustfmt.

In order to get front-end styling a bit more consistent we should do the same for .vue and .ts files.

Thing is finding the right tool to do so. I tried just running auto-format in vscode with the Vue extension and it remove manual alignment for some elements which actually made the code harder to read which kinda defeats the point of automatic formatting ^^

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how rustfmt is currently enforced, then investigate formatter options for the mentioned .vue and .ts files. Compare their handling of manual alignment and readability, and consider how each could fit the project's existing styling checks. Done means a suitable tool is selected and its proposed enforcement approach is documented or configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, typescript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.