plugins/browser-plugin-youtube-tracking/src/entities.ts
Function buildYouTubeEntity
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function buildYouTubeEntity(conf: TrackingOptions): SelfDescribingJson<YouTubeEntity> | null {
const { player, urlParameters = {} } = conf;
if (!player) return null;