andrewshawcare/thoughtworks-email-signature-generator

View on GitHub

Showing 3 of 34 total issues

Function render has 135 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        render: function () {
            var properties = this.props.properties[this.state.language],
                theme = this.props.themes[this.state.theme];

            // FIXME: Figure out an elegant solution to updating out-of-scope DOM
Severity: Major
Found in public/jsx/email_signature_generator.js - About 5 hrs to fix

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

            render: function () {
                return <div className={this.props.className} style={{"float": "left"}}>
                    <table cellSpacing="0" cellPadding="0" border="0" style={{
                        "fontSize": "12px",
                        "fontWeight": "normal",
    Severity: Major
    Found in public/jsx/signature.js - About 2 hrs to fix

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

      module.exports = (function () {
          "use strict";
          
          var globs = require("./data/globs");
          
      Severity: Minor
      Found in tasks/watch.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language