jrm2k6/react-markdown-editor

View on GitHub

Showing 4 of 22 total issues

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

  render: function() {
    var divContent;
    var editorMenu;

    if (this.state.inEditMode) {
Severity: Minor
Found in src/MarkdownEditor.js - About 1 hr to fix

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

      render: function() {
        var styleActiveTab = objectAssign({}, MarkdownEditorTabs.defaultProps.styles.styleActiveTab, this.props.styles.styleActiveTab);
        var styleMarkdownEditorTabs = objectAssign({}, MarkdownEditorTabs.defaultProps.styles.styleMarkdownEditorTabs, this.props.styles.styleMarkdownEditorTabs);
        var styleTab = objectAssign({}, MarkdownEditorTabs.defaultProps.styles.styleTab, this.props.styles.styleTab);
    
    
    Severity: Minor
    Found in src/components/MarkdownEditorTabs.js - About 1 hr to fix

      Function getButtonMaterializeIcon has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        getButtonMaterializeIcon: function(isDisabled, onClickHandler, styleBtn, iconName, containerClassName) {
      Severity: Minor
      Found in src/mixins/ButtonManagerMixin.js - About 35 mins to fix

        Function getButtonFontAwesomeIcon has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          getButtonFontAwesomeIcon: function(isDisabled, onClickHandler, styleBtn, iconName, containerClassName) {
        Severity: Minor
        Found in src/mixins/ButtonManagerMixin.js - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language