Add option to auto-open last example in the example app #872
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint:
example/App.tsx#L261
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MainScreen” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
example/src/ListWithHeader/ListWithHeader.tsx#L78
Inline style: { flex: 1 }
|
Lint:
example/src/ListWithHeader/ListWithHeader.tsx#L82
'props' is already declared in the upper scope on line 29 column 3
|
Lint:
example/src/basic/fling/index.tsx#L20
Unexpected use of '|'
|
Lint:
example/src/basic/forcetouch/index.tsx#L34
Inline style: { textAlign: 'center', width: '80%' }
|
Lint:
example/src/basic/pagerAndDrawer/index.android.tsx#L29
Inline style: { flex: 1, backgroundColor: '#fff' }
|
Lint:
example/src/basic/pagerAndDrawer/index.android.tsx#L30
Inline style: { margin: 10, fontSize: 15, textAlign: 'left' }
|
Lint:
example/src/new_api/bottom_sheet/index.tsx#L56
'snapPoint' is already declared in the upper scope on line 32 column 10
|
Lint:
example/src/new_api/calculator/index.tsx#L30
The array literal notation [] is preferable
|
Lint:
example/src/new_api/calculator/index.tsx#L141
Inline style: { flexGrow: 1 }
|
Loading