jayesbe / react-native-cacheable-image

An Image Component for React Native that will cache itself to disk.
MIT License
304 stars 78 forks source link

Add ESLint, refactor CacheableImage module #43

Closed wachunei closed 7 years ago

wachunei commented 7 years ago

This PR includes ESLint with Airbnb rules as dev dependencies. Most Linter errors have been resolved, thus a major module rewrite.

This should be tested before merge, it'd be nice to have an Example Project to test the project with.

wachunei commented 7 years ago

I need to update package.json according to this: http://stackoverflow.com/questions/30451556/what-is-the-correct-way-of-adding-a-dependency-to-react-in-your-package-json-for

Edit: or not?

screen shot 2017-02-07 at 11 35 16 am

I'm not really sure how to set those dependencies...