RocketChat/Rocket.Chat.Ops

View on GitHub

Showing 611 of 611 total issues

Line contains tab indentation
Open

    if !our_repo?

Line contains tab indentation
Open

            else

Line contains tab indentation
Open

            reply = ""

Line contains tab indentation
Open

            reply += "You can add me for your own public or private GitHub projects.\n"

Line contains tab indentation
Open

            reply += "Please add to my abilities and contribute your code to Rocket.Chat.\n"

Line contains tab indentation
Open

            res.send disp_issues(issues, true)

Line contains tab indentation
Open

            res.send disp_issue(issue)

Line contains tab indentation
Open

            res.send output

Line contains tab indentation
Open

    console.log('startup hooked')

Line contains tab indentation
Open

                order: 4

Line contains tab indentation
Open

            RocketChat.TabBar.addButton

Line exceeds maximum allowed length
Open

        return "# This is a full featured, syntax highlighted editor\n# BOTs can fetch, edit, commit, and save source code\n#\n\nvar express = require('express');\nvar app = express();\n// respond with \"hello world\" when a GET request is made to the homepage

Throwing strings is forbidden
Open

      throw "`accessLevel` must be one of #{JSON.stringify @access_levels}"

Line exceeds maximum allowed length
Open

        return @get "projects/#{Utils.parseProjectId projectId}/issues/#{parseInt issueId}/notes", params, cb

Unnecessary fat arrow
Open

    @get "projects/#{Utils.parseProjectId projectId}/hooks", (data) => fn data if fn

Line exceeds maximum allowed length
Open

    @get "projects/#{Utils.parseProjectId projectId}/members/#{parseInt userId}", (data) => fn data if fn

Line exceeds maximum allowed length
Open

    @get "projects/#{Utils.parseProjectId projectId}/repository/branches", (data) => fn data if fn

Line exceeds maximum allowed length
Open

    @get "projects/#{Utils.parseProjectId projectId}/repository/branches/#{encodeURI branchId}", (data) => fn data if fn

Line exceeds maximum allowed length
Open

      @delete "projects/#{Utils.parseProjectId projectId}/repository/branches/#{encodeURI branchId}", (data) => fn data if fn

Unnecessary fat arrow
Open

    @post "projects/#{Utils.parseProjectId params.projectId}/repository/files", params, (data) => fn data if fn
Severity
Category
Status
Source
Language