From bb1af1793d7aa8400c67ca708e636b6c619abcf0 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Tue, 4 Apr 2023 15:42:06 -0700 Subject: [PATCH] chore: update lint-staged config Now all `.ts` and `.js` files will be linted and formatted. --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2fa252a55..f87cff602 100644 --- a/package.json +++ b/package.json @@ -115,8 +115,9 @@ "e2e-test:native-web-tap": "mocha \"./test/functional/web/safari-nativewebtap-e2e-specs.js\" --exit --timeout 10m" }, "lint-staged": { - "*.js": [ - "eslint --fix" + "*.(js|ts)": [ + "eslint --fix", + "prettier --write" ] }, "prettier": {