ManiaJS/ManiaJS

View on GitHub
src/Models/Setting.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function default has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (sequelize: Sequelize, DataTypes: DataTypes) {
  return sequelize.define('Setting', {
    context: {
      type: DataTypes.STRING,
      allowNull: false
Severity: Minor
Found in src/Models/Setting.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status