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.
* Gen 9 Battle Factory updates
* Force Stealth Rock on non-Uber teams
* update ru spreads for no conk
* Implement Mienshao NU ban
* Random Battles: January 2025 balance patch
* some work
* continued
* baby and lint
* lint and stuff
* Gen 5 Shuckle
* Fix doubles HP EVs
* Remove most terrain abilities from spotlight and add fur coat
* Fix Ursaring roles in old gens
* cacturne and seel
---------
Co-authored-by: livid-washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: adrivrie <adriaan.de.vries@hotmail.com>
* Sim: Use a CSPRNG
* Add test
* fix test prng
* move prng test to others
* fix slight hack
* tf?
* Fuck this
* fucking lol
* fix crap
* i'm going to kill someone
* i hate state
* fix test
* Good work genius
* typo
* Fix exportinputlog
* Refactor for inputlog backwards compatibility
This is a pretty major refactor which is mostly unrelated to the
feature, but it does make the code a lot simpler.
* Readability pass
* Readability (again)
* Remove sodium-native dependency
* Refactor to serialize seeds in hex strings
(Also removes the Buffer dependency from PRNG, and slightly improves
comments.)
* Apparently << is 32-bit signed
* Readability
---------
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* October midmonth update
* this one wasn't there when i got here
* i keep missing commas
* lint
* lint
* Make gen 4 Umbreon work
* add boots slither
* change clef fire move
* change suicune
* give supercell slam odd hp evs
* support pult + fix weird error
* unfix?? weird error
* hex pult
* -1 level silicobra
* more updates
* Prevent Shedinja from generating after bad weather setters in Gens 3-5
* remove taunt from stuff
---------
Co-authored-by: kcliu2 <85981834+kcliu2@users.noreply.github.com>
Co-authored-by: livid-washed <115855253+livid-washed@users.noreply.github.com>
* Randomized format set updates
* prevent booster wake
* update bssf
* lint hehe
* maybe this comma is the problem
* Gen 2: add Surf to Lickitung
* More baby rands set changes
* Gen 3 Entei: -HP ice
* Baby Rands level adjustments
* Thief Spinda Gens 6-7
* Gen 7 Lunala and Gen 6-7 Smeargle
* Gen 9 Qwilfish
* add av ampharos
* Simplify Rock STAB enforcement in gens 4-7
* Gen 2 Lickitung: remove mint berry
---------
Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>
* Move Random Battles files to a new folder
* Fix bdsp test
* Move SSB back and move rands files into folders
* fix BF tests
* fix test
* fix bug
* fix SSB teamgen