mirror of
https://github.com/coracle-social/coracle.git
synced 2024-10-06 11:43:30 +00:00
Add pre-commit hook
This commit is contained in:
parent
fc984cafa6
commit
9cc50e1894
5
.husky/pre-commit
Executable file
5
.husky/pre-commit
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
||||
npm run check
|
BIN
package-lock.json
generated
BIN
package-lock.json
generated
Binary file not shown.
@ -34,6 +34,7 @@
|
||||
"extract-urls": "^1.3.2",
|
||||
"fuse.js": "^6.6.2",
|
||||
"hurdak": "github:ConsignCloud/hurdak",
|
||||
"husky": "^8.0.3",
|
||||
"nostr-tools": "^1.2.1",
|
||||
"ramda": "^0.28.0",
|
||||
"svelte-check": "^3.0.3",
|
||||
|
@ -99,7 +99,7 @@ const publish = async (relays, event) => {
|
||||
}
|
||||
|
||||
const describeFilter = ({kinds = [], ...filter}) => {
|
||||
let parts = []
|
||||
const parts = []
|
||||
|
||||
parts.push(kinds.join(','))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user