Skip to content

Commit

Permalink
feat: add prettier-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed May 2, 2019
1 parent 514319e commit 216e627
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"find-yarn-workspace-root": "^1.2.1",
"husky": "^2.1.0",
"husky": "^2.2.0",
"lerna": "^3.13.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@babel/preset-react": "^7.0.0",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-react-intl": "^3.0.1",
"browserslist": "^4.5.1",
"browserslist": "^4.5.6",
"lodash": "^4.17.11",
"read-pkg-up": "^5.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/prettier-config/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 79,
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "preserve"
}
15 changes: 15 additions & 0 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@4c/prettier-config",
"version": "1.0.0",
"main": "index.json",
"repository": {
"type": "git",
"url": "https://github.com/4Catalyzer/javascript",
"directory": "packages/prettier-config"
},
"author": "4Catalyzer",
"license": "MIT",
"publishConfig": {
"access": "public"
}
}
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,7 @@ browser-resolve@^1.11.3:
dependencies:
resolve "1.1.7"

browserslist@^4.5.1, browserslist@^4.5.2:
browserslist@^4.5.1, browserslist@^4.5.2, browserslist@^4.5.6:
version "4.5.6"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.6.tgz#ea42e8581ca2513fa7f371d4dd66da763938163d"
integrity sha512-o/hPOtbU9oX507lIqon+UvPYqpx3mHc8cV3QemSBTXwkG8gSQSK6UKvXcE/DcleU3+A59XTUHyCvZ5qGy8xVAg==
Expand Down Expand Up @@ -3385,9 +3385,9 @@ editor@~1.0.0:
integrity sha1-YMf4e9YrzGqJT6jM1q+3gjok90I=

electron-to-chromium@^1.3.127:
version "1.3.127"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.127.tgz#9b34d3d63ee0f3747967205b953b25fe7feb0e10"
integrity sha512-1o25iFRf/dbgauTWalEzmD1EmRN3a2CzP/K7UVpYLEBduk96LF0FyUdCcf4Ry2mAWJ1VxyblFjC93q6qlLwA2A==
version "1.3.129"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.129.tgz#bff32e1840775554aafa301e9dc5002d565aae80"
integrity sha512-puirJsgZnedlFEmRa7WEUIaS8ZgHHn7d7inph+RiapCc0x80hdoDyEEpR9z3aRUSZy4fGxOTOFcxnGmySlrmhA==

elegant-spinner@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -4557,7 +4557,7 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

husky@^2.1.0:
husky@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-2.2.0.tgz#4dda4370ba0f145b6594be4a4e4e4d4c82a6f2d5"
integrity sha512-lG33E7zq6v//H/DQIojPEi1ZL9ebPFt3MxUMD8MR0lrS2ljEPiuUUxlziKIs/o9EafF0chL7bAtLQkcPvXmdnA==
Expand Down

0 comments on commit 216e627

Please sign in to comment.