Commit Graph

5 Commits (c0dcf15d1ec357cedd89025a1b210bdc21422b59)

Author SHA1 Message Date
Yamagishi Kazutoshi 84266f87e7
Replace from Code Climate to Super-Linter ()
CommanderRoot 0ec695e036
Replace deprecated String.prototype.substr() ()
* Replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

* Change String.prototype.substring() to String.prototype.slice()

.substring() and .slice() work very similary but .slice() is a bit faster and stricter

* Add ESLint rule to forbid usage of .substr and .substring

.substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
abcang bb9d4e2776
Enable promise/catch-or-return allowFinally ()
Eugen Rochko 1f95190202
Refactor icons in web UI to use Icon component ()
* Refactor uses of icons to an Icon component in web UI

* Refactor options passed to the Icon component

* Make tests work with absolute component paths
Yamagishi Kazutoshi d5bdfaf0bb Increase files checked by ESLint ()