Change ESLint quote-props rule to as-needed

Also fixes all files flagged by the rule
This commit is contained in:
Aniruddh Agarwal
2016-04-15 23:48:02 +08:00
parent f492e58a5b
commit 09bf747cfc
8 changed files with 10 additions and 10 deletions

View File

@ -44,7 +44,7 @@ module.exports = function(User) {
// username should not be in blacklist
User.validatesExclusionOf('username', {
'in': blacklistedUsernames,
in: blacklistedUsernames,
message: 'is taken'
});