Guangcong Luo
185966f44d
Fix G-Max Steelsurge damage against Eiscue
2020-03-07 14:52:45 -08:00
Guangcong Luo
647ba61a46
Turn on prefer-regex-exec in eslint
2020-03-07 13:39:02 -08:00
asgdf
cac033ab86
Improve handling of mobile IPs with permalocks ( #6338 )
2020-03-07 11:50:08 -08:00
Kris Johnson
c36870263b
Add Mimic Glitch validator rule ( #6428 )
2020-03-07 08:34:34 -08:00
The Immortal
a5b55d6127
Fix event moves of Sw/Sh legends
2020-03-07 16:44:52 +04:00
Kris Johnson
a0128b8a95
Fix Zacian, Zamazenta, and Eternatus legality ( #6430 )
2020-03-07 14:54:00 +04:00
The Immortal
f0ce9b76d4
Make gen8 the default mod
2020-03-07 14:00:13 +04:00
Guangcong Luo
125fe31d06
Improve eslintrc
...
Fixed some more code style, allowing these rules to be enabled:
- `comma-dangle`
- `function-paren-newline`
- `member-delimiter-style`
- `no-eval`
- `no-fallthrough`
- `no-misused-promises`
- `no-unused-vars`
- `operator-linebreak`
2020-03-06 22:35:55 -08:00
Guangcong Luo
2f0e83c14b
Categorize eslintrc rules
...
eslintrc rules are now sorted into categories, in theory making them
easier to maintain.
2020-03-06 22:35:45 -08:00
Kris Johnson
cc681692dd
Properly implement Sinistea and Polteageist formes ( #6429 )
2020-03-06 22:35:19 -08:00
Kris Johnson
cc9b6f6c22
Tournaments: Remove space from DQ modlog ( #6427 )
2020-03-06 21:34:27 -08:00
Kris Johnson
9d995eb838
SSB: Update Aeonic's rank ( #6426 )
2020-03-06 17:58:43 -08:00
Waleed Hassan
8aa4f053bb
Use optional chaining and linter improvements ( #6422 )
...
This is mostly just a follow up to #6342 .
`prefer-optional-chaining` was turned on and fixed in every location it
complained in. The transformed function [0] looks expensive from a
glance but from skimming through the replaced sites it doesn't appear
to be ran in any important place, so it should be OK.
The linter improvements are:
- Increase linter performance
- Make `full-lint` and `lint` write to different caches so we
avoid overwriting their caches since they're different configs
- Change husky's hook to `npm run lint` so as to write to the
same cache
- Remove `@typescript-eslint/eslint-plugin-tslint` which is
essentially a wrapper to TSLint because the rules aren't worth
running another linter
- Convert `.eslintrc.json` and `.eslintrc-syntax.json` to two spaces
rather than four tabs to respect PS' `.editorconfig`
- Rename `fulllint` to `full-lint` to ease spelling it
[0] - https://pastie.io/mmtxpf.js (prettified)
2020-03-06 11:44:32 -08:00
Guangcong Luo
242e9a3ac0
Implement /tour formats
...
This adds nicer output for the tour formats error message, and also
creates a broadcastable command for it.
Fixes #6419
2020-03-06 10:41:33 -08:00
Guangcong Luo
8d140b4bca
Fix Gmax validation
...
(Gmax Pokémon can't be from older gens.)
2020-03-06 10:41:33 -08:00
TheMezStrikes
505836e27e
Escape HTML in events ( #6423 )
2020-03-06 08:51:46 -08:00
The Immortal
583ca129c3
Remove display for trapping moves after using Substitute
2020-03-06 17:28:38 +04:00
The Immortal
d18d545478
Fix typo in previous commit
2020-03-06 10:35:11 +04:00
The Immortal
dd96c9a00d
Fix Inheritance
2020-03-06 10:17:57 +04:00
Astrid Halberkamp
de1a29c507
Wifi: Remove friendcodes from giveaways
2020-03-06 00:05:52 +01:00
Guangcong Luo
738503888b
Add a skipSets parameter to validateTeam ( #6416 )
2020-03-05 15:01:14 -08:00
Guangcong Luo
d450b50936
Fix more doubles tiers ( #6421 )
2020-03-05 14:57:00 -08:00
Guangcong Luo
d007bdc12f
Force timer if blitz mod is in effect ( #6418 )
...
Also increase first turn time to 40
2020-03-05 09:43:56 -08:00
Guangcong Luo
b21c9047e2
Migrate to typescript-eslint ( #6342 )
2020-03-05 08:33:06 -08:00
The Immortal
4c11d6bed6
Scalemons: Update bans ( #6417 )
...
https://www.smogon.com/forums/threads/scalemons-leaders-choice.3658482/page-2#post-8383281
2020-03-05 17:18:35 +04:00
The Immortal
f1a27dc79c
Move Ninetales-Alola to UUBL
2020-03-05 01:15:35 +04:00
TheMezStrikes
1186d25b5e
NFE: Ban Gurdurr, Rufflet, Sneasel ( #6415 )
2020-03-03 11:10:35 -08:00
Kris Johnson
d4e29ec479
Doubles OU: Ban Beat Up ( #6414 )
...
https://www.smogon.com/forums/threads/np-ss-dou-stage-0-begin-again-beat-up-banned.3656244/page-9#post-8381535
2020-03-03 07:15:31 +04:00
Kirk Scheibelhut
f3b666cc8c
Use latestDate to simplify tools/set-import
...
The STATISTICS map was out of date anyway, this moves maintaining it
to the smogon package (which now has logic for updating it in an
automated way).
2020-03-02 17:47:39 -08:00
Kirk Scheibelhut
738fdc9c46
Update deps to get newest smogon for set-import
2020-03-02 16:31:59 -08:00
Kris Johnson
724504a8e6
Inheritance: Add basic move validation support ( #6413 )
2020-03-02 16:07:43 -08:00
The Immortal
46b41a5d27
Add National Dex threads
2020-03-03 00:00:30 +04:00
The Immortal
03f34611e5
Random Battle: Update sets and levels
2020-03-02 23:54:37 +04:00
whales
7038fac173
Fix non-ripgrep modlog
2020-03-02 17:39:36 +10:30
Kris Johnson
c54e4ce8fb
Scalemons: Ban Huge Power ( #6412 )
2020-03-01 13:27:14 -08:00
The Immortal
2b1f1fbadf
Update metagame threads
2020-03-02 00:41:11 +04:00
Kris Johnson
28f049e5ae
Somewhat fix Inheritance's validation ( #6411 )
2020-03-02 00:04:45 +04:00
The Immortal
52e82453cf
Random Battle updates
2020-03-01 23:46:13 +04:00
Kris Johnson
bb1c4f5fa7
Fix various Pokemon's doubles tiers ( #6410 )
2020-03-01 23:39:38 +04:00
The Immortal
876f8a369f
Move Slurpuff to NUBL
2020-03-01 21:32:51 +04:00
The Immortal
2f024ddf92
Update Inheritance & Scalemons
2020-03-01 19:13:29 +04:00
The Immortal
ce7a78db42
March tiers update
2020-03-01 19:02:28 +04:00
The Immortal
be5ca7d2e3
Update Keldeo validation
2020-03-01 18:21:14 +04:00
Lusamine
7e8f5ddc36
Update datacenters & ip-tools ( #6406 )
2020-03-01 03:27:04 -08:00
asgdf
389fb22376
Validator: Check for negative EVs ( #6409 )
2020-03-01 03:22:17 -08:00
Kris Johnson
5880d80631
Inheritance: Update banlist ( #6408 )
2020-03-01 14:56:20 +04:00
The Immortal
fad1d3c7a6
Random Battle improvements
2020-03-01 05:19:46 +04:00
The Immortal
22d99a2722
Update OM bans
2020-03-01 02:12:30 +04:00
The Immortal
11e33f925d
Update Octolock activation
2020-03-01 00:59:35 +04:00
The Immortal
6c2c9ce4a1
Add Monotype VR link
2020-03-01 00:41:31 +04:00