RocketChat/Rocket.Chat.Ops

View on GitHub

Showing 611 of 611 total issues

Unnecessary fat arrow
Open

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

Line exceeds maximum allowed length
Open

            reply += "Hi, my name is gitsy, and I am the Rocket.Chat gitlab integration bot.\n"

Line contains tab indentation
Open

                res.send reply

Line contains tab indentation
Open

                if pullreq

Line contains tab indentation
Open

        #{issueText}: \##{issue.number}

Line contains tab indentation
Open

        """

Line contains tab indentation
Open

            reply += "Find my code here:\n"

Line contains tab indentation
Open

    robot.respond /issues for (.*)/i, (res) ->

Line contains tab indentation
Open

        github.get url, (issues) ->

Line contains tab indentation
Open

        github.get url, (issue) ->

Line contains tab indentation
Open

            res.send disp_issue(issue)

Line contains tab indentation
Open

                i18nTitle: 'rocketchat-chatops:Chatops_Title'

Line exceeds maximum allowed length
Open

    RocketChat.settings.add 'Chatops_Username', false, { type: 'string', group: 'Chatops', public: true }

Unnecessary fat arrow
Open

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

Unnecessary fat arrow
Open

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

Unnecessary fat arrow
Open

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

Unnecessary fat arrow
Open

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

Unnecessary fat arrow
Open

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

Line contains tab indentation
Open

            gitlab = gitlabaccess({'url': gitlabURL , 'token': gitlabApiToken })

Line contains tab indentation
Open

        console.error("the environment variable GITLAB_URL must be set for hubot-gitsy to work properly")
Severity
Category
Status
Source
Language