Skip to content

Commit

Permalink
add prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Dec 18, 2017
1 parent 707c317 commit 699eb87
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions generation/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"useTabs": true
}
13 changes: 12 additions & 1 deletion generation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,27 @@
"private": true,
"scripts": {
"build": "./index.js",
"test": "jest"
"test": "jest",
"precommit": "lint-staged",
"format": "prettier ./**/*.{js,json,css,md} --write"
},
"author": "DanielMSchmidt <danielmschmidt92@gmail.com>",
"license": "MIT",
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"babel-generator": "^6.25.0",
"babel-types": "^6.25.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lerna": "2.0.0-rc.4",
"lint-staged": "^6.0.0",
"objective-c-parser": "1.1.0",
"prettier": "^1.8.2",
"remove": "^0.1.5"
},
"jest": {
Expand Down

0 comments on commit 699eb87

Please sign in to comment.