From de4c9e478af601a63633f080506f98f997b4e92f Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Wed, 7 Feb 2018 15:58:41 +0000 Subject: [PATCH] Lint JSON, CSS and Markdown files with Prettier (#1612) * Process and Lint CSS, Markdown and JSON files with Prettier * Run `yarn prettier` to re-format Markdown, CSS and JSON files --- .github/ISSUE_TEMPLATE.md | 3 +- Changelog.md | 21 +- License.md | 1 - Readme.md | 88 +++-- book.json | 6 +- docs/Introduction.md | 86 +++-- docs/Readme.md | 110 +++---- docs/general/changelog.md | 21 +- docs/general/faq.md | 10 +- docs/general/plugins.md | 63 ++-- docs/general/resources.md | 14 +- docs/guides/changes.md | 23 +- docs/guides/data-model.md | 27 +- docs/guides/plugins.md | 22 +- docs/guides/rendering.md | 25 +- docs/guides/schemas.md | 28 +- docs/reference/slate-html-serializer/index.md | 15 +- docs/reference/slate-hyperscript/index.md | 17 +- .../reference/slate-plain-serializer/index.md | 5 +- docs/reference/slate-prop-types/index.md | 3 - docs/reference/slate-react/core-plugins.md | 7 +- docs/reference/slate-react/custom-nodes.md | 23 +- docs/reference/slate-react/editor.md | 33 +- docs/reference/slate-react/plugins.md | 23 +- docs/reference/slate-react/utils.md | 14 +- .../slate-schema-violations/index.md | 3 - docs/reference/slate-simulator/index.md | 11 +- docs/reference/slate/block.md | 18 +- docs/reference/slate/change.md | 88 ++++- docs/reference/slate/character.md | 12 +- docs/reference/slate/data.md | 4 +- docs/reference/slate/document.md | 14 +- docs/reference/slate/inline.md | 18 +- docs/reference/slate/mark.md | 14 +- docs/reference/slate/node.md | 42 ++- docs/reference/slate/operation.md | 8 +- docs/reference/slate/range.md | 32 +- docs/reference/slate/schema.md | 30 +- docs/reference/slate/text.md | 12 +- docs/reference/slate/utils.md | 9 +- docs/reference/slate/value.md | 37 ++- docs/walkthroughs/adding-event-handlers.md | 20 +- .../applying-custom-formatting.md | 33 +- .../defining-custom-block-nodes.md | 56 ++-- docs/walkthroughs/installing-slate.md | 47 ++- .../saving-and-loading-html-content.md | 123 +++---- docs/walkthroughs/saving-to-a-database.md | 173 +++++----- docs/walkthroughs/using-plugins.md | 49 ++- docs/walkthroughs/using-the-bundled-source.md | 4 +- examples/Readme.md | 24 +- examples/check-lists/value.json | 3 +- examples/code-highlighting/value.json | 3 +- examples/embeds/value.json | 10 +- examples/emojis/value.json | 5 +- examples/forced-layout/value.json | 3 +- examples/history/value.json | 6 +- examples/hovering-menu/value.json | 3 +- examples/images/value.json | 9 +- examples/index.css | 24 +- examples/links/value.json | 6 +- examples/markdown-shortcuts/value.json | 9 +- examples/paste-html/value.json | 6 +- examples/rich-text/value.json | 9 +- examples/rtl/value.json | 12 +- examples/search-highlighting/value.json | 6 +- examples/syncing-operations/value.json | 6 +- examples/tables/value.json | 6 +- package.json | 4 +- packages/Readme.md | 23 +- packages/slate-base64-serializer/Changelog.md | 8 +- packages/slate-base64-serializer/Readme.md | 1 - packages/slate-dev-logger/Changelog.md | 4 - packages/slate-dev-logger/Readme.md | 1 - packages/slate-html-serializer/Changelog.md | 22 +- packages/slate-html-serializer/Readme.md | 1 - packages/slate-hyperscript/Changelog.md | 22 +- packages/slate-hyperscript/Readme.md | 1 - packages/slate-plain-serializer/Changelog.md | 20 +- packages/slate-plain-serializer/Readme.md | 1 - packages/slate-prop-types/Changelog.md | 18 +- packages/slate-prop-types/Readme.md | 1 - packages/slate-react/Changelog.md | 84 ++--- packages/slate-react/Readme.md | 9 +- packages/slate-schema-violations/Changelog.md | 4 - packages/slate-schema-violations/Readme.md | 1 - packages/slate-simulator/Changelog.md | 18 +- packages/slate-simulator/Readme.md | 1 - packages/slate/Changelog.md | 301 +++++++----------- packages/slate/Readme.md | 13 +- 89 files changed, 1105 insertions(+), 1148 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index d3432f94d..5b837095b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,5 +1,4 @@ - -#### Do you want to request a *feature* or report a *bug*? +#### Do you want to request a _feature_ or report a _bug_?