JS: use clang-format-launcher to clang-format your project with ease

  1. Aglob pattern is not enough to filter the files in your project. For example, it has a lot of generated files need to be excluded.
  2. The formatting is very slow.
clang-format-launcher config in package.json
clang-format-launcher scripts
dependencies

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Canhua Li

Canhua Li

Senior Software Engineer — Microsoft