Skip to content

Commit

Permalink
Merge pull request #135 from Marukome0743/main
Browse files Browse the repository at this point in the history
🧰infra(biome): update biome settings
  • Loading branch information
Marukome0743 authored Jan 11, 2024
2 parents dcd4664 + da7f24e commit d7d89b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Home() {
className="dark:invert"
width={100}
height={24}
priority
priority={true}
/>
</a>
</div>
Expand All @@ -35,7 +35,7 @@ export default function Home() {
alt="Next.js Logo"
width={180}
height={37}
priority
priority={true}
/>
</div>

Expand Down
19 changes: 10 additions & 9 deletions biome.json
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -30,7 +32,6 @@
"allowComments": true
},
"formatter": {
"enabled": true,
"indentStyle": "space"
}
}
Expand Down

0 comments on commit d7d89b1

Please sign in to comment.