1
0
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:
Nikita Karamov 2025-01-28 08:30:08 +01:00
parent bf15bf2ad8
commit 205cacf564
2 changed files with 12 additions and 0 deletions

View File

@ -5,5 +5,10 @@
},
"fmt": {
"exclude": ["pnpm-lock.yaml", "**/*.md"]
},
"lint": {
"rules": {
"tags": ["recommended"]
}
}
}

7
script/lint Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
set -eu
ROOT="$(dirname "$(dirname "$0")")"
deno lint "$@" "$ROOT"