chore: Add eslint rule for object shorthand (#3955)
This commit is contained in:
@@ -31,7 +31,7 @@ import NotContainsUrl from "./validators/NotContainsUrl";
|
||||
tableName: "groups",
|
||||
modelName: "group",
|
||||
validate: {
|
||||
isUniqueNameInTeam: async function () {
|
||||
async isUniqueNameInTeam() {
|
||||
const foundItem = await Group.findOne({
|
||||
where: {
|
||||
teamId: this.teamId,
|
||||
|
||||
Reference in New Issue
Block a user