Commit Graph

4 Commits

Author SHA1 Message Date
Guangcong Luo
73a04cdcba TypeScript: Enable noImplicitOverride
Some checks are pending
Publish to npm / test (push) Waiting to run
Publish to npm / get-version (push) Waiting to run
Publish to npm / npm-publish (push) Blocked by required conditions
Node.js CI / build (18.x) (push) Waiting to run
2025-02-26 14:38:32 -08: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
ACakeWearingAHat
aa000fb8a2
Randomized format set updates (#10854)
* 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>
2025-02-01 00:29:39 -07:00
livid washed
e6a20f3414
Add January 2025 Randomized Format Spotlight (#10786)
* Add January 2025 Randomized Format Spotlight

* lint
2025-01-02 09:52:41 -07:00