pokerogue/test/abilities
Bertie690 c0da686ba0
[Dev] Migrated to Biome 2.2.3, added more rules (#6259)
* Added more biome rules

* Fixes

* Added a few more rules

* Added global phaser to biome

* Fix tpyo

* Updated biome to 2.1.4; improved docs on linting/localization; added vcs support

Also added `.build` to gitignore cuz reasons

* Fixed tpyo

* dd

* Applied linter fixes

* Partially fixed some private property issues

* Upgraded to Biome 2.2.0; added `operatorLinebreak` and a few new rules

* Moved operator linebreaks before lines

* Applied kev's suggestions

* Update biome.jsonc

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* added like all the rules and then some

* modify biome.jsonc

* apply biome formatting

* Reverted changes to balance folder

* fixed stuff

* Fixed biome stripping trailing globstars from everything

* made `noInvertedElse` an error rule

* Add & apply fixes for `useExplicitLengthCheck`, `useAtIndex` and `noNonNullAssertedOptionalChain`

* Bumped biome to 2.2.3

* Fixed a few syntax errors

* Removed trailing globstars since biome actually fixed their shit

* Final clean up

* foobarbaz

* Fixed remaining issues

* Fixed a few errors in SSUI

* fixed rounding issue

* Fixed test to not round funky

* Fixed biome false positive for vitest hooks

* Apply biome:all

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-09-08 10:35:18 -05:00
..
ability-activation-order.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
ability-duplication.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
ability-timing.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
analytic.test.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
anger-point.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
arena-trap.test.ts [Refactor][UI/UX] Reorganize UI files (#6503) 2025-09-07 13:05:40 -07:00
aroma-veil.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
aura-break.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
battery.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
battle-bond.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
beast-boost.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
commander.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
competitive.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
contrary.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
corrosion.test.ts [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
costar.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
cud-chew.test.ts [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
dancer.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
defiant.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
desolate-land.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
disguise.test.ts [Refactor] Remove null from PhaseManager.currentPhase signature 2025-09-05 09:28:35 -07:00
dry-skin.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
early-bird.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
embody-aspect.test.ts [Ability] Embody Aspect now triggers on switch-in while Terastallized (#6294) 2025-08-20 20:10:54 -05:00
flash-fire.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
flower-gift.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
flower-veil.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
forecast.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
friend-guard.test.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
good-as-gold.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
gorilla-tactics.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
guard-dog.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
gulp-missile.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
harvest.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
healer.test.ts [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
heatproof.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
honey-gather.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
hustle.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
hyper-cutter.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
ice-face.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
illuminate.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
illusion.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
infiltrator.test.ts [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
innards-out.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
intimidate.test.ts [Bug/Ability] Fixed bugs with Intimidate triggers after reload/initial switch (#6212) 2025-08-24 14:09:16 -05:00
intrepid-sword.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
lightningrod.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
magic-bounce.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
magic-guard.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
mimicry.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
mirror-armor.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
mold-breaker.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
moody.test.ts [Bug] Moody Can't Lower Stats at +6 (#6481) 2025-09-06 06:46:13 +00:00
moxie.test.ts [Test] Removed deprecated functions from phase interceptor (#6195) 2025-08-19 19:54:40 -05:00
mummy.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
mycelium-might.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
neutralizing-gas.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
no-guard.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
normal-move-type-change.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
normalize.test.ts [Bug] Fix when variable move power is called (#6126) 2025-07-24 23:16:23 -07:00
oblivious.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
own-tempo.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
parental-bond.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
pastel-veil.test.ts [Test] Added/cleaned up tests for Pastel/Sweet Veil (#6374) 2025-09-05 21:42:44 -05:00
perish-body.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
power-construct.test.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
power-spot.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
protean-libero.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
protosynthesis.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
quick-draw.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
sand-spit.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
sand-veil.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
sap-sipper.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
schooling.test.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
screen-cleaner.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
seed-sower.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
serene-grace.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
sheer-force.test.ts [Test] Cleaned up tests to use updated test utils; part 1 (#6176) 2025-08-19 19:21:40 -05:00
shell-armor.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
shield-dust.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
shields-down.test.ts [Test] Cleaned up shields down tests; added more tests (#6216) 2025-08-20 08:57:46 -05:00
simple.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
speed-boost.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
stakeout.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
stall.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
status-immunity-ab-attrs.test.ts [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
steely-spirit.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
storm-drain.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
sturdy.test.ts [Test] Cleaned up tests to use updated test utils; part 1 (#6176) 2025-08-19 19:21:40 -05:00
super-luck.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
supreme-overlord.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
sweet-veil.test.ts [Test] Added/cleaned up tests for Pastel/Sweet Veil (#6374) 2025-09-05 21:42:44 -05:00
synchronize.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
tera-shell.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
trace.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
truant.test.ts [Bug] Fix Truant behavior (#6171) 2025-07-31 20:18:11 +00:00
unburden.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
unseen-fist.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
victory-star.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
volt-absorb.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
wandering-spirit.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
wimp-out.test.ts [Test] Cleaned up tests to use updated test utils; part 1 (#6176) 2025-08-19 19:21:40 -05:00
wind-power.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
wind-rider.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
wonder-skin.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
zen-mode.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
zero-to-hero.test.ts [Test] Cleaned up tests to use updated test utils; part 1 (#6176) 2025-08-19 19:21:40 -05:00