chore: simplify example ESLint setup (#343)

This commit is contained in:
Bartosz Kaszubowski
2021-08-09 09:20:02 +02:00
committed by GitHub
parent ee762ce5f5
commit d64f372aa3
2 changed files with 20 additions and 102 deletions

View File

@@ -8,7 +8,8 @@
"ios": "react-native run-ios",
"start": "react-native start",
"setup": "cd ios && bundle install",
"pods": "cd ios && bundle exec pod install"
"pods": "cd ios && bundle exec pod install",
"lint": "eslint ."
},
"dependencies": {
"@react-native-community/blur": "^3.6.0",
@@ -27,20 +28,14 @@
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/runtime": "^7.14.0",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/eslint-config": "^3.0.0",
"@react-native-community/eslint-plugin": "^1.1.0",
"@types/react": "^17.0.9",
"@types/react-native": "^0.64.12",
"@types/react-native-vector-icons": "^6.4.6",
"@types/react-native-video": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.11.0",
"metro-config": "^0.66.2",
"metro-react-native-babel-preset": "^0.66.1",
"prettier": "^2.3.1",