pokemon-showdown/data/mods
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
..
fullpotential Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen1 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen1jpn Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen1stadium Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen2 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen2doubles Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen2stadium2 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen3 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen4 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen4pt Fix inheritance forColosseum Suicune event 2025-02-07 18:42:56 -06:00
gen5 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen5bw1 Fix inheritance forColosseum Suicune event 2025-02-07 18:42:56 -06:00
gen6 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen6xy Fix inheritance forColosseum Suicune event 2025-02-07 18:42:56 -06:00
gen7 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen7apex Add January 2025 Randomized Format Spotlight (#10786) 2025-01-02 09:52:41 -07:00
gen7letsgo Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen7pokebilities Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen7sm Fix inheritance forColosseum Suicune event 2025-02-07 18:42:56 -06:00
gen8 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen8bdsp Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen8dlc1 Fix inheritance forColosseum Suicune event 2025-02-07 18:42:56 -06:00
gen8linked Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen9dlc1 Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen9predlc Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
gen9ssb Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
littlecolosseum Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
mixandmega Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
partnersincrime Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
passiveaggressive Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
pokebilities Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
pokemoves Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
randomroulette Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
sharedpower Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
sharingiscaring Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
thecardgame Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
trademarked Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00