[PATCH] clang-format: [JS] recognize .ts and .json in git-clang-format.

Martin Probst martinprobst at google.com
Fri Jun 19 08:10:07 PDT 2015


You can run clang-format over JSON with -assume-filename=a.js, the result is ok-ish. But ack, people also might not want to be fancy in their JSON formatting and prefer a more regular +2 indent style.


http://reviews.llvm.org/D10543

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list