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 f021743 commit 3f31044
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 6 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"
}
}
34 changes: 30 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2377,6 +2377,15 @@ browserslist@^4.5.1, browserslist@^4.5.2:
electron-to-chromium "^1.3.124"
node-releases "^1.1.14"

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==
dependencies:
caniuse-lite "^1.0.30000963"
electron-to-chromium "^1.3.127"
node-releases "^1.1.17"

bser@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"
Expand Down Expand Up @@ -2544,6 +2553,11 @@ caniuse-lite@^1.0.30000960:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000960.tgz#ec48297037e5607f582f246ae7b12bee66a78999"
integrity sha512-7nK5qs17icQaX6V3/RYrJkOsZyRNnroA4+ZwxaKJzIKy+crIy0Mz5CBlLySd2SNV+4nbUZeqeNfiaEieUBu3aA==

caniuse-lite@^1.0.30000963:
version "1.0.30000963"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000963.tgz#5be481d5292f22aff5ee0db4a6c049b65b5798b1"
integrity sha512-n4HUiullc7Lw0LyzpeLa2ffP8KxFBGdxqD/8G3bSL6oB758hZ2UE2CVK+tQN958tJIi0/tfpjAc67aAtoHgnrQ==

capture-exit@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4"
Expand Down Expand Up @@ -3389,6 +3403,11 @@ electron-to-chromium@^1.3.124:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.124.tgz#861fc0148748a11b3e5ccebdf8b795ff513fa11f"
integrity sha512-glecGr/kFdfeXUHOHAWvGcXrxNU+1wSO/t5B23tT1dtlvYB26GY8aHzZSWD7HqhqC800Lr+w/hQul6C5AF542w==

electron-to-chromium@^1.3.127:
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"
resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e"
Expand Down Expand Up @@ -4557,10 +4576,10 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

husky@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-2.1.0.tgz#f486dd063596ad3aad4bbbcd8673ca5bface3caa"
integrity sha512-FHsqdIJPmQX/89Xg/761RMFCPSNNG2eiQMxChGP081NTohHexEuu/4nYh5m4TcFKq4xm+DqaGp8J/EUnkzL1Aw==
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==
dependencies:
cosmiconfig "^5.2.0"
execa "^1.0.0"
Expand Down Expand Up @@ -6666,6 +6685,13 @@ node-releases@^1.1.14:
dependencies:
semver "^5.3.0"

node-releases@^1.1.17:
version "1.1.17"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.17.tgz#71ea4631f0a97d5cd4f65f7d04ecf9072eac711a"
integrity sha512-/SCjetyta1m7YXLgtACZGDYJdCSIBAWorDWkGCGZlydP2Ll7J48l7j/JxNYZ+xsgSPbWfdulVS/aY+GdjUsQ7Q==
dependencies:
semver "^5.3.0"

"nopt@2 || 3":
version "3.0.6"
resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
Expand Down

0 comments on commit 3f31044

Please sign in to comment.