BUGFIX: Adds checks for local assets #597
Annotations
8 errors and 10 warnings
lint
Process completed with exit code 1.
|
lint:
packages/core/src/hooks/useSetAssetCollections.ts#L18
Replace `····SET_ASSET_COLLECTIONS⏎····` with `>(SET_ASSET_COLLECTIONS`
|
lint:
packages/core/src/hooks/useSetAssetCollections.ts#L17
Replace `{·setAssetCollections:·MutationResult·},·SetAssetCollectionsVariables>(` with `⏎········{·setAssetCollections:·MutationResult·},⏎········SetAssetCollectionsVariables`
|
lint:
packages/asset-tags/src/hooks/useDeleteTag.ts#L15
Replace `⏎········DELETE_TAG⏎····` with `DELETE_TAG`
|
lint:
packages/asset-collections/src/hooks/useSetAssetCollectionParent.ts#L18
Replace `····SET_ASSET_COLLECTION_PARENT⏎····` with `>(SET_ASSET_COLLECTION_PARENT`
|
lint:
packages/asset-collections/src/hooks/useSetAssetCollectionParent.ts#L17
Replace `{·setAssetCollectionParent:·MutationResult·},·SetAssetCollectionParentVariables>(` with `⏎········{·setAssetCollectionParent:·MutationResult·},⏎········SetAssetCollectionParentVariables`
|
lint:
packages/asset-collections/src/hooks/useDeleteAssetCollection.ts#L12
Replace `····DELETE_ASSET_COLLECTION⏎····` with `>(DELETE_ASSET_COLLECTION`
|
lint:
packages/asset-collections/src/hooks/useDeleteAssetCollection.ts#L11
Replace `{·deleteAssetCollection:·MutationResult·},·DeleteAssetCollectionVariables>(` with `⏎········{·deleteAssetCollection:·MutationResult·},⏎········DeleteAssetCollectionVariables`
|
lint:
packages/asset-usage/typings/UsageDetails.ts#L20
'UsageDetailsGroup' is defined but never used
|
lint:
packages/asset-upload/typings/UploadedFile.ts#L1
'UploadedFile' is defined but never used
|
lint:
packages/asset-upload/typings/FilesUploadState.ts#L1
'FilesUploadState' is defined but never used
|
lint:
packages/asset-upload/typings/FileUploadResult.ts#L1
'FileUploadResult' is defined but never used
|
lint:
packages/asset-tags/typings/Tag.ts#L3
'Tag' is defined but never used
|
lint:
packages/asset-tags/src/components/CreateTagDialog.tsx#L70
React Hook useCallback has a missing dependency: 'validate'. Either include it or remove the dependency array
|
lint:
packages/asset-sources/typings/AssetSource.ts#L5
'AssetSource' is defined but never used
|
lint:
packages/asset-collections/typings/TreeNodeProps.ts#L1
'TreeNodeProps' is defined but never used
|
lint:
packages/asset-collections/typings/AssetCollectionParent.ts#L3
'AssetCollectionParent' is defined but never used
|
lint:
packages/asset-collections/typings/AssetCollection.ts#L5
'AssetCollection' is defined but never used
|