diff --git a/deno.json b/deno.json index 161943b..9ce5b11 100644 --- a/deno.json +++ b/deno.json @@ -5,5 +5,10 @@ }, "fmt": { "exclude": ["pnpm-lock.yaml", "**/*.md"] + }, + "lint": { + "rules": { + "tags": ["recommended"] + } } } diff --git a/script/lint b/script/lint new file mode 100755 index 0000000..e886474 --- /dev/null +++ b/script/lint @@ -0,0 +1,7 @@ +#!/bin/sh + +set -eu + +ROOT="$(dirname "$(dirname "$0")")" + +deno lint "$@" "$ROOT"