From 2e1501772f1606a2f5042398e28fb523d331841f Mon Sep 17 00:00:00 2001 From: James Babcock Date: Tue, 29 Sep 2026 14:33:35 -0700 Subject: [PATCH] Add lint.sh --- lint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 lint.sh diff --git a/lint.sh b/lint.sh new file mode 100755 index 00000000..a901afd1 --- /dev/null +++ b/lint.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Lint the TypeScript sources with oxlint. Which files get linted (TypeScript +# only) and which rules are enabled are both set in .oxlintrc.json. +# Arguments are passed through to oxlint, e.g. `./lint.sh --fix` or +# `./lint.sh app/g2` to lint only some paths. +cd "$(dirname "$0")" + +exec node_modules/.bin/oxlint "$@"