Skip to content

Commit

Permalink
Various Files: Fix LGTM trailing semi-colon (#8830)
Browse files Browse the repository at this point in the history
* Update showheroes-bsBidAdapter.js

* Update adyoulikeBidAdapter.js

* Update sonobiBidAdapter.js

* Update mediakeysBidAdapter.js

* Update revcontentBidAdapter.js

* Update vidazooBidAdapter.js

* Update tpmnBidAdapter.js

* Update yandexBidAdapter.js

* Update yieldoneBidAdapter.js

* Update karma.conf.maker.js

* Update trustpidSystem.js

* Update iqmBidAdapter.js

* Update yieldmoBidAdapter.js

* Update tappxBidAdapter.js

* Update e_volutionBidAdapter.js

* Update adrelevantisBidAdapter.js

* Update goldbachBidAdapter.js

* Update Renderer.js

* Update priceFloors.js

* Update bizzclickBidAdapter.js

* Update nobidBidAdapter.js

* Update openxBidAdapter.js

* Update yahoosspBidAdapter.js

* Update rtbhouseBidAdapter.js

* Update admixerBidAdapter.js

* Update gamoshiBidAdapter.js

* Update pubxaiAnalyticsAdapter.js

* Update impactifyBidAdapter.js

* Update pubwiseAnalyticsAdapter.js

* Update sizeMappingV2.js

* Update pubwiseBidAdapter.js

* Update theAdxBidAdapter.js

* Update staqAnalyticsAdapter.js

* Update adtelligentBidAdapter.js

* Update novatiqIdSystem.js

* Update cwireBidAdapter.js

* Update datablocksBidAdapter.js

* Update gothamadsBidAdapter.js

* Update krushmediaBidAdapter.js

* Update vidoomyBidAdapter.js

* Update adtrueBidAdapter.js

* Update userSync.js

* Update targetVideoBidAdapter.js

* Update open8BidAdapter.js

* Update gumgumBidAdapter.js

* Update mgidBidAdapter.js

* Update inskinBidAdapter.js

* Update adxpremiumAnalyticsAdapter.js

* Update emx_digitalBidAdapter.js

* Update betweenBidAdapter.js

* Update pixfutureBidAdapter.js

* Update winrBidAdapter.js

* Update luponmediaBidAdapter.js

* Update interactiveOffersBidAdapter.js

* Update intentIqIdSystem.js

* Update lkqdBidAdapter.js

* Update loganBidAdapter.js

* Update dfpAdServerVideo.js

* Update targeting.js

* Update livewrappedAnalyticsAdapter.js

* Update adnowBidAdapter.js

* Update cleanmedianetBidAdapter.js

* Update sonobiAnalyticsAdapter.js

* Update apstreamBidAdapter.js

* Update quantcastIdSystem.js

* Update prebidmanagerAnalyticsAdapter.js

* Update brightMountainMediaBidAdapter.js

* Update dgkeywordRtdProvider.js

* Update h12mediaBidAdapter.js

* Update permutiveRtdProvider_example.html

* Update dspxBidAdapter.js

* Update radsBidAdapter.js

* Update id5AnalyticsAdapter.js

* Update richaudienceBidAdapter.js

* Update cpmstarBidAdapter.js

* Update vdoaiBidAdapter.js

* Update smaatoBidAdapter.js

* Update adtargetBidAdapter.js

* Update openwebBidAdapter.js

* Update malltvBidAdapter.js

* Update gjirafaBidAdapter.js

* Update integr8BidAdapter.js

* Update fabrickIdSystem.js

* Update sizeMapping.js

* Update adpod.js

* Update adriverBidAdapter.js

* Update trionBidAdapter.js

* Update ebdrBidAdapter.js

* Update getintentBidAdapter.js

* Update pubxBidAdapter.js

* Update schain.js

* Update underdogmediaBidAdapter.js

* Update bidfactory.js

* eslint: update semi-colon rule

Missing semi-colons will now cause an error.

* Update .eslintrc.js
  • Loading branch information
caseywhitmire authored Aug 15, 2022
1 parent 6b0021c commit 6e36e36
Show file tree
Hide file tree
Showing 93 changed files with 141 additions and 141 deletions.
2 changes: 1 addition & 1 deletion integrationExamples/gpt/permutiveRtdProvider_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
}

setLocalStorageData()
setLocalStorageData();

var div_1_sizes = [
[300, 250],
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ module.exports = function(codeCoverage, browserstack, watchMode, file, disableFe
concurrency: 6,

plugins: plugins
}
};

// To ensure that, we are able to run single spec file
// here we are adding preprocessors, when file is passed
Expand Down
2 changes: 1 addition & 1 deletion modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const spec = {
consentString: bidderRequest.gdprConsent.consentString,
// will check if the gdprApplies field was populated with a boolean value (ie from page config). If it's undefined, then default to true
gdprApplies: (typeof bidderRequest.gdprConsent.gdprApplies === 'boolean') ? bidderRequest.gdprConsent.gdprApplies : true
}
};
}
if (bidderRequest.uspConsent) {
payload.uspConsent = bidderRequest.uspConsent;
Expand Down
2 changes: 1 addition & 1 deletion modules/adnowBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const spec = {
if (mediaType === BANNER) {
data.sizes = parseSizesInput(
req.mediaTypes && req.mediaTypes.banner && req.mediaTypes.banner.sizes
).join('|')
).join('|');
} else {
data.width = data.height = 200;

Expand Down
2 changes: 1 addition & 1 deletion modules/adpod.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function callPrebidCacheHook(fn, auctionInstance, bidResponse, afterBidAd
let brandCategoryExclusion = config.getConfig('adpod.brandCategoryExclusion');
let adServerCatId = deepAccess(bidResponse, 'meta.adServerCatId');
if (!adServerCatId && brandCategoryExclusion) {
logWarn('Detected a bid without meta.adServerCatId while setConfig({adpod.brandCategoryExclusion}) was enabled. This bid has been rejected:', bidResponse)
logWarn('Detected a bid without meta.adServerCatId while setConfig({adpod.brandCategoryExclusion}) was enabled. This bid has been rejected:', bidResponse);
afterBidAdded();
} else {
if (config.getConfig('adpod.deferCaching') === false) {
Expand Down
4 changes: 2 additions & 2 deletions modules/adrelevantisBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const spec = {

return params;
}
}
};

function isPopulatedArray(arr) {
return !!(isArray(arr) && arr.length > 0);
Expand Down Expand Up @@ -444,7 +444,7 @@ function bidToTag(bid) {
tag.cpm = bid.params.cpm;
}
tag.allow_smaller_sizes = bid.params.allowSmallerSizes || false;
tag.use_pmt_rule = bid.params.usePaymentRule || false
tag.use_pmt_rule = bid.params.usePaymentRule || false;
tag.prebid = true;
tag.disable_psa = true;
if (bid.params.position) {
Expand Down
2 changes: 1 addition & 1 deletion modules/adriverBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const spec = {

let timeout = null;
if (bidderRequest) {
timeout = bidderRequest.timeout
timeout = bidderRequest.timeout;
}

const payload = {
Expand Down
2 changes: 1 addition & 1 deletion modules/adtargetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function bidToTag(bidRequests, adapterRequest) {
tag.UserIds = deepAccess(bidRequests[0], 'userId');
}

const bids = []
const bids = [];

for (let i = 0, length = bidRequests.length; i < length; i++) {
const bid = prepareBidRequests(bidRequests[i]);
Expand Down
2 changes: 1 addition & 1 deletion modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function bidToTag(bidRequests, adapterRequest) {
}

// end publisher env
const bids = []
const bids = [];

for (let i = 0, length = bidRequests.length; i < length; i++) {
const bid = prepareBidRequests(bidRequests[i]);
Expand Down
2 changes: 1 addition & 1 deletion modules/adtrueBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const VIDEO_CUSTOM_PARAMS = {
'placement': DATA_TYPES.NUMBER,
'minbitrate': DATA_TYPES.NUMBER,
'maxbitrate': DATA_TYPES.NUMBER
}
};

const NATIVE_ASSETS = {
'TITLE': {ID: 1, KEY: 'title', TYPE: 0},
Expand Down
2 changes: 1 addition & 1 deletion modules/adxpremiumAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ adxpremiumAnalyticsAdapter.enableAnalytics = function (config) {
}

adxpremiumAnalyticsAdapter.originEnableAnalytics(config); // call the base class function
}
};

adapterManager.registerAnalyticsAdapter({
adapter: adxpremiumAnalyticsAdapter,
Expand Down
2 changes: 1 addition & 1 deletion modules/adyoulikeBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function getNativeAssets(response, nativeConfig) {
/* Create bid from response */
function createBid(response, bidRequests) {
if (!response || (!response.Ad && !response.Native && !response.Vast)) {
return
return;
}

const request = bidRequests && bidRequests[response.BidID];
Expand Down
4 changes: 2 additions & 2 deletions modules/apstreamBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var dsuModule = (function() {

return {
readOrCreateDsu: readOrCreateDsu
}
};
})();

function serializeSizes(sizes) {
Expand Down Expand Up @@ -343,7 +343,7 @@ function getBids(bids) {
const bidId = bid.bidId;

let mediaType = '';
const mediaTypes = Object.keys(bid.mediaTypes)
const mediaTypes = Object.keys(bid.mediaTypes);
switch (mediaTypes[0]) {
case 'video':
mediaType = 'v';
Expand Down
2 changes: 1 addition & 1 deletion modules/betweenBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const spec = {
}
}

requests.push({data: params})
requests.push({data: params});
})
return {
method: 'POST',
Expand Down
2 changes: 1 addition & 1 deletion modules/bizzclickBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const addNativeParameters = bidRequest => {
wmin = sizes[0];
hmin = sizes[1];
}
asset[props.name] = {}
asset[props.name] = {};
if (bidParams.len) asset[props.name]['len'] = bidParams.len;
if (props.type) asset[props.name]['type'] = props.type;
if (wmin) asset[props.name]['wmin'] = wmin;
Expand Down
2 changes: 1 addition & 1 deletion modules/brightMountainMediaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const spec = {
let response;

try {
response = serverResponse.body
response = serverResponse.body;
bid = response.seatbid[0].bid[0];
} catch (e) {
response = null;
Expand Down
2 changes: 1 addition & 1 deletion modules/cleanmedianetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const spec = {
ext: {
consent: bidderRequest.gdprConsent.consentString
}
}
};
}

const imp = {
Expand Down
6 changes: 3 additions & 3 deletions modules/cpmstarBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const spec = {
fixedEncodeURIComponent(node.name || '') + ',' +
fixedEncodeURIComponent(node.domain || '');
}
url += '&schain=' + schainString
url += '&schain=' + schainString;
}

if (bidderRequest.gdprConsent) {
Expand Down Expand Up @@ -133,7 +133,7 @@ export const spec = {
var cpm = (parseFloat(rawBid.cpm) || 0);

if (!cpm) {
utils.logWarn('cpmstarBidAdapter: server response failed check. Missing cpm')
utils.logWarn('cpmstarBidAdapter: server response failed check. Missing cpm');
return;
}

Expand All @@ -152,7 +152,7 @@ export const spec = {
};

if (rawBid.hasOwnProperty('dealId')) {
bidResponse.dealId = rawBid.dealId
bidResponse.dealId = rawBid.dealId;
}

if (mediaType == BANNER && rawBid.code) {
Expand Down
2 changes: 1 addition & 1 deletion modules/cwireBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,5 @@ export const spec = {

return bidResponses;
},
}
};
registerBidder(spec);
2 changes: 1 addition & 1 deletion modules/datablocksBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export const spec = {
stack: bidderRequest.refererInfo.stack,
timeout: config.getConfig('bidderTimeout')
},
}
};

// ADD REF URL IF FOUND
if (self === top && document.referrer) {
Expand Down
4 changes: 2 additions & 2 deletions modules/dfpAdServerVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function buildDfpVideoUrl(options) {
};

const urlSearchComponent = urlComponents.search;
const urlSzParam = urlSearchComponent && urlSearchComponent.sz
const urlSzParam = urlSearchComponent && urlSearchComponent.sz;
if (urlSzParam) {
derivedParams.sz = urlSzParam + '|' + derivedParams.sz;
}
Expand Down Expand Up @@ -186,7 +186,7 @@ export function buildAdpodVideoUrl({code, params, callback} = {}) {
let initialValue = {
[adpodUtils.TARGETING_KEY_PB_CAT_DUR]: undefined,
[adpodUtils.TARGETING_KEY_CACHE_ID]: undefined
}
};
let customParams = {};
if (targeting[code]) {
customParams = targeting[code].reduce((acc, curValue) => {
Expand Down
2 changes: 1 addition & 1 deletion modules/dgkeywordRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function getDgKeywordsAndSet(reqBidsConfigObj, callback, moduleConfig, us
keywords['opectx'] = res['t'];
}
if (Object.keys(keywords).length > 0) {
const targetBidKeys = {}
const targetBidKeys = {};
for (let bid of setKeywordTargetBidders) {
// set keywords to params
bid.params.keywords = keywords;
Expand Down
2 changes: 1 addition & 1 deletion modules/dspxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const spec = {
method: 'GET',
url: endpoint,
data: objectToQueryString(payload),
}
};
});
},
interpretResponse: function(serverResponse, bidRequest) {
Expand Down
6 changes: 3 additions & 3 deletions modules/e_volutionBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const spec = {
let location;
// TODO: this odd try-catch block was copied in several adapters; it doesn't seem to be correct for cross-origin
try {
location = new URL(bidderRequest.refererInfo.page)
location = new URL(bidderRequest.refererInfo.page);
winTop = window.top;
} catch (e) {
location = winTop.location;
Expand All @@ -93,7 +93,7 @@ export const spec = {
request.ccpa = bidderRequest.uspConsent;
}
if (bidderRequest.gdprConsent) {
request.gdpr = bidderRequest.gdprConsent
request.gdpr = bidderRequest.gdprConsent;
}
}
const len = validBidRequests.length;
Expand All @@ -106,7 +106,7 @@ export const spec = {
bidId: bid.bidId,
bidfloor: getBidFloor(bid),
eids: []
}
};

if (bid.userId) {
getUserId(placement.eids, bid.userId.id5id, 'id5-sync.com');
Expand Down
2 changes: 1 addition & 1 deletion modules/ebdrBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const spec = {
h: whArr[1]
},
bidfloor: bidFloor
})
});
ebdrReq[bid.bidId] = {mediaTypes: _mediaTypes,
w: whArr[0],
h: whArr[1]
Expand Down
2 changes: 1 addition & 1 deletion modules/emx_digitalBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const spec = {
emxData = emxAdapter.getGdpr(bidderRequest, Object.assign({}, emxData));
emxData = emxAdapter.getSupplyChain(bidderRequest, Object.assign({}, emxData));
if (bidderRequest && bidderRequest.uspConsent) {
emxData.us_privacy = bidderRequest.uspConsent
emxData.us_privacy = bidderRequest.uspConsent;
}

// adding eid support
Expand Down
4 changes: 2 additions & 2 deletions modules/fabrickIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const fabrickIdSubmodule = {
}
}
// pull off the trailing &
url = url.slice(0, -1)
url = url.slice(0, -1);
const referer = _getRefererInfo(configParams);
const refs = new Map();
_setReferrer(refs, referer.topmostLocation);
Expand Down Expand Up @@ -174,7 +174,7 @@ export function appendUrl(url, paramName, s, configParams) {
s = s.substring(0, thisMaxRefLen - 2);
}
}
return `${url}${s}`
return `${url}${s}`;
} else {
return url;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/gamoshiBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export const spec = {
let gdpr = gdprApplies ? 1 : 0;

if (gdprApplies && gdprConsent.consentString) {
consentString = encodeURIComponent(gdprConsent.consentString)
consentString = encodeURIComponent(gdprConsent.consentString);
}

if (uspConsent) {
Expand Down
2 changes: 1 addition & 1 deletion modules/getintentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const spec = {
return bids;
}

}
};

function buildUrl(bid) {
return 'https://' + BID_HOST + (bid.is_video ? BID_VIDEO_PATH : BID_BANNER_PATH);
Expand Down
4 changes: 2 additions & 2 deletions modules/gjirafaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const spec = {
placements: placements,
contents: contents,
data: data
}
};

return [{
method: 'POST',
Expand Down Expand Up @@ -113,7 +113,7 @@ export const spec = {
}
return bidResponses;
}
}
};

/**
* Generate size param for bid request using sizes array
Expand Down
Loading

0 comments on commit 6e36e36

Please sign in to comment.