tsurupin/portfolio

View on GitHub
frontend/src/shared/components/textEditors/Editor/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

  render() {
    const { editorState } = this.state;

    return (
      <div className={styles.root} onBlur={this.handleUpdate} >
Severity: Minor
Found in frontend/src/shared/components/textEditors/Editor/index.js - About 1 hr to fix

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

      constructor(props) {
        super(props);
    
        if (props.value) {
          const blocks = convertFromRaw(JSON.parse(props.value));
    Severity: Minor
    Found in frontend/src/shared/components/textEditors/Editor/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status