grimmdude / MidiWriterJS

♬ A JavaScript library which provides an API for programmatically generating and creating expressive multi-track MIDI files and JSON.
MIT License
547 stars 58 forks source link

add .editorconfig , eslint and fixes simple lint issues #62

Closed jpw closed 5 years ago

jpw commented 5 years ago

Apart from that, it's fixing mixed tab & spaces, trailing whitespace and "extra" semicolons eslint thought did not match the style of the rest of the codebase.

eslint now only moans about use of var and using a bitwise operator at the top of a loop, IIRC, but as these are more controversial I decided to leave them.

grimmdude commented 5 years ago

Cool thanks @jpw, looks good!