DescriptionAdd web_dev_style presubmit to ensure <if>/<include> live in comments
Before:
<include src="...">
<if expr="chromeos">
chromeOsOnlyCode();
</if>
After:
// <includes src="...">
// <if expr="chromeos">
chromeOsOnlyCode();
// </if>
This is to unblock running clang-format on JavaScript and allow other
tools to run on more expected input inside of .js files (i.e. closure
compiler).
BUG=678778
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2624503002
Cr-Commit-Position: refs/heads/master@{#443069}
Committed: https://chromium.googlesource.com/chromium/src/+/1d4982588b9a0dc7a6685e850235dbe394eb7731
Patch Set 1 : nit #Patch Set 2 : . #Patch Set 3 : move to JS checker #Patch Set 4 : '<iframe' #
Messages
Total messages: 26 (18 generated)
|