snowplow/snowplow-javascript-tracker

View on GitHub
plugins/browser-plugin-geolocation/src/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function enableGeolocationContext has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function enableGeolocationContext(trackers: Array<string> = Object.keys(_trackers)) {
  const navigatorAlias = navigator;

  trackers.forEach((t) => {
    //Mark as enabled
Severity: Minor
Found in plugins/browser-plugin-geolocation/src/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status