Prune
This commit is contained in:
@@ -27,12 +27,10 @@ export default [
|
||||
"@typescript-eslint/prefer-promise-reject-errors": "off",
|
||||
"@typescript-eslint/no-useless-constructor": "off",
|
||||
"@typescript-eslint/require-await": "off",
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
"@typescript-eslint/no-misused-promises": "off",
|
||||
"@typescript-eslint/restrict-template-expressions": "off",
|
||||
"@typescript-eslint/no-inferrable-types": "off",
|
||||
"@typescript-eslint/no-base-to-string": "off",
|
||||
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
|
||||
"@typescript-eslint/restrict-plus-operands": "off",
|
||||
"@typescript-eslint/no-unused-expressions": "off",
|
||||
"react-hooks/exhaustive-deps": "off",
|
||||
|
||||
@@ -113,7 +113,7 @@ export const AlbumCastDialog: React.FC<AlbumCastDialogProps> = ({
|
||||
setView("choose");
|
||||
onClose();
|
||||
})
|
||||
.catch((e) => {
|
||||
.catch((e: unknown) => {
|
||||
log.error("Error casting to TV", e);
|
||||
setView("auto-cast-error");
|
||||
});
|
||||
|
||||
@@ -263,7 +263,7 @@ export default function Uploader({
|
||||
};
|
||||
|
||||
const requestSyncWithRemote = () => {
|
||||
props.syncWithRemote().catch((e) => {
|
||||
props.syncWithRemote().catch((e: unknown) => {
|
||||
log.error(
|
||||
"Ignoring error when syncing trash changes with remote",
|
||||
e,
|
||||
|
||||
Reference in New Issue
Block a user