intellix/angular-validators

View on GitHub

Showing 4 of 14 total issues

Function link has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            link: function (scope, elem, attrs, ngModel)
            {
                if (!ngModel) {
                    return;
                }
Severity: Minor
Found in src/min-age.js - About 1 hr to fix

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

    module.exports = function(grunt) {
      grunt.initConfig({
    
        clean: ['dist'],
    
    
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Function link has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                      link: function(scope, element, attrs, ngModel)
                      {
                          if (!ngModel) {
                              return;
                          }
      Severity: Minor
      Found in src/cards-cvc.js - About 1 hr to fix

        Function link has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                        link: function(scope, element, attrs, ngModel)
                        {
                            if (!ngModel) {
                                return;
                            }
        Severity: Minor
        Found in src/cards-cvc.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language