Commit Graph

5 Commits (a2662afdf03ae3224b3ea9c48b20ecceef291e40)

Author SHA1 Message Date
Yamagishi Kazutoshi 848648e058 Replace from Code Climate to Super-Linter (#18587) 2022-06-01 19:22:35 +02:00
CommanderRoot 07f1888854 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>
2022-04-04 12:19:45 -04:00
abcang 987aa29930 Enable promise/catch-or-return allowFinally (#14289) 2020-07-11 23:51:22 +02:00
Eugen Rochko 77dc5cc132 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
2019-02-01 00:14:05 +01:00
Yamagishi Kazutoshi 566540ec71 Increase files checked by ESLint (#9705) 2019-01-04 11:28:38 +01:00