Skip to content

Instantly share code, notes, and snippets.

@reime005
Created May 27, 2019 20:29
Show Gist options
  • Save reime005/f0008003673442e98b7853f954991bfc to your computer and use it in GitHub Desktop.
Save reime005/f0008003673442e98b7853f954991bfc to your computer and use it in GitHub Desktop.
Lint Staged Configuration File
module.exports = {
'*.{js,jsx}': [
'eslint . --fix',
'prettier --write',
'git add',
'jest --bail --findRelatedTests'
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment