Commit Graph

18 Commits (30666618ea13cab78ed82ffe10d1a516c2c5a895)

Author SHA1 Message Date
fusagiko / takayamaki f14395c2cf Allow `==` when null checking (#24593) 2023-04-19 17:46:46 +02:00
Nick Schonning d0bf149232 Move ESLint configs to overrides (#24370) 2023-04-03 12:41:10 +02:00
fusagiko / takayamaki 4866812b28 [Proposal] Make able to write React in Typescript (#16210)
Co-authored-by: berlysia <berlysia@gmail.com>
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
2023-04-03 03:31:39 +02:00
Yamagishi Kazutoshi e272fc91e4 Remove legacy decorators syntax (#18357) 2023-03-24 03:17:53 +01:00
Renaud Chaput ae3812d182 Rename JSX files with proper `.jsx` extension (#23733) 2023-02-20 03:20:59 +01:00
Nick Schonning a80ff32d9a Enable ESLint Promise plugin defaults (#22229) 2023-02-16 15:30:56 +09:00
Nick Schonning 2663b421be Enable ESLint import recommended rules (#23315) 2023-02-13 15:12:31 +01:00
Nick Schonning 1c2ca9557f Enable ESLint no-useless-escape (#23311) 2023-02-13 15:12:14 +01:00
Nick Schonning 15e32432b0 Enable ESLint jsx-a11y/recommended ruleset (#23309) 2023-01-30 14:18:12 +09:00
Nick Schonning 4daa6799bb Ignore ESLint nested ternary (#23310) 2023-01-30 14:17:46 +09:00
Nick Schonning 6c2f7e2667 Enable ESLint react/recommended ruleset (#22460) 2023-01-30 03:08:37 +01:00
Nick Schonning ffcd50da2b Update hasOwnProperty calls for ESLint (#23307) 2023-01-30 03:07:51 +01:00
Nick Schonning 507f2b4c1e Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
2022-12-19 00:51:37 +09:00
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