Commit Graph

27459 Commits

Author SHA1 Message Date
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
Guangcong Luo
44a9e287fc Formats: Fix redundant bans
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-21 00:20:14 -08:00
Kris Johnson
f3f748f81f Add ADV UUBL temporary format
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-20 14:58:03 -07:00
Guangcong Luo
deda1db857
Snowscape was incorrectly named Snow (#10920)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-19 21:34:55 -08:00
André Bastos Dias
9fc5e0ff45
Explicitly make Terastallization tests Gen 9 (#10907)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-18 20:57:43 -06:00
André Bastos Dias
6c57d481fe
Gen 7: Fix Snatch + Swallow interaction (#10916) 2025-02-18 20:55:50 -06:00
Leonard Craft III
b83894a642 DOU: Ban Archaludon
https://www.smogon.com/forums/posts/10447077/
2025-02-18 20:53:10 -06:00
dot-Comfey
ff2ab5b61a
Update Pokemon GO data (#10919) 2025-02-18 18:43:52 -06:00
Mia
51f1d6e4ca Info: Update badge faq link
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-17 14:38:03 -06:00
pyuk-bot
9f58961dd3
CGT: Track wins/losses for level 100 Pokemon (#10909)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-16 00:40:12 -07:00
dot-Comfey
08fe70ec3d
Use base species only for learnsetDomain (#10910) 2025-02-15 21:55:05 -06:00
André Bastos Dias
32e196e71d
Fix logic in some skipped tests (#10895)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-14 18:09:58 -06:00
André Bastos Dias
08ad712a76
Fix Tera Shell + future moves + mid turn switches (#10903)
* Fix Tera Shell

* Ups
2025-02-14 16:55:29 -07:00
InkyDarkBird
e4f0e1f84e
Alphabet Cup: Update bans (#10893)
* alphabet bans and restricts

https://www.smogon.com/forums/threads/alphabet-cup.3713049/page-9#post-10440668

* Trigger workflow

* SV Alphabet Cup: Restrict Glare, ban Dragonite, ban King's Rock, ban Razor Fang, ban Terastalization

* Update formats.ts

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-14 16:49:22 -07:00
Spammernoob69
95f9707e44
CAP: Update Shox (#10906)
* CAP Kitsunoh Buff Process

Changelog:
  Kitsunoh:
    +14 Attack (103 to 117)
    +18 Speed (110 to 128)
    +Trace
    +Encore
    +Upper Hand
    -Iron Fist

* Chuggalong 2.0

Speed: -7 (115 to 108)
+White Smoke
+Slow Start

Full movepool: https://www.smogon.com/forums/threads/cap-34-part-17-final-movepool-submissions.3748657/post-10221427

* Update learnsets.ts

Added Event to Chuggalong learnset

* Update learnsets.ts

* Added CAP35 (Shox)

* Added CAP 34 Prevos (Chuggon, Draggalong)

Implemented Chuggon, Draggalong

* Fixed Shox data

* Added evo/prevo entry in pokedex

* Add Evo Level + Entrainment Egg Move

* Added Toxic to Chuggalong line

I was informed we had decided to add Toxic to Chuggalong's movepool for flavor reasons, as it is given to most (all?) Poison types.

* Shox 2.0

Added Shox Full Movepool + PPL stat buff (+18 SpA, +6 Def, +10 SpD, -18 Atk)

* Update learnsets.ts

Oops

* Update learnsets.ts

Pajantom Substitute.
2025-02-14 16:49:08 -07:00
shrianshChari
04c9ce4dd4
UU: Ban Polteageist (#10901)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
https://www.smogon.com/forums/threads/polteageist-has-been-quickbanned-in-sv-uu.3759857/
2025-02-13 20:14:44 -05:00
pokewillpower
b7f62a84ad
Aliases: Add Genesect namings by type (#10896) 2025-02-13 20:11:50 -05:00
André Bastos Dias
6520ac5b1b
Fix Tera Shell interaction with future moves (#10889)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-12 14:27:30 -07:00
Yoshiblaze
ccd913169a
Little Colosseum: Add Eevee + Ability Renames (#10868)
* Little Colosseum: New Ability + Ability Renaming

* Little Colosseum: Ability Renaming Pt. 2

* Little Colosseum: Add Eevee

* Little Colosseum: Add Eevee Pt. 2
2025-02-12 14:25:51 -07:00
Oldenmw
788899dd51
Add Gen 5 Draft (#10866)
* added gen 5 draft and initial ruleset/banlist

* fixed mod and removed Blaziken complex ban

* added missing trailing comma

* fixed gems clause typo
2025-02-12 14:19:02 -07:00
Chessking345
7aaf7c6b4f
AAA: Ban Ceruledge (#10881) 2025-02-12 13:41:57 -07:00
André Bastos Dias
310865a6f7
Unskip tests (#10888) 2025-02-12 13:41:42 -07:00
Kris Johnson
a02650e1ab National Dex: Formally reintroduce Roaring Moon to OU 2025-02-12 12:13:45 -07:00
Kris Johnson
2050e9d812
Mix and Mega: Fix validation (again)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-12 00:14:26 -07:00
Kris Johnson
777178d402 Mix and Mega: Fix Mega Stones 2025-02-11 23:25:03 -07:00
Spammernoob69
5876797908
CAP: Add Chuggalong evolution line (#10884) 2025-02-11 20:50:30 -05:00
André Bastos Dias
e11af8036b
Simplify Gen 5 Magic Bounce inheritance (#10880)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-10 17:43:33 -06:00
dot-Comfey
8ecd61e535
Fix crash in team validation (#10879)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-10 07:50:28 -06:00
André Bastos Dias
ef97b292fb
Fix Enamorus shiny validity (#10864)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-09 23:40:13 -06:00
pyuk-bot
e97ea8c7fd
CGT: Count wins/losses in public-room tour-battles (#9999) 2025-02-09 23:34:45 -06:00
Leonard Craft III
3464f7d441 Fix Perish Body check
See https://github.com/smogon/pokemon-showdown/pull/10872#issuecomment-2646631685
2025-02-09 20:59:54 -06:00
Mia
5a8b8465ff Repeats: Disallow use in personal rooms 2025-02-09 20:56:37 -06:00
André Bastos Dias
01645f6880
Disable Magic Bounce during semi-invulnerability (#10862) 2025-02-09 20:50:45 -06:00
André Bastos Dias
6ab8e0da4c
Fix getUpdatedDetails default parameter (#10870) 2025-02-09 20:37:34 -06:00
André Bastos Dias
920a0e0773
Fix Rockruff-Dusk's Pokédex entry (#10871) 2025-02-09 20:17:52 -06:00
HiZo
8994a46899
Mix and Mega: Don't free Z-Crystals (#10876) 2025-02-09 17:21:04 -07:00
missangelic
d516e024e9
ADV ZU: Implement VR update (#10875)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
https://www.smogon.com/forums/threads/adv-zu-metagame-discussion-vr-update-samples.3730430/#post-9839941
2025-02-09 11:32:17 -07:00
rorypfister
374a3e94ba
NU: Ban Cetitan (#10873)
Cetitan banned from NU https://www.smogon.com/forums/threads/np-stage-15-labyrinth-cetitan-quickbanned.3757540/post-10432456
2025-02-09 11:20:47 -07:00
André Bastos Dias
d26e34e403
Don't activate Perish Body if either Pokémon has a perish count (#10872)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-08 22:36:27 -06:00
Leonard Craft III
ae3e1147ab Fix inheritance forColosseum Suicune event
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-07 18:42:56 -06:00
André Bastos Dias
ee08ffaae5
Fix interaction of Heal Bell and Good as Gold (#10863)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-06 22:26:24 -06:00
Leonard Craft III
e2a482b82a Add Colosseum Suicune event 2025-02-06 22:15:04 -06:00
Kris Johnson
355f6b00f4 Mix and Mega: Fix some validation
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-03 23:38:17 -07:00
Kris Johnson
3281f6adb0
Mix and Mega: Expand usable items (#10865)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-03 19:18:22 -07:00
HiZo
f46a51a334
Partners in Crime: Don't activate innates while Neutralizing Gas is up (#10861)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
* Partners in Crime: Don't activate innates while Neutralizing Gas is up

* Actually return is unviable here
2025-02-03 10:58:35 -07:00
Kris Johnson
9ff49cb105
LC: Ban Heat Rock 2025-02-03 10:57:42 -07:00
Kris Johnson
c3f845af26
Godly Gift: Unban Talonflame, restrict Gale WIngs
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-03 00:20:14 -07:00
cat-colon-three
5d47111fe7
SV Alphabet Cup: Update bans (#10860)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
* SV Alphabet Cup: Ban Baxcalibur, Dragapult, Meowscarada, Damp Rock, and Heat Rock; Restrict Clangorous Soul

https://www.smogon.com/forums/threads/alphabet-cup.3713049/post-10428778

* removed trailing space

* Update formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-02 15:03:29 -07:00
Mia
448272b16f Core: Fix /help for namespaces / private namespaces
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-02 13:46:27 -06:00
HiZo
4cdd0d535c
Alphabet Cup: Add Sleep Moves Clause (#10859)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
[19:45:34] @Elly: its supposed to have sleep moves clause
2025-02-01 17:59:35 -07:00