From bd5505b7273cd2c80815c880b3c7709c02ec73c0 Mon Sep 17 00:00:00 2001 From: Harrison Shoff Date: Thu, 25 Aug 2016 21:33:51 -0700 Subject: [PATCH] [commas] fix traling comma link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1a0ab4a..572efb25 100644 --- a/README.md +++ b/README.md @@ -2255,7 +2255,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. + > 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](https://github.com/airbnb/javascript/blob/es5-deprecated/es5/README.md#commas) in legacy browsers. ```javascript // bad - git diff without trailing comma