PolymerElements / iron-overlay-behavior

Makes an element an overlay with an optional backdrop
41 stars 71 forks source link

Format #277

Closed e111077 closed 6 years ago

e111077 commented 6 years ago

(valdrin: copied from https://github.com/PolymerElements/iron-form-element-behavior/pull/42)

Runs the experimental autoformatter webmat which runs clang-format on js files and makes it so that it can run on HTML files. Please look through this PR with ?w=1 in the diff to make sure that no logic was changed.

What has changed? You can run the formatter on the whole project by running npm run format and ex/include files from the formatter, and enter your custom clang-format config in a formatconfig.json see webmat readme for more

e111077 commented 6 years ago

hmm this seems to have found a bug in the formatter

e111077 commented 6 years ago

@valdrinkoshi did you modify test/test-scrollable.html in a weird way? was the character encoding different?

valdrinkoshi commented 6 years ago

oh, probably I did :x

e111077 commented 6 years ago

Sure thing. These were limited runs on our repos to catch some bugs, so sorry the descriptions are not up to snuff.

for package-lock, I thought that was what we were supposed to do.