From f26e5f38370c83f8e27cab35cb34bff3b897c145 Mon Sep 17 00:00:00 2001 From: Alexander Harkness <me@bearbin.net> Date: Wed, 9 Oct 2019 16:29:05 +0100 Subject: [PATCH] Add eslint to pre-commit hook --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d710e4f..5a7728a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,10 @@ repos: hooks: - id: trailing-whitespace - repo: https://github.com/prettier/prettier - rev: "" # Use the sha or tag you want to point at + rev: "" hooks: - id: prettier + - repo: https://github.com/pre-commit/mirrors-eslint + rev: "" + hooks: + - id: eslint -- GitLab