chore: lint-language output only warnings and errors (#94261)

The lint-language script is too verbose, it prints "no issues found" for
all files it touches.
This commit is contained in:
Joseph
2026-06-02 10:07:28 +02:00
committed by GitHub
parent 06080d0281
commit 867227352b
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
"check-unused-turbo-tasks": "node scripts/check-unused-turbo-tasks.mjs",
"lint": "run-p test-types lint-typescript prettier-check \"lint-eslint .\" lint-ast-grep lint-language check-unused-turbo-tasks",
"lint-fix": "pnpm prettier-fix && pnpm lint-eslint --fix .",
"lint-language": "alex .",
"lint-language": "alex . --quiet",
"prettier-check": "prettier --check .",
"check-examples": "./scripts/check-examples.sh",
"get-test-timings": "node run-tests.js --timings --write-timings -g 1/1",
+4 -2
View File
@@ -2,10 +2,12 @@
for folder in examples/* ; do
if [ -f "$folder/package.json" ]; then
cat $folder/package.json | jq '
tmp=$(mktemp)
jq '
.private = true |
del(.license, .version, .name, .author, .description)
' | sponge $folder/package.json
' "$folder/package.json" > "$tmp" && cat "$tmp" > "$folder/package.json"
rm -f "$tmp"
fi
if [ -f "$folder/tsconfig.json" ]; then
if [ -d "$folder/app" ] || [ -d "$folder/src/app" ]; then