Skip to content

Commit

Permalink
chore: biome check apply
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto committed May 28, 2024
1 parent f9fc055 commit 164f26c
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2

Check warning on line 56 in .github/workflows/node.js.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (biomejs)
with:
version: latest
- name: Run Biome
run: biome ci .

Expand Down
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
repos:
- repo: https://github.com/biomejs/pre-commit
rev: "v0.1.0"
- repo: local
hooks:
- id: biome-check
additional_dependencies: ["@biomejs/[email protected]"]
- id: local-biome-check
name: biome check
entry: npx biome check --apply --files-ignore-unknown=true --no-errors-on-unmatched
language: system
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"
156 changes: 156 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"devDependencies": {
"@9renpoto/tsconfig": "^7.8.0",

Check warning on line 13 in package.json

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (renpoto)
"@biomejs/biome": "^1.7.3",

Check warning on line 14 in package.json

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (biomejs)
"@types/rosie": "^0.0.45",
"rosie": "^2.1.0",
"turbo": "^1.13.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Header({ active }: Props) {
</div>
<ul class="flex items-center gap-6">
{menus.map((menu) => (
<li>
<li key={menu.name}>
<a
href={menu.href}
class={`text-gray-500 hover:text-gray-700 py-1 border-gray-500 ${
Expand Down

0 comments on commit 164f26c

Please sign in to comment.