From fe620f5f7097dcf3ecde77900388f04fa14ff333 Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Sat, 18 Nov 2017 19:37:10 +1100 Subject: [PATCH] Disable Prettier markdown prose wrapping. --- api/package.json | 3 ++- api/readme.md | 8 ++------ app/package.json | 3 ++- app/readme.md | 11 +++-------- readme.md | 3 +-- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/api/package.json b/api/package.json index 951551d..74d5dd3 100644 --- a/api/package.json +++ b/api/package.json @@ -73,6 +73,7 @@ }, "prettier": { "semi": false, - "singleQuote": true + "singleQuote": true, + "proseWrap": false } } diff --git a/api/readme.md b/api/readme.md index 6c8bd63..c54ec9d 100644 --- a/api/readme.md +++ b/api/readme.md @@ -10,8 +10,7 @@ An example GraphQL API using: ## Setup -1. Install the latest [Node.js](https://nodejs.org) and - [npm](https://npmjs.com). +1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com). 2. Duplicate `.env.example` as `.env` and configure. 3. Run `npm install` in the `api` directory with Terminal. 4. Run `npm run dev` for development, or `npm run start` for production. @@ -19,10 +18,7 @@ An example GraphQL API using: Ensure your editor supports: * [EditorConfig](http://editorconfig.org). -* [ESLint](http://eslint.org), respecting `package.json` config. - [Atom](https://atom.io) users install - [`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix - errors on save`. +* [ESLint](http://eslint.org), respecting `package.json` config. [Atom](https://atom.io) users install [`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix errors on save`. ## Support diff --git a/app/package.json b/app/package.json index 2c37654..78176e1 100644 --- a/app/package.json +++ b/app/package.json @@ -86,6 +86,7 @@ }, "prettier": { "semi": false, - "singleQuote": true + "singleQuote": true, + "proseWrap": false } } diff --git a/app/readme.md b/app/readme.md index ec13275..9a4b21c 100644 --- a/app/readme.md +++ b/app/readme.md @@ -10,20 +10,15 @@ An example SSR web app using: ## Setup -1. Install the latest [Node.js](https://nodejs.org) and - [npm](https://npmjs.com). +1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com). 2. Duplicate `.env.example` as `.env` and configure. 3. Run `npm install` in the `app` directory with Terminal. -4. Run `npm run dev` for development, or `npm run build && npm start` for - production. +4. Run `npm run dev` for development, or `npm run build && npm start` for production. Ensure your editor supports: * [EditorConfig](http://editorconfig.org). -* [ESLint](http://eslint.org), respecting `package.json` config. - [Atom](https://atom.io) users install - [`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix - errors on save`. +* [ESLint](http://eslint.org), respecting `package.json` config. [Atom](https://atom.io) users install [`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix errors on save`. ## Support diff --git a/readme.md b/readme.md index e75aa7d..ab4a3f6 100644 --- a/readme.md +++ b/readme.md @@ -6,8 +6,7 @@ [![Github issues](https://img.shields.io/github/issues/jaydenseric/apollo-upload-examples.svg)](https://github.com/jaydenseric/apollo-upload-examples/issues) [![Github stars](https://img.shields.io/github/stars/jaydenseric/apollo-upload-examples.svg)](https://github.com/jaydenseric/apollo-upload-examples/stargazers) -A full stack demo of file uploads via GraphQL mutations with -[Apollo](https://apollographql.com). +A full stack demo of file uploads via GraphQL mutations with [Apollo](https://apollographql.com). ## GraphQL API