Implemented ESlint and passed down the rules

This commit is contained in:
Alexis
2021-01-20 19:07:56 +01:00
parent 615cced6ed
commit b318a88023
37 changed files with 2119 additions and 568 deletions

View File

@@ -6,6 +6,6 @@ const Ingredient = {
"description": { "type": "string" }
},
"required": ["name", "description"]
}
};
module.exports = Ingredient
module.exports = Ingredient;

View File

@@ -7,6 +7,6 @@ const MetaSchool = {
"schools": { "type": "array" }
},
"required": ["name", "description"]
}
};
module.exports = MetaSchool
module.exports = MetaSchool;

View File

@@ -7,6 +7,6 @@ const School = {
"meta_school_id": { "type": "number" },
},
"required": ["name", "description", "meta_school_id"]
}
};
module.exports = School
module.exports = School;

View File

@@ -34,6 +34,6 @@ const Spell = {
}
},
"required": ["name", "description"]
}
};
module.exports = Spell
module.exports = Spell;

View File

@@ -7,6 +7,6 @@ const User = {
"password": { "type": "string" },
},
"required": ["name", "password", "mail"]
}
};
module.exports = User
module.exports = User;

View File

@@ -5,6 +5,6 @@ const Variable = {
"description": { "type": "string" },
},
"required": ["description"]
}
};
module.exports = Variable
module.exports = Variable;