pshrmn / curi

A JavaScript router for single-page applications
https://curi.js.org
MIT License
269 stars 10 forks source link

Add linting to package source code #242

Closed pshrmn closed 4 years ago

pshrmn commented 4 years ago
  1. Add typescript linting
  2. Prefer let arrow functions over function.

Linting was mostly straightforward. The @curi/router package had a decent bit of re-org for not using functions before they are defined, but I also had to use some eslint-disable-next-lines because of where the router and history are defined.