Skip to content

Commit

Permalink
Update eslint-config version and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed May 12, 2019
1 parent b335bce commit d5af5e7
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 279 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"eris": "^0.9.0"
},
"devDependencies": {
"@axonteam/eslint-config": "^2.1.0",
"@axonteam/eslint-config": "^2.1.1",
"chalk": "^2.4.2",
"eris": "git+https://www.github.com/khaazz/eris.git#axoncore",
"eslint": "^5.6.0",
"jsdoc-to-markdown": "^4.0.1",
"mongoose": "^5.4.3",
"superagent": "^4.0.0",
"superagent": "^5.0.5",
"yarn": "^1.9.4"
},
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/Utility/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ class Utils {
*/
isRoleHigher(role1, role2) {
if (!role1) {
return false;
return false;
}

if (role1 && !role2) {
return true;
return true;
}

return role1.position > role2.position;
Expand Down
Loading

0 comments on commit d5af5e7

Please sign in to comment.