Merge pull request #28 from square/artem/update_to_2.0.2 #130
Annotations
10 errors and 2 warnings
Lint files:
example/src/App.tsx#L12
Insert `··`
|
Lint files:
example/src/App.tsx#L17
Insert `··`
|
Lint files:
example/src/Screens/HomeScreen.tsx#L38
'result' is assigned a value but never used
|
|
Lint files:
example/src/Screens/PermissionsScreen.tsx#L157
'auth' is assigned a value but never used
|
Lint files:
example/src/Screens/PermissionsScreen.tsx#L182
React Hook useEffect contains a call to 'setIsAuthorized'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook
|
Lint files:
example/src/Screens/PermissionsScreen.tsx#L248
Replace `·style={isAuthorized·?·styles.statusText·:·styles.statusTextInactive}` with `⏎··········style={isAuthorized·?·styles.statusText·:·styles.statusTextInactive}⏎········`
|
Lint files:
example/src/components/LoadingButton.tsx#L28
Replace `·style={isActive·?·styles.loadingButtonText·:·styles.loadingButtonTextInactive}` with `⏎··········style={⏎············isActive⏎··············?·styles.loadingButtonText⏎··············:·styles.loadingButtonTextInactive⏎··········}⏎········`
|
Lint files:
example/src/components/PermissionRow.tsx#L18
'isChecked' is defined but never used. Allowed unused args must match /^_/u
|
Lint files
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint files:
example/src/components/PermissionRow.tsx#L17
Inline style: { borderWidth: 2 }
|
Loading