betaflight-configurator icon indicating copy to clipboard operation
betaflight-configurator copied to clipboard

formatting setup

Open chmelevskij opened this issue 2 years ago • 9 comments

  • add pre-commit hooks to lint stage files
  • prettier setup
  • eslint setup and adjust current settings
  • add recommended extension for prettier-eslint

There is a separate PR https://github.com/betaflight/betaflight-configurator/pull/3197 which actually applies all these changes. Keeping separate for clarity.

chmelevskij avatar Jan 01 '23 07:01 chmelevskij

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.4% 0.4% Duplication

sonarqubecloud[bot] avatar Jan 15 '23 06:01 sonarqubecloud[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

github-actions[bot] avatar Feb 15 '23 04:02 github-actions[bot]

Closing this as there seems to be no traction

chmelevskij avatar Dec 30 '23 08:12 chmelevskij

@chmelevskij sorry we simply did not get time for this.

haslinghuis avatar Dec 31 '23 03:12 haslinghuis

Lol, just saw you re-opened this 🫣

chmelevskij avatar Jan 03 '24 19:01 chmelevskij

Yes this would be helpful :crossed_fingers:

haslinghuis avatar Jan 03 '24 19:01 haslinghuis

But needs a rebase :see_no_evil:

haslinghuis avatar Jan 03 '24 19:01 haslinghuis

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Jan 03 '24 19:01 sonarqubecloud[bot]

This would be great! I would migrate to Prettier formatting.

YarosMallorca avatar Aug 16 '24 10:08 YarosMallorca

Deploy Preview for origin-betaflight-app ready!

Name Link
Latest commit 49cc9ce7a385d39da91d6afbb477bbaf5d84cf77
Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/6771ded50ed74000088e695e
Deploy Preview https://deploy-preview-3196.dev.app.betaflight.com
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Dec 29 '24 22:12 netlify[bot]