Skip to content

Commit

Permalink
feat: add prettier in platform
Browse files Browse the repository at this point in the history
  • Loading branch information
carcruz committed Jun 27, 2022
1 parent ced44cf commit ebffbdb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/platform/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "es5",
"arrowParens": "avoid",
"tabWidth": 2
}
4 changes: 2 additions & 2 deletions apps/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@material-ui/core": "^4.9.11",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.50",
"@vitejs/plugin-react": "^1.3.2",
"@swissprot/swissbiopics-visualizer": "^0.0.28",
"@vitejs/plugin-react": "^1.3.2",
"classnames": "^2.2.6",
"d3": "^5.9.2",
"d3-dag": "^0.5.0",
Expand Down Expand Up @@ -79,7 +79,7 @@
"lint-staged": ">=10",
"nanoid-cli": "^1.1.0",
"nightwatch": "^1.1.13",
"prettier": "1.15.1",
"prettier": "^2.7.1",
"rollup-plugin-polyfill-node": "^0.9.0",
"sass": "^1.49.10",
"source-map-explorer": "^2.0.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11588,6 +11588,11 @@ prettier@^2.5.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032"
integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==

prettier@^2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==

pretty-bytes@^5.3.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"
Expand Down

0 comments on commit ebffbdb

Please sign in to comment.