From 233ad85bada0c358a7b76589de198d4527db0a6d Mon Sep 17 00:00:00 2001 From: Eric Herbrandson Date: Wed, 5 Aug 2020 07:54:22 -0500 Subject: [PATCH] Adding npm command to run linting --- client/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 27702d0..1b7dddb 100644 --- a/client/package.json +++ b/client/package.json @@ -30,7 +30,8 @@ "start": "PORT=4653 react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "lint": "tsc --noEmit && eslint 'src/**/*.{js,jsx,ts,tsx}' --fix" }, "eslintConfig": { "extends": "react-app"