mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 15:11:29 -07:00
Initial commit
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
args=(
|
||||
--type-aware
|
||||
.
|
||||
)
|
||||
|
||||
if [[ -n "${CI:-}" ]]; then
|
||||
args+=("--max-warnings=0")
|
||||
else
|
||||
args+=("--max-warnings=1000")
|
||||
fi
|
||||
|
||||
# get additional args
|
||||
while [[ $# -gt 0 ]]; do
|
||||
args+=("$1")
|
||||
shift
|
||||
done
|
||||
|
||||
exec oxlint "${args[@]}"
|
||||
Reference in New Issue
Block a user