Skip to content

Commit

Permalink
Move trailingComma: "es5" from .eslintrc.js to .prettierrc
Browse files Browse the repository at this point in the history
This reverts commit 0b22329.

This addresses the following:
* #3492 (comment)
* #3469 (comment)
  • Loading branch information
josephfrazier committed Dec 14, 2017
1 parent a2e9dbd commit ed0b21f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
"one-var": ["error", "never"],
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prettier/prettier": ["error", { trailingComma: "es5" }],
"prettier/prettier": "error",
"react/no-deprecated": "off",
strict: "error",
"symbol-description": "error",
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
trailingComma: "es5",
}

0 comments on commit ed0b21f

Please sign in to comment.