Commit Graph

12 Commits

Author SHA1 Message Date
Kris Johnson
c654d83a0c Revert AFD 2025 changes 2025-04-02 02:00:58 -06:00
Kris Johnson
991cc727f7
Fix build again
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-01 13:04:50 -06:00
Kris Johnson
07cbce7ce0
Fix build 2025-04-01 12:32:55 -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
larry-the-table-guy
71fe7bdfcb
Test: Correct several format IDs (#10633) 2024-10-29 05:14:19 -07:00
Alexander B
283098c982
Fix ruleset interactions with Rayquaza-Mega (#9293)
* Fix ruleset interactions with Rayquaza-Mega

* Improve condition

* DRYify tests more
2023-02-01 15:50:48 -07:00
Leonard Craft III
5259fdd40f
Tests: Reduce dependence on RNG (#9297) 2023-01-14 19:08:44 -06:00
Guangcong Luo
39f5717c25 Fix repeate mega evolution bug 2021-03-31 22:16:06 -07:00
Guangcong Luo
33fa9d56ef Fix mega evolving into self
A hacked-in Megazard X can mega evolve into Megazard Y, but not into
Megazard X.
2020-04-07 10:56:19 -07:00
Guangcong Luo
45e5b6cc7d Add more tests for mega evolution Speed changes 2019-12-04 13:36:40 +09:00
Guangcong Luo
d5b4b7964e Fix mega evolution priority move interaction 2019-12-01 20:08:25 +13:00
Slayer95
ffb3678b0f Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30