Add stricter/better ESLint config (#589)

* Add stricter/better ESLint config

* Remove more unnecessary @returns
This commit is contained in:
Schuyler Cebulskie
2016-09-03 15:45:23 -04:00
committed by Amish Shah
parent 2682c07bd8
commit 68acf37fd4
33 changed files with 266 additions and 174 deletions

View File

@@ -212,7 +212,7 @@ class Role {
}
}
return ((this.permissions & permission) > 0);
return (this.permissions & permission) > 0;
}
/**
@@ -229,7 +229,7 @@ class Role {
* @readonly
*/
get hexColor() {
let col = (this.color).toString(16);
let col = this.color.toString(16);
while (col.length < 6) {
col = `0${col}`;
}