Showing 3 of 19 total issues
Function MentionApi
has 251 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MentionApi(options) {
// Create an new instance event without the `new` keyword
if (!(this instanceof MentionApi)) {
File MentionApi.js
has 257 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
var Joi = require('joi');
var RequestFactory = require('./RequestFactory');
Function _decoreWithRequestPaths
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _decoreWithRequestPaths(context, paths) {
paths.forEach(function(path) {
if (['post', 'get', 'put', 'delete'].indexOf(path) > -1) {