Skip to content

Commit

Permalink
🎉 Create Prettier configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljanocko committed Jan 20, 2023
0 parents commit f33b9e6
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"htmlWhitespaceSensitivity": "ignore",
"jsxSingleQuote": true,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": false,
"trailingComma": "none",
"vueIndentScriptAndStyle": true
}
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "prettier-standard-config",
"version": "1.0.0",
"description": "StandardJS compliant Prettier config for Havenworks",
"main": ".prettierrc.json",
"repository": "https://github.com/havenworks/prettier-standard-config",
"author": "Michal Janočko <michal@janocko.com>",
"license": "MIT",
"keywords": [
"config",
"JavaScript Standard Style",
"jsstandard",
"lint",
"prettier",
"prettierconfig",
"prettier-config",
"standard",
"standard style"
],
"peerDependencies": {
"prettier": "^2.8.3"
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


prettier@^2.8.3:
version "2.8.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632"
integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==

0 comments on commit f33b9e6

Please sign in to comment.