From fbb913c044ac72be8b0e649c6cbf0796f056ebb4 Mon Sep 17 00:00:00 2001 From: Chris Waring Date: Fri, 12 Feb 2021 14:56:31 +0000 Subject: [PATCH] add lint scripts --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index cb4a0460..cf75cddf 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,8 @@ "scripts": { "dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 node . --unhandled-rejections=strict --max-old-space-size=8192", "start": "NODE_ENV=production node . --unhandled-rejections=strict --max-old-space-size=8192", + "lint": "eslint **/*.js", + "lint:fix": "npm run lint -- --fix", "build": "NODE_ENV=production next build", "build-system": "rollup -c", "scripts": "NODE_TLS_REJECT_UNAUTHORIZED=0 node --max-old-space-size=8192 ./scripts",