From ad86a183052e8b25d599eb395aef55412c02ff7b Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Tue, 31 Mar 2020 13:48:46 -0700 Subject: [PATCH] chore: update lint config in template (#28443) Summary: Updating the eslint config and metro-preset used in project template. ## Changelog [General] [Changed] - Upgrade eslint-config and metro-preset in project template Pull Request resolved: https://github.com/facebook/react-native/pull/28443 Test Plan: - Start new project with `npx react-native init TestLint` - upgrade lint and metro-config - run lint and start up emulator on iOS and android Reviewed By: cpojer Differential Revision: D20771048 Pulled By: hramos fbshipit-source-id: a6d387b8687cee348681bcb10d22c7e3de291ed7 --- template/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/package.json b/template/package.json index 41aa29972a7885..fea2169725758e 100644 --- a/template/package.json +++ b/template/package.json @@ -16,11 +16,11 @@ "devDependencies": { "@babel/core": "^7.8.4", "@babel/runtime": "^7.8.4", - "@react-native-community/eslint-config": "^0.0.7", + "@react-native-community/eslint-config": "^1.0.0", "babel-jest": "^25.1.0", "eslint": "^6.5.1", "jest": "^25.1.0", - "metro-react-native-babel-preset": "^0.58.0", + "metro-react-native-babel-preset": "^0.59.0", "react-test-renderer": "16.13.1" }, "jest": {