Replace JavaScript Standard Style with Prettier.
This commit is contained in:
parent
b9638f2113
commit
d7355e17e1
9 changed files with 647 additions and 675 deletions
|
@ -15,7 +15,7 @@
|
|||
"@nodeguy/assert": "0.1.1",
|
||||
"husky": "0.14.3",
|
||||
"mocha": "3.5.3",
|
||||
"standard": "10.0.3"
|
||||
"prettier": "1.7.4"
|
||||
},
|
||||
"homepage": "https://github.com/NodeGuy/channel",
|
||||
"keywords": [
|
||||
|
@ -30,8 +30,7 @@
|
|||
"url": "git+https://github.com/NodeGuy/channel.git"
|
||||
},
|
||||
"scripts": {
|
||||
"precommit": "standard",
|
||||
"pretest": "standard",
|
||||
"precommit": "prettier --write lib/**/*.js test/**/*.js",
|
||||
"test": "mocha --recursive"
|
||||
},
|
||||
"standard": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue