Skip to content

Commit 8216567

Browse files
Naturalclarfacebook-github-bot
authored andcommitted
chore: add eslint back to template (#27983)
Summary: This PR is part of react-native-community/releases#157 (comment) Adding eslint back to the template package.json ## Changelog [Internal] [Fixed] - Add eslint back in template Pull Request resolved: #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
1 parent ed11a12 commit 8216567

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

template/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start",
9-
"test": "jest"
9+
"test": "jest",
10+
"lint": "eslint ."
1011
},
1112
"dependencies": {
1213
"react": "16.12.0",
@@ -17,6 +18,7 @@
1718
"@babel/runtime": "^7.8.4",
1819
"@react-native-community/eslint-config": "^0.0.7",
1920
"babel-jest": "^25.1.0",
21+
"eslint": "^6.5.1",
2022
"jest": "^25.1.0",
2123
"metro-react-native-babel-preset": "^0.58.0",
2224
"react-test-renderer": "16.12.0"

0 commit comments

Comments
 (0)