Skip to content

Commit

Permalink
chore(format): add prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Jun 28, 2017
1 parent 15e0d30 commit d837fe2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@
"dependencies": {
"chai": "^4.0.2",
"lodash": "^4.17.4"
},
"scripts": {
"fmt": "prettier --print-width 140 --tab-width=4 --single-quote --bracket-spacing --no-semi --color --write \"src/**/*.js\"",
"check-fmt": "prettier --print-width 140 --tab-width=4 --single-quote --bracket-spacing --no-semi --list-different \"src/**/*.js\""
},
"devDependencies": {
"prettier": "^1.5.2"
}
}
1 change: 0 additions & 1 deletion src/extensions/state/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ module.exports = ({ Given }) => {
Given(/^I clear state/, function() {
this.state = {}
})

}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ pathval@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0"

prettier@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.5.2.tgz#7ea0751da27b93bfb6cecfcec509994f52d83bb3"

type-detect@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-3.0.0.tgz#46d0cc8553abb7b13a352b0d6dea2fd58f2d9b55"
Expand Down

0 comments on commit d837fe2

Please sign in to comment.