Commit Graph

5 Commits (628b3fa44916dba1bcb24af0a92b49edc4bf49ce)

Author SHA1 Message Date
Yamagishi Kazutoshi 84266f87e7
Replace from Code Climate to Super-Linter (#18587) 3 years ago
CommanderRoot 0ec695e036
Replace deprecated String.prototype.substr() (#17949)
* 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>
3 years ago
abcang bb9d4e2776
Enable promise/catch-or-return allowFinally (#14289) 5 years ago
Eugen Rochko 1f95190202
Refactor icons in web UI to use Icon component (#9951)
* 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
6 years ago
Yamagishi Kazutoshi d5bdfaf0bb Increase files checked by ESLint (#9705) 6 years ago