Skip to content

Commit

Permalink
fix: Remove trailing commas from prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Jan 15, 2017
1 parent 32fb5be commit 6d80cd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function getAll(options) {
Object
.keys(value)
.reduce(
(lastValue, item) => Object.assign({}, lastValue, { [item]: JSON.parse(value[item]) }),
),
(lastValue, item) => Object.assign({}, lastValue, { [item]: JSON.parse(value[item]) })
)
);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "jest",
"lint": "prettier --write --flow-parser --single-quote --trailing-comma --print-width 100 **.js",
"lint": "prettier --write --flow-parser --single-quote --print-width 100 **.js",
"release": "standard-version"
},
"repository": {
Expand Down

0 comments on commit 6d80cd6

Please sign in to comment.