From 514fcb835a065fd62ced8672e2318eb82c11a605 Mon Sep 17 00:00:00 2001 From: Ika Date: Sun, 29 Jul 2018 15:44:21 +0800 Subject: [PATCH] chore: bump Prettier dependency to 1.14.0 --- docs/configuration.md | 6 +++--- docs/precommit.md | 8 ++++---- package.json | 2 +- website/pages/en/users/index.js | 5 ++++- yarn.lock | 6 +++--- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 05703ae3d..38afd0f31 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -67,9 +67,9 @@ YAML: ```yaml semi: false overrides: -- files: "*.test.js" - options: - semi: true + - files: "*.test.js" + options: + semi: true ``` `files` is required for each override, and may be a string or array of strings. `excludeFiles` may be optionally provided to exclude files for a given rule, and may also be a string or array of strings. diff --git a/docs/precommit.md b/docs/precommit.md index df8a4b65c..5f14e7bb2 100644 --- a/docs/precommit.md +++ b/docs/precommit.md @@ -65,10 +65,10 @@ Find more info from [here](https://github.com/azz/pretty-quick). Copy the following config into your `.pre-commit-config.yaml` file: ```yaml - - repo: https://github.com/prettier/prettier - rev: '' # Use the sha or tag you want to point at - hooks: - - id: prettier +- repo: https://github.com/prettier/prettier + rev: "" # Use the sha or tag you want to point at + hooks: + - id: prettier ``` Find more info from [here](https://pre-commit.com). diff --git a/package.json b/package.json index 7dafbb2ce..4178adfb3 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "jest-junit": "5.0.0", "jest-watch-typeahead": "0.1.0", "mkdirp": "0.5.1", - "prettier": "1.13.7", + "prettier": "1.14.0", "prettylint": "1.0.0", "rimraf": "2.6.2", "rollup": "0.47.6", diff --git a/website/pages/en/users/index.js b/website/pages/en/users/index.js index b0212401d..85d857949 100644 --- a/website/pages/en/users/index.js +++ b/website/pages/en/users/index.js @@ -23,7 +23,10 @@ class Users extends React.Component {
-

Who{"'"}s Using This?

+

+ Who + {"'"}s Using This? +

A few of the{" "} diff --git a/yarn.lock b/yarn.lock index 4da894405..ffd070106 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4499,9 +4499,9 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@1.13.7: - version "1.13.7" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281" +prettier@1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.0.tgz#847c235522035fd988100f1f43cf20a7d24f9372" pretty-format@^23.0.1: version "23.0.1"