RocketChat/Rocket.Chat.Ops

View on GitHub
packages/rocketchat-chatops/client/views/droneflight.coffee

Summary

Maintainability
Test Coverage

Line contains inconsistent indentation
Open

        if GoogleMaps.loaded()

Line contains inconsistent indentation
Open

    GoogleMaps.ready 'flightMap', (map) ->

Line contains inconsistent indentation
Open

    flightMapOptions: ->

Line contains inconsistent indentation
Open

        console.log('ready')

Line ends with trailing whitespace
Open

        marker2 = new google.maps.Marker({position: new google.maps.LatLng(35.660537,-78.846959), icon: greenicon, map: map.instance})    

Line contains tab indentation
Open

    flightMapOptions: ->

Line contains tab indentation
Open

        marker2.setLabel('2')

Line contains tab indentation
Open

        greenicon = {path: google.maps.SymbolPath.CIRCLE, fillColor: "green", fillOpacity: 0.8, strokeColor: "gold", strokeWeight: 2, scale: 10}

Line ends with trailing whitespace
Open

        marker = new google.maps.Marker({position: new google.maps.LatLng(35.661848,-78.843165), icon: redicon,  map: map.instance})    

Line contains tab indentation
Open

        marker.setLabel('1')

Line exceeds maximum allowed length
Open

        marker = new google.maps.Marker({position: new google.maps.LatLng(35.661848,-78.843165), icon: redicon,  map: map.instance})    

Line exceeds maximum allowed length
Open

        marker2 = new google.maps.Marker({position: new google.maps.LatLng(35.660537,-78.846959), icon: greenicon, map: map.instance})    

Line contains tab indentation
Open

        if GoogleMaps.loaded()

Line contains tab indentation
Open

        marker = new google.maps.Marker({position: new google.maps.LatLng(35.661848,-78.843165), icon: redicon,  map: map.instance})    

Line contains tab indentation
Open

            console.log('helper run')

Line exceeds maximum allowed length
Open

        greenicon = {path: google.maps.SymbolPath.CIRCLE, fillColor: "green", fillOpacity: 0.8, strokeColor: "gold", strokeWeight: 2, scale: 10}

Line contains tab indentation
Open

    GoogleMaps.ready 'flightMap', (map) ->

Line contains tab indentation
Open

        console.log('ready')

Line contains tab indentation
Open

        redicon = { path: google.maps.SymbolPath.CIRCLE, fillColor: "red", fillOpacity: 0.8, strokeColor: "gold", strokeWeight: 2, scale: 10}    

Line exceeds maximum allowed length
Open

        redicon = { path: google.maps.SymbolPath.CIRCLE, fillColor: "red", fillOpacity: 0.8, strokeColor: "gold", strokeWeight: 2, scale: 10}    

Line contains tab indentation
Open

            return {center: new google.maps.LatLng(35.6609285,-78.8456125), zoom: 17}

Line ends with trailing whitespace
Open

        redicon = { path: google.maps.SymbolPath.CIRCLE, fillColor: "red", fillOpacity: 0.8, strokeColor: "gold", strokeWeight: 2, scale: 10}    

Line contains tab indentation
Open

        marker2 = new google.maps.Marker({position: new google.maps.LatLng(35.660537,-78.846959), icon: greenicon, map: map.instance})    

There are no issues that match your filters.

Category
Status