Commit Graph

15 Commits (d1b057a0ac41a5756b6a416d2f290b086cb59220)

Author SHA1 Message Date
Yamagishi Kazutoshi d1b057a0ac
Remove legacy decorators syntax (#18357) 1 year ago
Renaud Chaput 44a7d87cb1
Rename JSX files with proper `.jsx` extension (#23733) 1 year ago
Nick Schonning 5e1c0c3d94
Enable ESLint Promise plugin defaults (#22229) 1 year ago
Nick Schonning eddfb33dfe
Enable ESLint import recommended rules (#23315) 1 year ago
Nick Schonning db2c58d47a
Enable ESLint no-useless-escape (#23311) 1 year ago
Nick Schonning 96d26a9417
Enable ESLint jsx-a11y/recommended ruleset (#23309) 1 year ago
Nick Schonning 1032d45644
Ignore ESLint nested ternary (#23310) 1 year ago
Nick Schonning cbf5ea39d0
Enable ESLint react/recommended ruleset (#22460) 1 year ago
Nick Schonning 131e6403cc
Update hasOwnProperty calls for ESLint (#23307) 1 year ago
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
1 year 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>
2 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
5 years ago
Yamagishi Kazutoshi d5bdfaf0bb Increase files checked by ESLint (#9705) 5 years ago