IBM-Watson/a11y.js

View on GitHub

Showing 2 of 4 total issues

Function A11yState has 162 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var A11yState = function A11yState () {
    var self = this;

    //////////////////////////////
    // Toggle for suppressing output
Severity: Major
Found in build/a11y-state.js - About 6 hrs to fix

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

    module.exports = function (gulp, distPaths, outPath) {
      // Run once
      gulp.task('dist--each', function (done) {
        distPaths = distPaths || toDist;
        outPath = outPath || placeDist;
    Severity: Minor
    Found in tasks/dist.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language