diff --git a/README.md b/README.md index 75d3adff..899742f9 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ $ bun run build # Start the app $ bun start -# Format the app -$ bunx @biomejs/biome check --apply-unsafe ** +# Format and Lint the files +$ bunx @biomejs/biome check --apply . ``` ## 🆚 VSCode diff --git a/app/page.tsx b/app/page.tsx index 6211b3b9..11212883 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -22,7 +22,7 @@ export default function Home() { className="dark:invert" width={100} height={24} - priority + priority={true} /> @@ -35,7 +35,7 @@ export default function Home() { alt="Next.js Logo" width={180} height={37} - priority + priority={true} /> diff --git a/biome.json b/biome.json index d1f298c4..b21173f5 100644 --- a/biome.json +++ b/biome.json @@ -1,20 +1,22 @@ { "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", + "files": { + "ignoreUnknown": true + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true, + "defaultBranch": "main" + }, "linter": { - "ignore": [".next", "node_modules"], "rules": { - "nursery": { - "all": true - } + "all": true } }, "formatter": { - "ignore": [".next", "node_modules"], "indentStyle": "space" }, - "organizeImports": { - "enabled": true - }, "javascript": { "parser": { "unsafeParameterDecoratorsEnabled": true @@ -30,7 +32,6 @@ "allowComments": true }, "formatter": { - "enabled": true, "indentStyle": "space" } }