From 4ddddabe855c4626e2b4163c4ef2f3017b94fd46 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 1 Apr 2020 12:43:42 +0100 Subject: [PATCH] Added linting scripts - Incorrectly assumed this was automatically part of `react-scripts test`. --- ghost/portal/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghost/portal/package.json b/ghost/portal/package.json index f76e91beb2..a2f5f9a8da 100644 --- a/ghost/portal/package.json +++ b/ghost/portal/package.json @@ -19,7 +19,9 @@ "build:combined": "node ./scripts/build-combined.js", "build:bundle": "webpack --config webpack.config.js", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "lint": "eslint src --ext .js --cache", + "posttest": "yarn lint" }, "eslintConfig": { "extends": "react-app"