commit | d8c23debbe84248ec17feaa8bee9449d7f77415a | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Fri Mar 06 11:01:05 2020 |
committer | Commit Bot <[email protected]> | Fri Mar 06 12:06:33 2020 |
tree | 45116cd827e63f5f280672292730bc976be2bee8 | |
parent | cae7b53aee27908c3ba166d96b72305ae73123e9 [diff] [blame] |
Fix clang-format configuration The configuration was only including files that were in a commit diff. This causes issues where we generate sources during the PRESUBMIT (which are not in the git diff at that point in time) and don't format. At the same time, we remove the complicated logic to reuse the `.eslintignore` for clang-format purposes and use the correct `.clang-format` "DisableFormat" options to disable formatting in various directories. Roll CodeMirror: ignore Change-Id: I21b95a6e09c5d6bf036bf1aace103d6c26823ecc Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2091445 Reviewed-by: Changhao Han <[email protected]> Commit-Queue: Tim van der Lippe <[email protected]>
diff --git a/front_end/diff/.clang-format b/front_end/diff/.clang-format new file mode 100644 index 0000000..37f3d57 --- /dev/null +++ b/front_end/diff/.clang-format
@@ -0,0 +1 @@ +DisableFormat: true \ No newline at end of file