geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
878 stars 183 forks source link

Fix linter-identified issues and run the linter before tests #250

Closed tschaub closed 3 years ago

tschaub commented 3 years ago

Since the repo already has an ESLint configuration, I thought it could make sense to fix the linter-identified issues. This branch also makes it so the linter is run as a pretest script. I know this is a big, risky-looking change, and I understand if you don't feel like accepting it. I'll leave more comments on the specifics of some of the changes below.