mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
Fix lint warnings
This commit is contained in:
parent
ad11d82ae9
commit
42ca5c5952
@ -1,22 +1,6 @@
|
||||
import lscache from 'lscache';
|
||||
import {
|
||||
Observable,
|
||||
EMPTY,
|
||||
BehaviorSubject,
|
||||
of,
|
||||
firstValueFrom,
|
||||
lastValueFrom,
|
||||
Subject
|
||||
} from 'rxjs';
|
||||
import {
|
||||
catchError,
|
||||
combineLatestWith,
|
||||
map,
|
||||
shareReplay,
|
||||
switchMap,
|
||||
take,
|
||||
tap
|
||||
} from 'rxjs/operators';
|
||||
import { Observable, EMPTY, BehaviorSubject, of, firstValueFrom, Subject } from 'rxjs';
|
||||
import { catchError, combineLatestWith, map, shareReplay, switchMap, tap } from 'rxjs/operators';
|
||||
|
||||
import {
|
||||
type PullRequest,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import type { User } from '$lib/backend/cloud';
|
||||
import type { GitHubIntegrationContext } from '$lib/github/types';
|
||||
import type { BaseBranch } from '$lib/vbranches/types';
|
||||
import { combineLatest, switchMap, type Observable, of, shareReplay, distinct, tap } from 'rxjs';
|
||||
import { combineLatest, switchMap, type Observable, of, shareReplay, distinct } from 'rxjs';
|
||||
|
||||
export function getGithubContext(
|
||||
user$: Observable<User | undefined>,
|
||||
|
@ -40,7 +40,7 @@
|
||||
isLoading = false;
|
||||
}
|
||||
|
||||
function onClick(e: MouseEvent | KeyboardEvent) {
|
||||
function onClick() {
|
||||
loadEntries();
|
||||
previewCommitModal.show();
|
||||
}
|
||||
|
@ -4,11 +4,9 @@
|
||||
|
||||
<script lang="ts">
|
||||
import type { BaseBranch, Branch, Commit } from '$lib/vbranches/types';
|
||||
import type { CrossfadeParams, TransitionConfig } from 'svelte/transition';
|
||||
import PushButton from './PushButton.svelte';
|
||||
import type { GitHubIntegrationContext } from '$lib/github/types';
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import { flip } from 'svelte/animate';
|
||||
import type { BranchController } from '$lib/vbranches/branchController';
|
||||
import type { DraggableCommit, DraggableFile, DraggableHunk } from '$lib/draggables';
|
||||
import Icon from '$lib/icons/Icon.svelte';
|
||||
|
@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import IconButton from '$lib/components/IconButton.svelte';
|
||||
import type { DraggableCommit, DraggableFile, DraggableHunk } from '$lib/draggables';
|
||||
import { dropzone } from '$lib/utils/draggable';
|
||||
import type { BaseBranch, Commit } from '$lib/vbranches/types';
|
||||
|
Loading…
Reference in New Issue
Block a user