src/components/filters/filters.js
Function FiltersViewModel
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FiltersViewModel( params ) {
var self = this;
this.filters = ko.observableArray( [] );
this.setChoices = function () {
Avoid too many return
statements within this function. Open
Open
return 0;