GroceriStar/cards-wrapper-component

View on GitHub

Showing 3 of 11 total issues

Function Card5 has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Card5 = () => {
  const styles = {
    width: 300
  }

Severity: Major
Found in src/components/Cards/Card5.js - About 2 hrs to fix

    Function DefaultCard5 has 49 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const DefaultCard5 = () => {
      return (
        <div style={{ margin: 24 }}>
          <p style={{ marginBottom: 24 }}>
            Current antd version: {version} <br />
    Severity: Minor
    Found in src/components/Cards/Default/DefaultCard.js - About 1 hr to fix

      Function ExampleRecipeListView has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      const ExampleRecipeListView = (data) => {
        return (
          <div>
      
            <h3 style={h3Style}>
      Severity: Minor
      Found in src/views/ExampleRecipeListView.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language