Created
March 1, 2023 12:26
-
-
Save serhiinkh/1c851f15b4a625bac1251e6376c8ec91 to your computer and use it in GitHub Desktop.
Check js files in folder for syntax error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ind . -name "*.js" -type f -not -path "./node_modules/*" -not -path "./**/node_modules/*" -print0 | xargs -0 -I {} bash -c 'node --check {}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment