angular/angular-hint

View on GitHub

Showing 82 of 90 total issues

Function getter has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

function getter(obj, path, bindFnToScope) {
if (!path) return obj;
var keys = path.split('.');
var key;
var lastInstance = obj;
Severity: Minor
Found in src/lib/debug-parse.js - About 25 mins to fix

Function exports has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

module.exports = function(createdModules) {
var unusedModules = [];
for(var module in createdModules) {
if(!getModule(module)) {
var cModule = createdModules[module],
Severity: Minor
Found in src/modules/angular-hint-modules/getUnusedModules.js - About 25 mins to fix
Severity
Category
Status
Source
Language