Galooshi / import-js

A tool to simplify importing JS modules
MIT License
524 stars 70 forks source link

Remove flow type annotations, set up ESLint #623

Closed lencioni closed 2 months ago

lencioni commented 2 months ago

Related issues:

I decided to remove flow type annotations with this change because I didn't want to bother with setting up the new ESLint to understand the flow syntax. I also think that it might be easier to adopt TypeScript from this state than it would be to attempt to port over the flow types.

For now, I am just rolling with the default recommended ESLint configuration that they include with the base package, to get a decent baseline of ESLint rules enabled.

This is probably best reviewed commit-by-commit instead of all at once.