Skip to content
  • Matt Hargett's avatar
    Eliminate eslint npm version mismatch warnings and bump some to latest (#23969) · e67aa427
    Matt Hargett authored
    Summary:
    I was annoyed by warnings from yarn/npm about eslint peer dependencies not being met, so I dived in to try and get rid of some of them. Sometimes it meant bumping a plugin, but then that plugin needed a newer babel-eslint, so it was a dance.
    
    Some we can't easily update to latest (eslint-plugin-prettier) because the rule format has changed a bit. Happy to do that in this PR if folks think its a good idea. eslint-config-fbjs itself needs to be updated and republished to eliminate the last few warnings.
    
    There are a few new warnings (the repo wasn't linting cleanly for me from the start). I can fix those in this PR, or a separate one, based on people's preferences.
    
    [internal] [chore] - Eliminate some peer dependency warnings and bump some eslint packages to latest.
    Pull Request resolved: https://github.com/facebook/react-native/pull/23969
    
    Differential Revision: D14519076
    
    Pulled By: cpojer
    
    fbshipit-source-id: aa44cfd05814d7b79069414aa78d089e448c2235
    e67aa427