From b7deaec4280a38db99483b6aff8d306f5cc7bf82 Mon Sep 17 00:00:00 2001 From: Jason Huang Date: Wed, 27 Sep 2023 16:18:27 -0400 Subject: [PATCH] ignore unused-javascript lint error --- lighthouserc.cjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lighthouserc.cjs b/lighthouserc.cjs index 4a7aeb6..e36d67d 100644 --- a/lighthouserc.cjs +++ b/lighthouserc.cjs @@ -20,7 +20,9 @@ module.exports = { // see: https://github.com/GoogleChrome/lighthouse/issues/14784 "bf-cache": "off", // don't think it's possible to properly evaluate csp either - "csp-xss": ["off"], + "csp-xss": "off", + // google analytics has unused js, since we don't own it there's nothing we can do + "unused-javascript": "warn" }, }, },