Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
rust: ${{ steps.filter.outputs.rust }}
markdown: ${{ steps.filter.outputs.markdown }}
site: ${{ steps.filter.outputs.site }}
infra: ${{ steps.filter.outputs.infra }}
steps:
Expand All @@ -27,8 +26,6 @@ jobs:
- 'Cargo.lock'
- 'rust-toolchain.toml'
- 'rustfmt.toml'
markdown:
- '**/*.md'
site:
- 'site/**'
infra:
Expand Down Expand Up @@ -61,18 +58,6 @@ jobs:
- uses: cachix/install-nix-action@v31
- run: nix develop .#ci --command just rust-lint

markdown:
name: Markdown Format Check
needs: changes
if:
needs.changes.outputs.markdown == 'true' || needs.changes.outputs.infra ==
'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
- run: nix develop .#ci --command just markdown-format

flake-check:
name: Nix Flake Check
runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
pkgs.cargo-watch
pkgs.nodejs_22
pkgs.pnpm
pkgs.prettier
pkgs.biome
pkgs.just
];
in
Expand Down
5 changes: 1 addition & 4 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default:
@just --list

format: rust-format markdown-format site-format
format: rust-format site-format
@:

lint: rust-lint site-check flake-check
Expand All @@ -19,9 +19,6 @@ rust-format:
rust-lint:
cargo clippy --all-targets -- -D warnings

markdown-format:
prettier --check .

site-install:
cd site && pnpm install --frozen-lockfile

Expand Down
11 changes: 0 additions & 11 deletions site/.prettierrc

This file was deleted.

24 changes: 24 additions & 0 deletions site/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
"files": {
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always"
}
},
"linter": {
"enabled": false
},
"assist": {
"enabled": false
}
}
5 changes: 2 additions & 3 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "astro build",
"preview": "astro preview",
"check": "astro check",
"format:check": "prettier --check 'src/**/*.{astro,mdx,css}' astro.config.mjs"
"format:check": "biome format astro.config.mjs biome.json package.json tsconfig.json src"
},
"dependencies": {
"@astrojs/mdx": "^4.3.14",
Expand All @@ -17,8 +17,7 @@
},
"devDependencies": {
"@astrojs/check": "^0.9.8",
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1",
"@biomejs/biome": "^2.4.13",
"typescript": "^5.9.3"
}
}
Loading
Loading