Upgrate prettier

This commit is contained in:
Leonid Logvinov 2018-02-27 15:08:52 -08:00
parent 7aa070f9ea
commit 30e4613d0a
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
11 changed files with 45 additions and 45 deletions

View File

@ -8,9 +8,9 @@ If you'd like to contribute to 0x protocol, please fork the repo, fix, commit an
We encourage a “PR early” approach so create the PR as early as possible even without the fix/feature ready, so that devs and other contributors know you have picked up the issue. These early PRs should indicate an 'in progress' status by adding the '[WIP]' prefix to the PR title. Please make sure your contributions adhere to our coding guidelines: We encourage a “PR early” approach so create the PR as early as possible even without the fix/feature ready, so that devs and other contributors know you have picked up the issue. These early PRs should indicate an 'in progress' status by adding the '[WIP]' prefix to the PR title. Please make sure your contributions adhere to our coding guidelines:
* Pull requests adding features or refactoring should be opened against the `development` branch * Pull requests adding features or refactoring should be opened against the `development` branch
* Pull requests fixing bugs in the latest release version should be opened again the `master` branch * Pull requests fixing bugs in the latest release version should be opened again the `master` branch
* Write [good commit messages](https://chris.beams.io/posts/git-commit/) * Write [good commit messages](https://chris.beams.io/posts/git-commit/)
### Code quality ### Code quality
@ -31,10 +31,10 @@ We also use [Prettier](https://prettier.io/) to auto-format our code. Be sure to
If using the Atom text editor, we recommend you install the following packages: If using the Atom text editor, we recommend you install the following packages:
* [atom-typescript](https://atom.io/packages/atom-typescript) * [atom-typescript](https://atom.io/packages/atom-typescript)
* [linter-tslint](https://atom.io/packages/linter-tslint) * [linter-tslint](https://atom.io/packages/linter-tslint)
* [prettier-atom](https://atom.io/packages/prettier-atom) * [prettier-atom](https://atom.io/packages/prettier-atom)
* [language-ethereum](https://atom.io/packages/language-ethereum) * [language-ethereum](https://atom.io/packages/language-ethereum)
Our CI will also run TSLint and Prettier as a part of the test run when you submit your PR. Make sure that the CI tests pass for your contribution. Our CI will also run TSLint and Prettier as a part of the test run when you submit your PR. Make sure that the CI tests pass for your contribution.

View File

@ -24,9 +24,9 @@
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
* [ ] Bug fix (non-breaking change which fixes an issue) * [ ] Bug fix (non-breaking change which fixes an issue)
* [ ] New feature (non-breaking change which adds functionality) * [ ] New feature (non-breaking change which adds functionality)
* [ ] Breaking change (fix or feature that would cause existing functionality to change) * [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist: ## Checklist:
@ -34,9 +34,9 @@
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
* [ ] Change requires a change to the documentation. * [ ] Change requires a change to the documentation.
* [ ] Added tests to cover my changes. * [ ] Added tests to cover my changes.
* [ ] Added new entries to the relevant CHANGELOGs. * [ ] Added new entries to the relevant CHANGELOGs.
* [ ] Updated the new versions of the changed packages in the relevant CHANGELOGs. * [ ] Updated the new versions of the changed packages in the relevant CHANGELOGs.
* [ ] Labeled this PR with the 'WIP' label if it is a work in progress. * [ ] Labeled this PR with the 'WIP' label if it is a work in progress.
* [ ] Labeled this PR with the labels corresponding to the changed package. * [ ] Labeled this PR with the labels corresponding to the changed package.

View File

@ -48,10 +48,10 @@ This repository contains all the 0x developer tools written in TypeScript. Our h
Dedicated documentation pages: Dedicated documentation pages:
* [0x.js Library](https://0xproject.com/docs/0xjs) * [0x.js Library](https://0xproject.com/docs/0xjs)
* [0x Connect](https://0xproject.com/docs/connect) * [0x Connect](https://0xproject.com/docs/connect)
* [Smart contracts](https://0xproject.com/docs/contracts) * [Smart contracts](https://0xproject.com/docs/contracts)
* [Standard Relayer API](https://github.com/0xProject/standard-relayer-api/blob/master/README.md) * [Standard Relayer API](https://github.com/0xProject/standard-relayer-api/blob/master/README.md)
## Contributing ## Contributing

View File

@ -20,7 +20,7 @@
"async-child-process": "^1.1.1", "async-child-process": "^1.1.1",
"ethereumjs-testrpc": "^6.0.3", "ethereumjs-testrpc": "^6.0.3",
"lerna": "^2.5.1", "lerna": "^2.5.1",
"prettier": "1.9.2", "prettier": "^1.11.0",
"publish-release": "0xproject/publish-release", "publish-release": "0xproject/publish-release",
"semver-sort": "^0.0.4" "semver-sort": "^0.0.4"
} }

View File

@ -10,8 +10,8 @@ yarn add @0xproject/connect
## Usage ## Usage
* [Docs](https://0xproject.com/docs/connect) * [Docs](https://0xproject.com/docs/connect)
* [Tutorials](https://0xproject.com/wiki#connect) * [Tutorials](https://0xproject.com/wiki#connect)
## Contributing ## Contributing

View File

@ -4,11 +4,11 @@ Smart contracts that implement the 0x protocol.
## Usage ## Usage
* [Docs](https://0xproject.com/docs/contracts) * [Docs](https://0xproject.com/docs/contracts)
* [Overview of 0x protocol architecture](https://0xproject.com/wiki#Architecture) * [Overview of 0x protocol architecture](https://0xproject.com/wiki#Architecture)
* [0x smart contract interactions](https://0xproject.com/wiki#Contract-Interactions) * [0x smart contract interactions](https://0xproject.com/wiki#Contract-Interactions)
* [Deployed smart contract addresses](https://0xproject.com/wiki#Deployed-Addresses) * [Deployed smart contract addresses](https://0xproject.com/wiki#Deployed-Addresses)
* [0x protocol message format](https://0xproject.com/wiki#Message-Format) * [0x protocol message format](https://0xproject.com/wiki#Message-Format)
## Contributing ## Contributing

View File

@ -2,7 +2,7 @@
## v0.7.10 - _February 9, 2018_ ## v0.7.10 - _February 9, 2018_
* Fix publishing issue where .npmignore was not properly excluding undesired content (#389) * Fix publishing issue where .npmignore was not properly excluding undesired content (#389)
## v0.7.0 - _December 20, 2017_ ## v0.7.0 - _December 20, 2017_

View File

@ -96,10 +96,10 @@ yarn run test:unit
In order to run the integration tests, make sure you have a Ledger Nano S available. In order to run the integration tests, make sure you have a Ledger Nano S available.
* Plug it into your computer * Plug it into your computer
* Unlock the device * Unlock the device
* Open the on-device Ethereum app * Open the on-device Ethereum app
* Make sure "browser support" is disabled * Make sure "browser support" is disabled
Then run: Then run:

View File

@ -58,11 +58,11 @@ yarn lint
##### Toolkit ##### Toolkit
* [Material Design Icon Font](http://zavoloklom.github.io/material-design-iconic-font/icons.html#directional) * [Material Design Icon Font](http://zavoloklom.github.io/material-design-iconic-font/icons.html#directional)
* [BassCSS toolkit](http://basscss.com/) * [BassCSS toolkit](http://basscss.com/)
* [Material-UI component library](http://www.material-ui.com/#/) * [Material-UI component library](http://www.material-ui.com/#/)
##### Recommended Atom packages: ##### Recommended Atom packages:
* [atom-typescript](https://atom.io/packages/atom-typescript) * [atom-typescript](https://atom.io/packages/atom-typescript)
* [linter-tslint](https://atom.io/packages/linter-tslint) * [linter-tslint](https://atom.io/packages/linter-tslint)

View File

@ -2,7 +2,7 @@ Welcome to the [0x smart contracts](https://github.com/0xProject/contracts) docu
### Helpful wiki articles: ### Helpful wiki articles:
* [Overview of 0x protocol architecture](https://0xproject.com/wiki#Architecture) * [Overview of 0x protocol architecture](https://0xproject.com/wiki#Architecture)
* [0x smart contract interactions](https://0xproject.com/wiki#Contract-Interactions) * [0x smart contract interactions](https://0xproject.com/wiki#Contract-Interactions)
* [Deployed smart contract addresses](https://0xproject.com/wiki#Deployed-Addresses) * [Deployed smart contract addresses](https://0xproject.com/wiki#Deployed-Addresses)
* [0x protocol message format](https://0xproject.com/wiki#Message-Format) * [0x protocol message format](https://0xproject.com/wiki#Message-Format)

View File

@ -6967,9 +6967,9 @@ preserve@^0.2.0:
version "0.2.0" version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
prettier@1.9.2: prettier@^1.11.0:
version "1.9.2" version "1.11.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.9.2.tgz#96bc2132f7a32338e6078aeb29727178c6335827" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.11.0.tgz#c024f70cab158c993f50fc0c25ffe738cb8b0f85"
pretty-bytes@^1.0.4: pretty-bytes@^1.0.4:
version "1.0.4" version "1.0.4"