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": {
"semi": false,
"singleQuote": true
"singleQuote": true,
"proseWrap": false
}
}

View File

@ -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

View File

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

View File

@ -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

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 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