Change ESLint quote-props rule to as-needed
Also fixes all files flagged by the rule
This commit is contained in:
@ -44,7 +44,7 @@ module.exports = function(User) {
|
||||
|
||||
// username should not be in blacklist
|
||||
User.validatesExclusionOf('username', {
|
||||
'in': blacklistedUsernames,
|
||||
in: blacklistedUsernames,
|
||||
message: 'is taken'
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user