From 7a53c5bb85f17ecb0a7a53d811758a2fe409ee06 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 12 Jul 2022 15:24:19 -0600 Subject: [PATCH] Adds missing lint scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ab3bb2db3..1ff0ad35b9 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,9 @@ "build": "next build", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next", "dev": "PORT=3002 next dev", - "lint-fix": "next lint --fix && prettier --write .", "lint": "next lint", + "lint:report": "eslint . --format json --output-file ../../lint-results/api.json", + "lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix", "start": "PORT=3002 next start", "test": "jest --detectOpenHandles --passWithNoTests", "type-check": "tsc --pretty --noEmit"