From 2d8aef8bebcdf3535b449d02e7b1b3478cbff847 Mon Sep 17 00:00:00 2001 From: Shreya Date: Mon, 12 Apr 2021 17:45:52 +0530 Subject: [PATCH] Add pre-commit hook for eslint --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43e62e2f3..8065df524 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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