blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Enable clang-format in samples

Open alschmiedt opened this issue 4 years ago • 0 comments

Category Plugins and examples

Component All of them

Is your feature request related to a problem? Please describe. Manually formatting code is a large pain.

Describe the solution you'd like Using clang format to auto format all of our files similar to what we are doing in core. I believe this would involve:

  • [ ] Running clang-format on all of our plugins and examples.
  • [ ] Adding npm run format to dev-scripts.
  • [ ] Adding npm run format in dev-create.
  • [ ] Adding a github action to check that code has been formatted properly. Reference in core.

Describe alternatives you've considered

Additional context

alschmiedt avatar Dec 21 '21 00:12 alschmiedt