chore: format files for lint (#53) (thanks @the-vampiire)
This commit is contained in:
@@ -2,12 +2,7 @@ import type { Command } from 'commander';
|
|||||||
import { parsePaginationFlags } from '../cli/pagination.js';
|
import { parsePaginationFlags } from '../cli/pagination.js';
|
||||||
import type { CliContext } from '../cli/shared.js';
|
import type { CliContext } from '../cli/shared.js';
|
||||||
import { extractBookmarkFolderId } from '../lib/extract-bookmark-folder-id.js';
|
import { extractBookmarkFolderId } from '../lib/extract-bookmark-folder-id.js';
|
||||||
import {
|
import { addThreadMetadata, filterAuthorChain, filterAuthorOnly, filterFullChain } from '../lib/thread-filters.js';
|
||||||
addThreadMetadata,
|
|
||||||
filterAuthorChain,
|
|
||||||
filterAuthorOnly,
|
|
||||||
filterFullChain,
|
|
||||||
} from '../lib/thread-filters.js';
|
|
||||||
import { TwitterClient } from '../lib/twitter-client.js';
|
import { TwitterClient } from '../lib/twitter-client.js';
|
||||||
import type { TweetData, TweetWithMeta } from '../lib/twitter-client-types.js';
|
import type { TweetData, TweetWithMeta } from '../lib/twitter-client-types.js';
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,7 @@ import { describe, expect, it } from 'vitest';
|
|||||||
import { filterFullChain } from '../src/lib/thread-filters.js';
|
import { filterFullChain } from '../src/lib/thread-filters.js';
|
||||||
import type { TweetData } from '../src/lib/twitter-client-types.js';
|
import type { TweetData } from '../src/lib/twitter-client-types.js';
|
||||||
|
|
||||||
const makeTweet = (
|
const makeTweet = (id: string, createdAt: string, inReplyToStatusId?: string, conversationId = '1'): TweetData => ({
|
||||||
id: string,
|
|
||||||
createdAt: string,
|
|
||||||
inReplyToStatusId?: string,
|
|
||||||
conversationId = '1',
|
|
||||||
): TweetData => ({
|
|
||||||
id,
|
id,
|
||||||
text: id,
|
text: id,
|
||||||
author: { username: 'alice', name: 'Alice' },
|
author: { username: 'alice', name: 'Alice' },
|
||||||
|
|||||||
Reference in New Issue
Block a user