vue/src/shared/models/null_group_model.js
NullGroupModel
has 32 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export default class NullGroupModel {
static singular = 'group';
static plural = 'groups';
static subscription = {};
Function constructor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor() {
const defaults = {
parentId: null,
name: I18n.t('discussion.direct_thread'),
description: '',