Add pre-commit hook for eslint

This commit is contained in:
Shreya 2021-04-12 17:45:52 +05:30
parent c736560f09
commit 2d8aef8beb
1 changed files with 4 additions and 0 deletions

View File

@ -28,3 +28,7 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/eslint/eslint
rev: v7.24.0
hooks:
- id: eslint