Disable Prettier markdown prose wrapping.

This commit is contained in:
Jayden Seric 2017-11-18 19:37:10 +11:00
parent 309c4893e0
commit fe620f5f70
5 changed files with 10 additions and 18 deletions

View File

@ -73,6 +73,7 @@
}, },
"prettier": { "prettier": {
"semi": false, "semi": false,
"singleQuote": true "singleQuote": true,
"proseWrap": false
} }
} }

View File

@ -10,8 +10,7 @@ An example GraphQL API using:
## Setup ## Setup
1. Install the latest [Node.js](https://nodejs.org) and 1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
[npm](https://npmjs.com).
2. Duplicate `.env.example` as `.env` and configure. 2. Duplicate `.env.example` as `.env` and configure.
3. Run `npm install` in the `api` directory with Terminal. 3. Run `npm install` in the `api` directory with Terminal.
4. Run `npm run dev` for development, or `npm run start` for production. 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: Ensure your editor supports:
* [EditorConfig](http://editorconfig.org). * [EditorConfig](http://editorconfig.org).
* [ESLint](http://eslint.org), respecting `package.json` config. * [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`.
[Atom](https://atom.io) users install
[`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix
errors on save`.
## Support ## Support

View File

@ -86,6 +86,7 @@
}, },
"prettier": { "prettier": {
"semi": false, "semi": false,
"singleQuote": true "singleQuote": true,
"proseWrap": false
} }
} }

View File

@ -10,20 +10,15 @@ An example SSR web app using:
## Setup ## Setup
1. Install the latest [Node.js](https://nodejs.org) and 1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
[npm](https://npmjs.com).
2. Duplicate `.env.example` as `.env` and configure. 2. Duplicate `.env.example` as `.env` and configure.
3. Run `npm install` in the `app` directory with Terminal. 3. Run `npm install` in the `app` directory with Terminal.
4. Run `npm run dev` for development, or `npm run build && npm start` for 4. Run `npm run dev` for development, or `npm run build && npm start` for production.
production.
Ensure your editor supports: Ensure your editor supports:
* [EditorConfig](http://editorconfig.org). * [EditorConfig](http://editorconfig.org).
* [ESLint](http://eslint.org), respecting `package.json` config. * [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`.
[Atom](https://atom.io) users install
[`linter-eslint`](https://atom.io/packages/linter-eslint) and enable `Fix
errors on save`.
## Support ## Support

View File

@ -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 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) [![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 A full stack demo of file uploads via GraphQL mutations with [Apollo](https://apollographql.com).
[Apollo](https://apollographql.com).
## GraphQL API ## GraphQL API