mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-16 12:20:15 +00:00
Update linter and formatter tools
This commit is contained in:
+8
-8
@@ -35,7 +35,7 @@
|
||||
"@babel/preset-flow": "^7.0.0",
|
||||
"@babel/preset-react": "^7.6.3",
|
||||
"@testing-library/react": "^9.3.0",
|
||||
"babel-eslint": "^10.0.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-jest": "^24.9.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"babel-plugin-add-module-exports": "^1.0.2",
|
||||
@@ -46,20 +46,20 @@
|
||||
"enzyme": "^3.10.0",
|
||||
"enzyme-adapter-react-16": "^1.14.0",
|
||||
"enzyme-to-json": "^3.4.2",
|
||||
"eslint": "^5.11.1",
|
||||
"eslint-config-prettier": "^3.3.0",
|
||||
"eslint-plugin-promise": "^4.0.1",
|
||||
"eslint-plugin-react": "^7.7.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-config-prettier": "^6.4.0",
|
||||
"eslint-plugin-promise": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.16.0",
|
||||
"flow-bin": "0.98.0",
|
||||
"glob": "^7.1.2",
|
||||
"husky": "^0.14.3",
|
||||
"husky": "^3.0.8",
|
||||
"inline-style-prefixer": "^5.0.3",
|
||||
"jest": "^24.9.0",
|
||||
"jest-canvas-mock": "^2.1.1",
|
||||
"lint-staged": "^7.1.0",
|
||||
"lint-staged": "^9.4.2",
|
||||
"metro-react-native-babel-preset": "^0.51.0",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"prettier": "^1.12.1",
|
||||
"prettier": "^1.18.2",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0",
|
||||
"react-test-renderer": "^16.10.2"
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function renderApplication<Props: Object>(
|
||||
invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);
|
||||
|
||||
renderFn(
|
||||
<AppContainer WrapperComponent={WrapperComponent} rootTag={rootTag}>
|
||||
<AppContainer rootTag={rootTag} WrapperComponent={WrapperComponent}>
|
||||
<RootComponent {...initialProps} />
|
||||
</AppContainer>,
|
||||
rootTag,
|
||||
@@ -41,7 +41,7 @@ export function getApplication(
|
||||
WrapperComponent?: ?ComponentType<*>
|
||||
): Object {
|
||||
const element = (
|
||||
<AppContainer WrapperComponent={WrapperComponent} rootTag={{}}>
|
||||
<AppContainer rootTag={{}} WrapperComponent={WrapperComponent}>
|
||||
<RootComponent {...initialProps} />
|
||||
</AppContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user