format code

This commit is contained in:
Andre Staltz 2023-04-26 14:32:08 +03:00
parent 1aac2f56a2
commit b503476824
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
3 changed files with 6 additions and 4 deletions

View File

@ -25,5 +25,5 @@ function estimateMsgCount(range) {
module.exports = {
isEmptyRange,
estimateMsgCount
estimateMsgCount,
}

View File

@ -36,6 +36,8 @@
"bs58": "^5.0.0",
"c8": "7",
"ppppp-db": "github:staltz/ppppp-db",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"secret-stack": "^6.4.1",
"ssb-box": "^1.0.1",
@ -48,8 +50,8 @@
},
"scripts": {
"test": "tape test/*.js | tap-arc --bail",
"format-code": "prettier --write \"*.js\" \"(test|compat|indexes|operators)/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|compat|indexes|operators)/*.js\"",
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {