From 81f4e06846d843f264ab2f46fca1c55aeef034c9 Mon Sep 17 00:00:00 2001 From: lkatsikaris Date: Tue, 16 Apr 2024 17:00:23 -0300 Subject: [PATCH] added lint again --- Makefile | 1 + package.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 62d2a8e..d9768de 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ transifex_input = $(i18n)/transifex_input.json transifex_temp = ./temp/babel-plugin-formatjs precommit: + npm run lint npm audit requirements: diff --git a/package.json b/package.json index 94c1a71..bd8c5c1 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,11 @@ "start:with-theme": "paragon install-theme && npm start && npm install", "test": "fedx-scripts jest --coverage --passWithNoTests" }, + "husky": { + "hooks": { + "pre-commit": "npm run lint" + } + }, "author": "edX", "license": "AGPL-3.0", "homepage": "https://github.com/openedx/frontend-template-application#readme",