mirror of
https://github.com/NickKaramoff/shareon
synced 2025-02-01 16:36:57 +01:00
Add script to lint with Deno
This commit is contained in:
parent
bf15bf2ad8
commit
205cacf564
@ -5,5 +5,10 @@
|
|||||||
},
|
},
|
||||||
"fmt": {
|
"fmt": {
|
||||||
"exclude": ["pnpm-lock.yaml", "**/*.md"]
|
"exclude": ["pnpm-lock.yaml", "**/*.md"]
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"rules": {
|
||||||
|
"tags": ["recommended"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
7
script/lint
Executable file
7
script/lint
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
ROOT="$(dirname "$(dirname "$0")")"
|
||||||
|
|
||||||
|
deno lint "$@" "$ROOT"
|
Loading…
x
Reference in New Issue
Block a user