Skip to content

Commit

Permalink
chore: resolve linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Apr 5, 2024
1 parent 4542fbf commit b44f9c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cli/resolveOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import freeport from 'freeport-async';
import path from 'path';

import { type Input } from './bin';
import { getAtlasPath, validateAtlasFile } from '../utils/stats';
import { getAtlasPath, validateAtlasFile } from '../data/AtlasFileSource';

export type Options = Awaited<ReturnType<typeof resolveOptions>>;

Expand Down
3 changes: 1 addition & 2 deletions src/metro.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { type MetroConfig } from 'metro-config';

import { createAtlasFile, getAtlasPath, writeAtlasEntry } from './data/AtlasFileSource';
import { convertGraph } from './data/MetroGraphSource';
import { writeAtlasEntry } from './data/AtlasFileSource';
import { createAtlasFile, getAtlasPath } from './utils/stats';

type ExpoAtlasOptions = Partial<{
/** The output of the stats file, defaults to `.expo/stats.json` */
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/(atlas)/[entry]/folders/[path].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { ModuleFiltersForm } from '~/components/forms/ModuleFilter';
import { useEntry } from '~/providers/entries';
import { Tag } from '~/ui/Tag';
import { fetchApi } from '~/utils/api';
import { relativeEntryPath } from '~/utils/entry';
import { type ModuleFilters, useModuleFilters, moduleFiltersToParams } from '~/utils/filters';
import { formatFileSize } from '~/utils/formatString';
import { relativeEntryPath } from '~/utils/entry';

export default function FolderPage() {
const { path: absolutePath } = useLocalSearchParams<{ path: string }>();
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/(atlas)/[entry]/modules/[path].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { CodeBlock, CodeBlockSectionWithPrettier, guessLanguageFromPath } from '
import { Skeleton } from '~/ui/Skeleton';
import { Tag } from '~/ui/Tag';
import { fetchApi } from '~/utils/api';
import { formatFileSize } from '~/utils/formatString';
import { relativeEntryPath } from '~/utils/entry';
import { formatFileSize } from '~/utils/formatString';
import { type PartialAtlasEntry, type AtlasModule } from '~core/data/types';

export default function ModulePage() {
Expand Down

0 comments on commit b44f9c6

Please sign in to comment.