src/components/layout/content/NewSnippet.js

Summary

Maintainability
C
1 day
Test Coverage

File NewSnippet.js has 397 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import styled from 'styled-components';
import {
Severity: Minor
Found in src/components/layout/content/NewSnippet.js - About 5 hrs to fix

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

      render() {
        const { theme, tags } = this.props;
        const languageFromSettings = getSetting('setings-default-new-snippet-language', 'Text');
    
        return (
    Severity: Major
    Found in src/components/layout/content/NewSnippet.js - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status