pokemon-showdown-client/replay.pokemonshowdown.com
Guangcong Luo a10821ab8b
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Update to ESLint 9 (#2326)
This finally removes the tslint dependency and switches to eslint.

There are a lot of other changes here, too, to bring the codebase up to
server standards. TSLint never had much in the way of indentation
enforcement.

Not very happy about eslint splitting itself up over 6 dependencies,
or its documentation over three websites, nor how poorly documented the
new flat config is, but I mean, eslint's gonna eslint. Customizing
would be even harder if we tried to use Biome or something. They mostly
seem to go full Prettier.

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 (except in ES3
  code). We otherwise now consistently use template strings for this.
2025-02-25 20:05:32 -08:00
..
src Update to ESLint 9 (#2326) 2025-02-25 20:05:32 -08:00
theme Deploy New Replays 2023-11-05 23:37:14 +00:00
.htaccess Make the source of replay pages more readable 2023-12-17 04:07:37 +00:00
404.html Deploy New Replays 2023-11-05 23:37:14 +00:00
apple-touch-icon.png Deploy New Replays 2023-11-05 23:37:14 +00:00
check-login.php Deploy New Replays 2023-11-05 23:37:14 +00:00
favicon.ico Deploy New Replays 2023-11-05 23:37:14 +00:00
index.template.php Fix crash in Replays 2024-07-07 09:08:22 +00:00
README.md Deploy New Replays 2023-11-05 23:37:14 +00:00
replay-manage.php Replays: Restore edit function 2024-02-15 16:41:41 -06:00
replay.log.php Make the source of replay pages more readable 2023-12-17 04:07:37 +00:00
replays.lib.php Replays: Restore edit function 2024-02-15 16:41:41 -06:00

PS replays database

This is the code powering https://replay.pokemonshowdown.com/

JSON API

The replays database has a JSON API, documented at:

https://github.com/smogon/pokemon-showdown-client/blob/master/WEB-API.md