infinitered / ignite

Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more!
MIT License
17.38k stars 1.38k forks source link

Audit and fix linting/transpiling dependencies #2737

Closed lindboe closed 1 week ago

lindboe commented 1 month ago

Lint dependencies should be audited and updated, at least for v10.

A few known areas in need of attention:

  1. These babel plugins are probably no longer needed, this behavior should be included: https://github.com/infinitered/ignite/blob/master/boilerplate/package.json#L67-L69
  2. The project linting still requires us to import React, which shouldn't be necessary anymore with React 17. See https://github.com/infinitered/ignite/blob/master/boilerplate/package.json#L67-L69 for more information, we want "plugin:react/jsx-runtime"
  3. Consider reconstructing the lint configuration on top of Expo's eslint configuration (setup docs, preset code). This might help simplify our own configuration a good deal.
frankcalise commented 1 month ago

re 1: you're probably right, we just got rid of a few but would be nice to clean more of those up: https://github.com/infinitered/ignite/pull/2701/files#diff-594f75b3ec0c76210a39b8c7ce238eea438454a93d830bd968a282f89e30a8b0