Skip to content

Commit

Permalink
Include prettier config (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
uditdc authored Aug 10, 2023
1 parent e3a2b65 commit 047898b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"semi": false,
"printWidth": 100
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"scripts": {
"build:module": "tsc",
"build": "tsc && pkg -t node14-linux-x64,node14-windows-x64,node14-macos-x64 ./bin.js -o bls_x64",
"build:arm": "tsc && pkg -t node14-linux-arm64,node14-windows-arm64,node14-macos-arm64 ./bin.js -o bls_arm64"
"build:arm": "tsc && pkg -t node14-linux-arm64,node14-windows-arm64,node14-macos-arm64 ./bin.js -o bls_arm64",
"format": "prettier --check .",
"format:fix": "prettier --write ."
},
"files": [
"bin.js",
Expand Down Expand Up @@ -56,6 +58,6 @@
"@types/prompts": "^2.0.14",
"@types/terminal-kit": "^1.34.1",
"@types/yargs": "^17.0.15",
"prettier": "^2.7.1"
"prettier": "^3.0.1"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1609,10 +1609,10 @@ [email protected]:
tar-fs "^2.0.0"
tunnel-agent "^0.6.0"

prettier@^2.7.1:
version "2.7.1"
resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==
prettier@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.1.tgz#65271fc9320ce4913c57747a70ce635b30beaa40"
integrity sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==

process-nextick-args@~2.0.0:
version "2.0.1"
Expand Down

0 comments on commit 047898b

Please sign in to comment.