plugins/browser-plugin-geolocation/src/index.ts
Function enableGeolocationContext
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function enableGeolocationContext(trackers: Array<string> = Object.keys(_trackers)) {
const navigatorAlias = navigator;
trackers.forEach((t) => {
//Mark as enabled