Skip to content

Commit af5d10d

Browse files
committed
chore: update biome and lint
Signed-off-by: Adam Setch <[email protected]>
1 parent b482b9c commit af5d10d

File tree

13 files changed

+61
-42
lines changed

13 files changed

+61
-42
lines changed

astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineConfig } from 'astro/config';
22
import icon from 'astro-icon';
3+
34
import tailwindcss from '@tailwindcss/vite';
45

56
// https://astro.build/config

biome.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
33
"assist": {
44
"actions": {
55
"source": {
@@ -8,9 +8,13 @@
88
"options": {
99
"groups": [
1010
["astro:*", "*astro-*", "astro*/*"],
11+
":BLANK_LINE:",
1112
":PACKAGE:",
13+
":BLANK_LINE:",
1214
["~/constants"],
15+
":BLANK_LINE:",
1316
":ALIAS:",
17+
":BLANK_LINE:",
1418
"**"
1519
]
1620
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"tailwindcss-motion": "1.1.1"
6565
},
6666
"devDependencies": {
67-
"@biomejs/biome": "2.3.2",
67+
"@biomejs/biome": "2.3.4",
6868
"husky": "9.1.7"
6969
},
7070
"packageManager": "[email protected]",

pnpm-lock.yaml

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Footer.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import { Icon } from 'astro-icon/components';
3+
34
import { siteMetadata, URLs } from '~/constants';
45
56
const { currentPathname } = Astro.props;

src/components/GitHubRepo.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
import { Icon } from 'astro-icon/components';
3+
34
import { Octokit } from 'octokit';
5+
46
import { siteMetadata, URLs } from '~/constants';
7+
58
import type { RepoStats } from '~/types';
69
710
const octokit = new Octokit();

src/components/Hero.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
import { Image } from 'astro:assets';
3+
34
import { siteMetadata } from '~/constants';
5+
46
import notifications from '~/assets/notifications.png';
57
import LatestRelease from '~/components/LatestRelease.astro';
68
import Logo from '~/components/Logo.astro';

src/components/LatestRelease.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
import { Icon } from 'astro-icon/components';
3+
34
import { format } from 'date-fns';
45
import { Octokit } from 'octokit';
6+
57
import { siteMetadata, URLs } from '~/constants';
8+
69
import DownloadButton from '~/components/DownloadButton.astro';
710
import type {
811
DownloadLink,

src/components/Navbar.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import { siteMetadata } from '~/constants';
3+
34
import GitHubRepo from '~/components/GitHubRepo.astro';
45
import Logo from '~/components/Logo.astro';
56

src/layouts/Layout.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import '~/styles/app.css';
33
44
import { siteMetadata } from '~/constants';
5-
import SiteFooter from '~/components/Footer.astro';
5+
6+
import Footer from '~/components/Footer.astro';
67
import GoogleAnalytics from '~/components/GoogleAnalytics.astro';
78
import Navbar from '~/components/Navbar.astro';
89
@@ -60,6 +61,6 @@ const ogImage = `${siteMetadata.url}/images/social.png`;
6061
<body class="flex flex-col min-h-screen">
6162
<Navbar currentPathname={Astro.url.pathname}/>
6263
<slot/>
63-
<SiteFooter currentPathname={Astro.url.pathname}/>
64+
<Footer currentPathname={Astro.url.pathname}/>
6465
</body>
6566
</html>

0 commit comments

Comments
 (0)