Skip to content

Commit 63a343d

Browse files
committed
Update Prettier
1 parent 199d633 commit 63a343d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

bin/cli.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ function processString(string) {
6868
)
6969
) {
7070
return {
71-
stderr: `Expected a \`{"rules: {...}"}\` JSON object, but got:\n${string}`,
71+
stderr: `Expected a \`{"rules: {...}"}\` JSON object, but got:\n${
72+
string
73+
}`,
7274
code: 1
7375
};
7476
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-plugin-prettier": "^2.3.1",
4343
"eslint-plugin-react": "^7.4.0",
4444
"eslint-plugin-standard": "^3.0.1",
45-
"prettier": "^1.7.4",
45+
"prettier": "^1.8.2",
4646
"rimraf": "^2.6.2"
4747
},
4848
"peerDependencies": {

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2540,9 +2540,9 @@ preserve@^0.2.0:
25402540
version "0.2.0"
25412541
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
25422542

2543-
prettier@^1.7.4:
2544-
version "1.7.4"
2545-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.7.4.tgz#5e8624ae9363c80f95ec644584ecdf55d74f93fa"
2543+
prettier@^1.8.2:
2544+
version "1.8.2"
2545+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.8.2.tgz#bff83e7fd573933c607875e5ba3abbdffb96aeb8"
25462546

25472547
pretty-ms@^0.2.1:
25482548
version "0.2.2"

0 commit comments

Comments
 (0)