Commit Graph

11 Commits (db2c58d47ae0db8490a30cd3846f30e615c382b5)

Author SHA1 Message Date
Nick Schonning db2c58d47a
Enable ESLint no-useless-escape (#23311) 2 years ago
Nick Schonning 96d26a9417
Enable ESLint jsx-a11y/recommended ruleset (#23309) 2 years ago
Nick Schonning 1032d45644
Ignore ESLint nested ternary (#23310) 2 years ago
Nick Schonning cbf5ea39d0
Enable ESLint react/recommended ruleset (#22460) 2 years ago
Nick Schonning 131e6403cc
Update hasOwnProperty calls for ESLint (#23307) 2 years ago
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
2 years ago
Yamagishi Kazutoshi 84266f87e7
Replace from Code Climate to Super-Linter (#18587) 2 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) 4 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