nicoespeon / gitgraph.js

[ARCHIVED] A JavaScript library to draw pretty git graphs in the browser
https://www.nicoespeon.com/gitgraph.js
MIT License
3.02k stars 363 forks source link

Migrate linting to eslint #395

Closed crutchcorn closed 3 years ago

crutchcorn commented 3 years ago

As mentioned at the end of #394, TSLint has been depreciated for a year now. This PR replaces the existing TSLint + Prettier in favor of ESLint + Prettier + TypeScript ESLint

This PR contains exactly 0 code logic changes, only the auto-format applied

While there are 0 warnings, there are 39 warnings.

With the exception of two "is defined but never used" warnings, the other 37 instances of warnings come from "Unexpected any" types. However, when investigating the usage of any in our codebase, I noticed that this would potentially introduce breaking changes to the APIs and I would like to break that work out into a separate PR (or more than likely, more than one PR)