prettier is installed globally, there's no need to provide the various
npm-type dependencies in the project. Various editors may provide plugins that can use this configuration without having to install
> npx prettier --write .
The C source and header files have been formatted with
clang-format. There's no easy way to manually execute the formatter on all of the C files at the same time. The clang format is based off of the 'Google' style with ajdustments to make the changes not as disruptive. See .clang-format file for the formatting rules. Various editors should be able to automatically format the source on save.
The only files formatted are the non-third party library files.
> clang-format -i -style=file <filename>
Manually formatted files:
For help with the rules, see Clang Format Configurator for an interactive tool and ClangFormat for the rules reference.