replaced eslint:recommended with prettier

This commit is contained in:
Wyatt Johnson
2018-01-11 20:00:34 -07:00
parent d56c19016a
commit 0abc2ca243
649 changed files with 16235 additions and 13008 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
/**
* check will ensure that the user has the desired roles.
*
* @param {Object} user user being checked for roles
* @param {Array<String>} roles roles to check that the user has
*/
const check = (user, roles) => roles.some((role) => role === user.role);
const check = (user, roles) => roles.some(role => role === user.role);
module.exports = {
check
check,
};