Implemented ESlint and passed down the rules
This commit is contained in:
@@ -6,6 +6,6 @@ const Ingredient = {
|
||||
"description": { "type": "string" }
|
||||
},
|
||||
"required": ["name", "description"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = Ingredient
|
||||
module.exports = Ingredient;
|
||||
@@ -7,6 +7,6 @@ const MetaSchool = {
|
||||
"schools": { "type": "array" }
|
||||
},
|
||||
"required": ["name", "description"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = MetaSchool
|
||||
module.exports = MetaSchool;
|
||||
@@ -7,6 +7,6 @@ const School = {
|
||||
"meta_school_id": { "type": "number" },
|
||||
},
|
||||
"required": ["name", "description", "meta_school_id"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = School
|
||||
module.exports = School;
|
||||
@@ -34,6 +34,6 @@ const Spell = {
|
||||
}
|
||||
},
|
||||
"required": ["name", "description"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = Spell
|
||||
module.exports = Spell;
|
||||
@@ -7,6 +7,6 @@ const User = {
|
||||
"password": { "type": "string" },
|
||||
},
|
||||
"required": ["name", "password", "mail"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = User
|
||||
module.exports = User;
|
||||
@@ -5,6 +5,6 @@ const Variable = {
|
||||
"description": { "type": "string" },
|
||||
},
|
||||
"required": ["description"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = Variable
|
||||
module.exports = Variable;
|
||||
Reference in New Issue
Block a user