Skip to content

Conversation

@njerig
Copy link
Contributor

@njerig njerig commented Apr 2, 2025

As part of implementation of coding standards, I'd like to add code formatters to this repo for both embedded and frontend work. Embedded uses Google's .clang-format file, and frontend uses the basic .prettierrc file given by prettier on their site.

#!/bin/sh
set -e

HOOK_SOURCE="telemetry/hooks/pre-commit"
Copy link
Contributor

Choose a reason for hiding this comment

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

I might be blind but I think this is the wrong filepath? The other PR you made had the right one i think

@bvngee
Copy link
Contributor

bvngee commented Apr 4, 2025

all the frontend code is in telemetry-vis-software so the prettier stuff can be removed from this pr altogether :p
Also have you tried BasedOnStyle: Google for the clang-format? Should do the same thing iirc (apologies if im wrong, haven't tested). cole also said earlier today we should have IndentWidth: 4

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