Skip to content

Commit 896783d

Browse files
committed
Link newer ESLint rule (namely comma-dangle)
The "no-comma-dangle" rule was deprecated in favor or "comma-dangle" in ESLint v1.0. See http://eslint.org/docs/rules/no-comma-dangle.html, http://eslint.org/docs/rules/comma-dangle, and line 4 of packages/eslint-config-airbnb/rules/errors.js.
1 parent ceb4195 commit 896783d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ Other Style Guides
17741774

17751775
- [19.2](#19.2) <a name='19.2'></a> Additional trailing comma: **Yup.**
17761776

1777-
eslint rules: [`no-comma-dangle`](http://eslint.org/docs/rules/no-comma-dangle.html).
1777+
eslint rules: [`comma-dangle`](http://eslint.org/docs/rules/comma-dangle.html).
17781778

17791779
> 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.
17801780

0 commit comments

Comments
 (0)