From 6944be009cb81de5bf7d8b525267235382452ca3 Mon Sep 17 00:00:00 2001 From: Heejong Ahn Date: Sun, 28 Aug 2016 23:09:11 +0900 Subject: [PATCH] Fix a typo in commas section Example code block following blockquote(line 2223) was broken as a line break was missing. So I just added single blank line. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 86cd3cc6..c7faf50d 100644 --- a/README.md +++ b/README.md @@ -2221,6 +2221,7 @@ Other Style Guides - [19.2](#commas--dangling) Additional trailing comma: **Yup.** eslint: [`comma-dangle`](http://eslint.org/docs/rules/comma-dangle.html) jscs: [`requireTrailingComma`](http://jscs.info/rule/requireTrailingComma) > Why? This leads to cleaner git diffs. Also, transpilers like Babel will remove the additional trailing comma in the transpiled code which means you don't have to worry about the [trailing comma problem](es5/README.md#commas) in legacy browsers. + ```javascript // bad - git diff without trailing comma const hero = {