lidia-freitas/sellect.js

View on GitHub

Showing 3 of 9 total issues

File sellect.js has 302 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * @file sellect.js is micro-library.
 * Scaffolded with generator-microjs
 * @author Lidia Freitas <lidiafreitas.me@gmail.com>
 */
Severity: Minor
Found in src/sellect.js - About 3 hrs to fix

    Function exports has 65 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function (grunt) {
        var config = {
            app: './src',
            dist: './dist'
        };
    Severity: Major
    Found in gruntfile.js - About 2 hrs to fix

      Function initializeEvents has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function initializeEvents () {
              var self = this;
      
              if (self.options) {
                  self.originListHTML.addEventListener('click', function () {
      Severity: Minor
      Found in src/sellect.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language