Skip to content

Commit

Permalink
fix: biome issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Jun 16, 2024
1 parent 18b3b33 commit 3471df9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.1/schema.json",
"organizeImports": {
"enabled": true
},
Expand All @@ -15,7 +15,7 @@
"formatWithErrors": false,
"indentWidth": 2,
"lineWidth": 80,
"ignore": ["./.astro/*", ".pre-commit-config.yaml"]
"ignore": ["./.astro/*", ".pre-commit-config.yaml", "/src/styles/*"]
},
"css": {
"formatter": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"build": "astro build",
"astro": "astro",
"lint": "biome check --apply . && stylelint 'src/styles/**/*.css' --fix",
"fmt": "biome format . --write",
"fmt": "biome format ./ --write",
"biome": "bunx @biomejs/biome",
"check": "biome check . && stylelint 'src/styles/**/*.css' && bun astro check && bun test"
"check": "biome check ./ && stylelint 'src/styles/**/*.css' && bun astro check && bun test"
},
"trustedDependencies": ["sharp"],
"stylelint": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import { SEO } from "astro-seo";
const { title, customDescription, bannerPath } = Astro.props;
export interface Props {
title: string;
customDescription?: string;
bannerPath?: string;
title: string;
customDescription?: string;
bannerPath?: string;
}
// SEO SETTINGS
Expand Down

0 comments on commit 3471df9

Please sign in to comment.