Skip to content

About

EsLint Git Pre-commit Hook

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

git-pre-commit-hook-eslint

EsLint Git Pre-commit Hook

Instructions
  1. Copy the pre-commit file to your repository > .git/hooks/{copy file here}
  2. Inside .git/hooks/ , run > chmod u+x pre-commit
  3. In Line 22:13 change directory to point to .eslintrc file in your project.
  4. Run > npm install -g eslint babel-eslint eslint-plugin-react
  5. Commit your code to see the validations working.

Thanks To linhmtran168

About

EsLint Git Pre-commit Hook

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages