Billmike/More-Recipes

View on GitHub
server/models/recipe.js

Summary

Maintainability
A
0 mins
Test Coverage

Function exports has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

module.exports = (sequelize, DataTypes) => {
  const Recipe = sequelize.define('Recipe', {
    name: {
      allowNull: false,
      type: DataTypes.STRING,
Severity: Major
Found in server/models/recipe.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status