Showing 398 of 398 total issues

Function Property has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        function Property(kind, key, computed, value, method, shorthand) {
Severity: Minor
Found in dist/csp.tmpl.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
                                this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
                            }
    Severity: Major
    Found in dist/csp.tmpl.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                      if ('<>=!+-*%&|^/'.indexOf(str) >= 0) {
                                          ++this.index;
                                      }
      Severity: Major
      Found in dist/csp.tmpl.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                      if (r instanceof ReturnValue){ // break out
                        if (r.type == 'break') break
                        result = r;
                      }
        Severity: Major
        Found in dist/csp.tmpl.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                              else if (this.matchContextualKeyword('of')) {
                                  if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
                                      this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
                                  }
                                  this.nextToken();
          Severity: Major
          Found in dist/csp.tmpl.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                        if (match[1]) {
                          if (match[1] === ch) ++ix;
                          else if (!--ix) break
                        } else {
                          rech.lastIndex = pushQBlock(match.index, rech.lastIndex, match[2]);
            Severity: Major
            Found in dist/csp.tmpl.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                          if (match[1]) {
                            if (match[1] === ch) ++ix
                            else if (!--ix) break
                          } else {
                            rech.lastIndex = pushQBlock(match.index, rech.lastIndex, match[2])
              Severity: Major
              Found in dist/es6.tmpl.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                        if (this.trackComment) {
                                            comments = comments.concat(comment);
                                        }
                Severity: Major
                Found in dist/csp.tmpl.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                                  if (ch && character_1.Character.isOctalDigit(ch.charCodeAt(0))) {
                                                      var octToDec = this.octalToDecimal(ch);
                                                      octal = octToDec.octal || octal;
                                                      str += String.fromCharCode(octToDec.code);
                                                  }
                  Severity: Major
                  Found in dist/csp.tmpl.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                    else if (ch === 0x3C) {
                                        if (this.source.slice(this.index + 1, this.index + 4) === '!--') {
                                            this.index += 4; // `<!--`
                                            var comment = this.skipSingleLineComment(4);
                                            if (this.trackComment) {
                    Severity: Major
                    Found in dist/csp.tmpl.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                  if (expr.type === syntax_1.Syntax.Identifier && expr.name === 'yield') {
                                                      arrow = true;
                                                      expr = {
                                                          type: ArrowParameterPlaceHolder,
                                                          params: [expr]
                      Severity: Major
                      Found in dist/csp.tmpl.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                if (ch === '\r' && this.source[this.index] === '\n') {
                                                    ++this.index;
                                                }
                        Severity: Major
                        Found in dist/csp.tmpl.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if ((this.source.charCodeAt(this.index + 1) === 0x2D) && (this.source.charCodeAt(this.index + 2) === 0x3E)) {
                                                  // '-->' is a single-line comment
                                                  this.index += 3;
                                                  var comment = this.skipSingleLineComment(3);
                                                  if (this.trackComment) {
                          Severity: Major
                          Found in dist/csp.tmpl.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                        for (str += '\\u'; restore < this.index; ++restore) {
                                                            str += this.source[restore];
                                                        }
                            Severity: Major
                            Found in dist/csp.tmpl.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                          if (arrow) {
                                                              break;
                                                          }
                              Severity: Major
                              Found in dist/csp.tmpl.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                        while (--pos >= 0 && RE_VN_CHAR.test(code[pos]));
                                Severity: Major
                                Found in dist/es6.tmpl.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if (this.scanner.isRestrictedWord(id.name)) {
                                                                  this.tolerateUnexpectedToken(token, messages_1.Messages.StrictLHSAssignment);
                                                              }
                                  Severity: Major
                                  Found in dist/csp.tmpl.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                        if (!this.match('}')) {
                                                            this.expect(',');
                                                        }
                                    Severity: Major
                                    Found in dist/csp.tmpl.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                              if (~beforeReWords.indexOf(code.slice(pos + 1, end))) {
                                                start = next
                                              }
                                      Severity: Major
                                      Found in dist/es6.tmpl.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                    if (!arrow) {
                                                                        if (!this.context.isBindingElement) {
                                                                            this.throwUnexpectedToken(this.lookahead);
                                                                        }
                                                                        if (expr.type === syntax_1.Syntax.SequenceExpression) {
                                        Severity: Major
                                        Found in dist/csp.tmpl.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language