Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 19, 2023
1 parent e65247c commit e8734cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/sustainable/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export function perParty(pageXray, greenDomains, CO2) {
// calculate co2 per first/third party
const firstPartyRegEx = pageXray.firstPartyRegEx;
for (let d of Object.keys(pageXray.domains)) {
// eslint-disable-next-line unicorn/prefer-regexp-test
if (d.match(firstPartyRegEx)) {
thirdParty += CO2.perByte(
pageXray.domains[d].transferSize,
Expand Down

0 comments on commit e8734cd

Please sign in to comment.