Skip to content

Commit

Permalink
WebUI: remove single line if rule from web style guide
Browse files Browse the repository at this point in the history
TBR=michaelpg@chromium.org
BUG=916782

Change-Id: I22b4d6cefaf75d1e0331eaddb201643d5bb0d67c
Reviewed-on: https://chromium-review.googlesource.com/c/1394193
Reviewed-by: Dan Beam <dbeam@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619583}
  • Loading branch information
danbeam authored and Commit Bot committed Jan 3, 2019
1 parent 525de46 commit d611fb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions styleguide/web/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,6 @@ Guide](https://google.github.io/styleguide/jsguide.html).
* Use single-quotes instead of double-quotes for all strings.
* `clang-format` now handles this automatically.

* Omit curly braces for single-line if statements.

* Use ES5 getters and setters
* Use `@type` (instead of `@return` or `@param`) for JSDoc annotations on
getters/setters
Expand Down

0 comments on commit d611fb5

Please sign in to comment.