pokemon-showdown/tools
Guangcong Luo 9d87616176
Add more style linting rules (#7537)
* Lint arrow-body-style

* Lint prefer-object-spread

Object spread is faster _and_ more readable.

This also fixes a few unnecessary object clones.

* Enable no-parameter-properties

This isn't currently used, but this makes clear that it shouldn't be.

* Refactor more Promises to async/await

* Remove unnecessary code from getDataMoveHTML etc

* Lint prefer-string-starts-ends-with

* Stop using no-undef

According to the typescript-eslint FAQ, this is redundant with
TypeScript, and they're not wrong. This will save us from needing to
specify globals in two different places which will be nice.
2020-10-19 02:42:28 -07:00
..
modlog Add more style linting rules (#7537) 2020-10-19 02:42:28 -07:00
set-import Add more style linting rules (#7537) 2020-10-19 02:42:28 -07:00
simulate Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00