Commit Graph

34 Commits (87a88eefa865f80cf682a7fb45f594fab7c8242a)

Author SHA1 Message Date
Renaud Chaput a09ed92a77 Upgrade to `typescript-eslint` v6 (#25904) 2023-07-13 11:49:16 +02:00
Jed Fox e24a587f84 Consistently use middle dot (·) instead of bullet (•) to separate items (#25248) 2023-06-02 19:58:18 +02:00
Renaud Chaput 76960f128a Upgrade react-intl (#24906) 2023-05-31 23:43:39 +02:00
dependabot[bot] 9ba1135000 Bump eslint-plugin-jsdoc from 44.2.5 to 45.0.0 (#25172)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-05-31 09:27:21 +02:00
Renaud Chaput 7b5a274836 Enforce import order with ESLint (#25096) 2023-05-23 17:15:17 +02:00
Renaud Chaput abbc6dfcba Use JSX syntax for Fragments (#25093) 2023-05-23 11:47:36 +02:00
Renaud Chaput 3b0c3e94e0 Use the new JSX transform (#25064) 2023-05-23 10:52:27 +02:00
Renaud Chaput 6a3211876c Add stricter ESLint rules for Typescript files (#24926) 2023-05-10 12:59:29 +02:00
Nick Schonning b0dd260a7a Enable ESLint react/no-deprecated (#24471) 2023-05-10 09:05:32 +02:00
Nick Schonning 0886856bd2 Use Prettier for ESLint formatting TypeScript (#23631) 2023-05-09 19:02:12 +02:00
Renaud Chaput 85b3823e66 Enforce stricter rules for Typescript files (#24910) 2023-05-09 03:11:56 +02:00
Renaud Chaput b785500809 Enforce React Rules of Hooks with eslint (#24911) 2023-05-09 03:09:11 +02:00
Renaud Chaput 45146e3f3b Dont use CommonJS (`require`, `module.exports`) anywhere (#24913) 2023-05-09 03:08:47 +02:00
Nick Schonning 0224c3c0d9 Add eslint-plugin-jsdoc (#24719) 2023-04-30 02:29:54 +02:00
Nick Schonning 86d0a0b7d8 Enable formatjs/prefer-pound-in-plural (#24622) 2023-04-24 08:07:19 +02:00
Nick Schonning 8e8185b618 Add eslint-plugin-formatjs (#23976) 2023-04-23 22:46:13 +02:00
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