mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
Add lint.sh
This commit is contained in:
1 parent
6267afaff7
commit
2e1501772f
1 file changed
+8
@@ -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 "$@"
|
||||||
Reference in new issue
Block a user