Last active
September 12, 2019 21:05
-
-
Save stevenleeg/64bd47a3c6c469d6ad5b0b87794cf23e to your computer and use it in GitHub Desktop.
Add /* eslint-disable */ to the top of all javascript files in your project
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
#!/usr/bin/env fish | |
for file in js/{,**/*}*.js | |
set IFS | |
set content (cat $file) | |
echo -e "/* eslint-disable */\n$content" > $file | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment