Files
Paradise/tools/ci/check_json.sh
moxian b000bd2a88 Add eslint settings to vscode config (#17680)
* Add eslint settings to vscode config

* Lint vscode settings as json5

* A tiny bit better argument parsing, oops
2022-04-29 13:07:46 +01:00

7 lines
358 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# We probably could validate literally everything as json5, but let's be cautions for no good reason here.
find .vscode/ -name "*.json" -print0 | xargs -0 python3 tools/ci/json_verifier.py -5
find . -name "*.json" -not -path "*/node_modules/*" -and -not -path "./.vscode/*" -print0 | xargs -0 python3 tools/ci/json_verifier.py