jzaefferer/grunt-html

View on GitHub

Showing 3 of 13 total issues

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

module.exports = function( config, done ) {
  var path = require( 'path' );
  var exec = require( 'child_process' ).exec;
  var chunkify = require( './chunkify' );
  var async = require( 'async' );
Severity: Major
Found in lib/htmllint.js - About 4 hrs to fix

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

    module.exports = function( grunt ) {
    
      grunt.registerMultiTask( 'htmllint', 'Validate html files', function() {
        var done = this.async(),
          files = grunt.file.expand( this.filesSrc ),
    Severity: Major
    Found in tasks/html.js - About 2 hrs to fix

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

      module.exports = function( results ) {
        var path = require( 'path' ),
          files = {},
          out = [],
          pairs = {
      Severity: Major
      Found in lib/reporters/checkstyle.js - About 2 hrs to fix
        Severity
        Category
        Status
        Source