andela/codepirates-ah-backend

View on GitHub
src/models/user.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (sequelize, DataTypes) => {
  const user = sequelize.define('user', {
    firstname: DataTypes.STRING,
    lastname: DataTypes.STRING,
    email: DataTypes.STRING,
Severity: Minor
Found in src/models/user.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status