Skip to content

Commit

Permalink
Run linter, working better now
Browse files Browse the repository at this point in the history
  • Loading branch information
JHWelch committed Oct 6, 2024
1 parent a77eba4 commit 5ff9ba9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/src/components/WeekList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { WeekDto } from '@shared/dtos'
import { rsvpModal } from '@client/state/modalState'
const props = defineProps<{
sectionTitles: {[key: number]: string}
sectionTitles: { [key: number]: string }
fetchUrl: string
showEventDetails: boolean
}>()
Expand Down
2 changes: 1 addition & 1 deletion client/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type Errors = {
[key: string]: string;
};
}

export type ErrorBag = {
errors?: Errors;
Expand Down
2 changes: 1 addition & 1 deletion server/__tests__/support/fetchMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { jest } from '@jest/globals'
type FetchFunction = (
input: RequestInfo | URL,
init?: RequestInit | undefined
) => Promise<Response>;
) => Promise<Response>

export type MockFetch = jest.Mock<FetchFunction>

Expand Down
2 changes: 1 addition & 1 deletion server/__tests__/support/notionHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export type QueryBody = {

export type WithAuth<P> = P & {
auth?: string;
};
}

type NotionMovieConstructor = {
id: string,
Expand Down
4 changes: 2 additions & 2 deletions shared/dtos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type TextStyle = {
underline: boolean;
code: boolean;
color: 'default' | 'gray' | 'brown' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'red' | 'gray_background' | 'brown_background' | 'orange_background' | 'yellow_background' | 'green_background' | 'blue_background' | 'purple_background' | 'pink_background' | 'red_background';
};
}

export type RichText = {
type: 'text',
Expand All @@ -43,4 +43,4 @@ export type RichText = {
annotations: TextStyle;
plain_text: string;
href: string | null;
};
}

0 comments on commit 5ff9ba9

Please sign in to comment.