From 96857323bb962739285e983970db633a2bb073c6 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 29 Jan 2022 05:39:57 +0530 Subject: [PATCH] Add test files to prettier and lint commands --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 96cb1c6b..4404e758 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ ], "scripts": { "build": "tsc", - "lint": "eslint **/src/*.ts --cache --fix", - "format": "prettier --write **/src/*.ts && git add -f src/", - "format-check": "prettier --check **/src/*.ts", + "lint": "eslint **/src/*.ts **/__tests__/*.ts --cache --fix", + "format": "prettier --write **/src/*.ts **/__tests__/*.ts && git add -f src/", + "format-check": "prettier --check **/src/*.ts **/__tests__/*.ts", "release": "ncc build -o dist && git add -f dist/", "test": "jest" },