Skip to content

Commit cdda0aa

Browse files
committed
config: biome import organization
Signed-off-by: Adam Setch <[email protected]>
1 parent 7a90b07 commit cdda0aa

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

biome.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"groups": [
1010
["astro:*", "*astro-*", "astro*/*"],
1111
":PACKAGE:",
12-
":ALIAS:"
12+
["~/constants"],
13+
":ALIAS:",
14+
"**"
1315
]
1416
}
1517
}

src/components/Hero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
import { Image } from 'astro:assets';
3+
import { siteMetadata } from '~/constants';
34
import notifications from '~/assets/notifications.png';
45
import LatestRelease from '~/components/LatestRelease.astro';
56
import Logo from '~/components/Logo.astro';
6-
import { siteMetadata } from '~/constants';
77
---
88
<div class="bg-gitify-hero">
99
<div

src/components/LatestRelease.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import { Icon } from 'astro-icon/components';
33
import { format } from 'date-fns';
44
import { Octokit } from 'octokit';
5-
import DownloadButton from '~/components/DownloadButton.astro';
65
import { siteMetadata, URLs } from '~/constants';
6+
import DownloadButton from '~/components/DownloadButton.astro';
77
import type {
88
DownloadLink,
99
DownloadLinks,

src/components/Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2+
import { siteMetadata } from '~/constants';
23
import GitHubRepo from '~/components/GitHubRepo.astro';
34
import Logo from '~/components/Logo.astro';
4-
import { siteMetadata } from '~/constants';
55
66
const { currentPathname } = Astro.props;
77
const isHomepage = currentPathname === '/';

src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
import '~/styles/app.css';
33
4+
import { siteMetadata } from '~/constants';
45
import SiteFooter from '~/components/Footer.astro';
56
import GoogleAnalytics from '~/components/GoogleAnalytics.astro';
67
import Navbar from '~/components/Navbar.astro';
7-
import { siteMetadata } from '~/constants';
88
99
export interface Props {
1010
title: string;

0 commit comments

Comments
 (0)