Commit Graph

14 Commits

Author SHA1 Message Date
Kris Johnson
793fee5467 GitHub: Send HTML boxes through /raw 2025-04-20 23:40:13 -06:00
Kris Johnson
9ff1398c69
Use Chat.ErrorMessage instead of errorReply in more places (#11017) 2025-04-07 21:15:27 -06:00
Guangcong Luo
78439b4a02
Update to ESLint 9 (#10926)
ESLint has a whole new config format, so I figure it's a good time to
make the config system saner.

- First, we no longer have separate eslint-no-types configs. Lint
  performance shouldn't be enough of a problem to justify the
  relevant maintenance complexity.

- Second, our base config should work out-of-the-box now. `npx eslint`
  will work as expected, without any CLI flags. You should still use
  `npm run lint` which adds the `--cached` flag for performance.

- Third, whatever updates I did fixed style linting, which apparently
  has been bugged for quite some time, considering all the obvious
  mixed-tabs-and-spaces issues I found in the upgrade.

Also here are some changes to our style rules. In particular:

- Curly brackets (for objects etc) now have spaces inside them. Sorry
  for the huge change. ESLint doesn't support our old style, and most
  projects use Prettier style, so we might as well match them in this way.
  See https://github.com/eslint-stylistic/eslint-stylistic/issues/415

- String + number concatenation is no longer allowed. We now
  consistently use template strings for this.
2025-02-25 20:03:46 -08:00
Mia
e82c5fa161 Change references of & to ~ 2024-10-01 09:02:03 -05:00
Mia
1d721a41e6 Git reporting: Add pokemon-showdown-loginserver to reported repos 2023-03-26 14:23:55 -05:00
Mia
3971742d97
GitHub: Handle review request removals 2021-12-13 10:51:18 -06:00
Guangcong Luo
2f0b1bec59 Log crashes when GitHub hook fails
(Also rewrite the loader to be less redundant.)
2021-11-13 13:45:05 -05:00
Mia
530138b9e5 GitHub: Respect PS loglevel unless set explicitly not to 2021-11-13 01:01:51 -06:00
HoeenHero
70ae6d93ce Github: Dont create a hook if Config is not set 2021-10-08 21:39:28 -04:00
Leonard Craft III
903dd2c29d GitHub: Fix commit ID styling 2021-08-13 14:21:34 -05:00
Mia
882c2dda06 Github: Shorten commit messages properly 2021-08-13 12:20:52 -05:00
Mia
f8c4132381 Github: Add gh short alias 2021-08-13 10:56:25 -05:00
Mia
0bb65e8a18 GitHub: Restore /git alt to /opensource 2021-08-12 15:55:48 -05:00
Mia
6c7ce161c0
Add a chat plugin for reporting GitHub actions (#8414) 2021-08-12 11:12:57 -07:00