mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
chore: add eslint back to template (#27983)
Summary: This PR is part of https://github.com/react-native-community/releases/issues/157#issuecomment-582504146 Adding eslint back to the template package.json [Internal] [Fixed] - Add eslint back in template Pull Request resolved: https://github.com/facebook/react-native/pull/27983 Test Plan: (edited) - npx react-native init RN062 --version 0.62.0-rc.1 - yarn add -d eslint - add npm script for lint - yarn lint Differential Revision: D19784567 Pulled By: TheSavior fbshipit-source-id: 9ce24c0b674c2b1ea9fee3ed5614e8922f992f72
This commit is contained in:
committed by
Eloy Durán
parent
6d00239e49
commit
14398752e3
@@ -6,7 +6,8 @@
|
||||
"android": "react-native run-android",
|
||||
"ios": "react-native run-ios",
|
||||
"start": "react-native start",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "16.11.0",
|
||||
@@ -17,6 +18,7 @@
|
||||
"@babel/runtime": "^7.6.2",
|
||||
"@react-native-community/eslint-config": "^0.0.5",
|
||||
"babel-jest": "^24.9.0",
|
||||
"eslint": "^6.5.1",
|
||||
"jest": "^24.9.0",
|
||||
"metro-react-native-babel-preset": "^0.56.0",
|
||||
"react-test-renderer": "16.11.0"
|
||||
|
||||
Reference in New Issue
Block a user