Skip to content

Instantly share code, notes, and snippets.

@aahung
Created April 6, 2020 07:08
Show Gist options
  • Save aahung/c2f049e718593d8477544e68781237a8 to your computer and use it in GitHub Desktop.
Save aahung/c2f049e718593d8477544e68781237a8 to your computer and use it in GitHub Desktop.
Add eslint ignore to all files (macOS)
find ./src -maxdepth 5 -type f -name *.tsx -exec sed -i '' '1i\
/* eslint-disable */
' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment