Skip to content

Instantly share code, notes, and snippets.

@fmontes
Last active February 1, 2022 21:12
Show Gist options
  • Save fmontes/9385f78668a814105dcd109098678f1e to your computer and use it in GitHub Desktop.
Save fmontes/9385f78668a814105dcd109098678f1e to your computer and use it in GitHub Desktop.
#!/bin/bash
declare -a list=("file.spec.ts" "file2.spec.ts" "file3.spec.ts")
for val in ${list[@]}; do
echo "/* eslint-disable @typescript-eslint/no-explicit-any */\n\n$(cat ${val})" > $val
echo $val
done
@fmontes
Copy link
Author

fmontes commented Feb 1, 2022

Don't judge me :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment