Skip to content

Commit

Permalink
build: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
davidballester committed Mar 3, 2019
1 parent 50f3d96 commit a5e4514
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"singleQuote": true,
"arrowParens": "always",
"trailingComma": "es5",
"printWidth": 150
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"devDependencies": {
"prettier": "^1.16.4"
}
}
8 changes: 6 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6569,6 +6569,10 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"

prettier@^1.16.4:
version "1.16.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"

pretty-bytes@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
Expand Down Expand Up @@ -6805,7 +6809,7 @@ react-dev-utils@^7.0.3:
strip-ansi "5.0.0"
text-table "0.2.0"

[email protected]:
react-dom@^16.8.3:
version "16.8.3"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.3.tgz#ae236029e66210783ac81999d3015dfc475b9c32"
dependencies:
Expand Down Expand Up @@ -6876,7 +6880,7 @@ [email protected]:
optionalDependencies:
fsevents "1.2.4"

[email protected]:
react@^16.8.3:
version "16.8.3"
resolved "https://registry.yarnpkg.com/react/-/react-16.8.3.tgz#c6f988a2ce895375de216edcfaedd6b9a76451d9"
dependencies:
Expand Down

0 comments on commit a5e4514

Please sign in to comment.