From 37b537428dd23c71a833d2480d31e1cfab3718d8 Mon Sep 17 00:00:00 2001 From: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com> Date: Tue, 1 Aug 2023 10:32:56 -0400 Subject: [PATCH] fix: ensure prepush lint returns error on failure --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 343654166..4df8b4650 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "deploy:gh-pages": "npm run build && gh-pages -d dist", "lint": "fedx-scripts eslint --ext .jsx,.js .", "lint-fix": "fedx-scripts eslint --ext .jsx,.js . --fix", - "prepush": "npm run lint; npm run stylelint", + "prepush": "npm run lint && npm run stylelint", "prepublishOnly": "npm run build", "start": "fedx-scripts webpack-dev-server --progress", "debug-test": "node --inspect-brk node_modules/.bin/jest --coverage --runInBand",