needmorelumber / BuildOrdersWc3

Create and share Warcraft III build orders
https://needmorelumber.com
GNU Affero General Public License v3.0
10 stars 0 forks source link

Run eslint on everything #12

Closed ahubers closed 5 years ago

ahubers commented 5 years ago

Note

This work branches from #11.

Motivation

Code style standards are a general good to have. The're also pretty easy to enforce with things like eslint. You can plug it into your editor your run it via command line. You can also check that all of your code is properly styled by running the lint during your build pipeline.

Test Cases

No reason to test this really, code was not functionally changed, just refactored using the following command:

./node_modules/eslint/bin/eslint.js --fix . --ignore-pattern data/