Skip to content

Commit

Permalink
chore: add eslint back to template (facebook#27983)
Browse files Browse the repository at this point in the history
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: facebook#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
  • Loading branch information
Naturalclar authored and osdnk committed Mar 9, 2020
1 parent 0cfafc6 commit d08c926
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.0",
Expand All @@ -17,6 +18,7 @@
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^0.0.7",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.58.0",
"react-test-renderer": "16.12.0"
Expand Down

0 comments on commit d08c926

Please sign in to comment.