Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ test-results/

site/

biome-main/
.review/
pglinter_repo/
.review/
Expand Down
4 changes: 4 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": false,
"experimentalSortImports": {}
}
20 changes: 20 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "error",
"suspicious": "warn"
},
"rules": {
"no-shadow": "off",
"unicorn/require-post-message-target-origin": "off",
"unicorn/prefer-add-event-listener": "off"
},
"overrides": [
{
"files": ["**/e2e/**", "**/tests/**"],
"rules": {
"typescript/no-explicit-any": "off"
}
}
]
}
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ just format

# Lint entire codebase
just lint
# or: cargo clippy && cargo run -p rules_check && bun biome lint
# or: cargo clippy && cargo run -p rules_check && bun oxlint packages/

# Fix linting issues
just lint-fix
Expand Down Expand Up @@ -137,7 +137,7 @@ cargo insta review
- `clippy.toml` - Clippy linting configuration

### Other Tools
- `biome.jsonc` - Biome formatter/linter configuration for JS/TS
- `.oxlintrc.json` / `.oxfmtrc.json` - oxlint linter and oxfmt formatter configuration for JS/TS
- `taplo.toml` - TOML formatting configuration
- `justfile` - Task runner with all development commands
- `docker-compose.yml` - Database setup for testing
Expand Down
42 changes: 0 additions & 42 deletions biome.jsonc

This file was deleted.

85 changes: 75 additions & 10 deletions bun.lock

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

14 changes: 7 additions & 7 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ new-lintrule group rulename severity="error":
format:
cargo fmt
taplo format
bun biome format --write
bun oxfmt packages/

format-ci:
cargo fmt --all --check
taplo format --check
bun biome format
bun oxfmt --check packages/

format-ci-versions:
cargo --version
taplo --version
echo "Biome $(bun biome --version)"
bun oxfmt --version

[unix]
_touch file:
Expand All @@ -79,26 +79,26 @@ test-doc:
lint:
cargo clippy
cargo run -p rules_check
bun biome lint
bun oxlint packages/

lint-fix:
cargo clippy --fix
cargo run -p rules_check
bun biome lint --write
bun oxlint --fix packages/

lint-ci-versions:
rustc --version
rustup --version
cargo --version
cargo sqlx --version
cargo clippy --version
echo "Biome $(bun biome --version)"
bun oxlint --version

lint-ci:
cargo sqlx prepare --check --workspace
cargo clippy --fix
cargo run -p rules_check
bun biome lint --write
bun oxlint --fix packages/

serve-docs:
uv sync
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@biomejs/biome": "1.9.4",
"oxlint": "^1.49.0",
"oxfmt": "^0.34.0",
Comment thread
psteinroe marked this conversation as resolved.
Outdated
"@types/bun": "latest"
},
"peerDependencies": {
Expand Down
66 changes: 36 additions & 30 deletions packages/@postgres-language-server/backend-jsonrpc/package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
{
"name": "@postgres-language-server/backend-jsonrpc",
"version": "<placeholder>",
"main": "dist/index.js",
"scripts": {
"test": "bun test",
"test:ci": "bun build && bun test",
"build": "bun build ./src/index.ts --outdir ./dist --target node"
},
"files": ["dist/", "README.md"],
"repository": {
"type": "git",
"url": "git+https://github.com/supabase-community/postgres-language-server.git",
"directory": "packages/@postgres-language-server/backend-jsonrpc"
},
"author": "Supabase Community",
"bugs": "ttps://github.com/supabase-community/postgres-language-server/issues",
"description": "Bindings to the JSON-RPC Workspace API of the Postgres Language Tools daemon",
"keywords": ["TypeScript", "Postgres"],
"license": "MIT",
"publishConfig": {
"provenance": true
},
"optionalDependencies": {
"@postgres-language-server/cli-win32-x64": "<placeholder>",
"@postgres-language-server/cli-win32-arm64": "<placeholder>",
"@postgres-language-server/cli-darwin-x64": "<placeholder>",
"@postgres-language-server/cli-darwin-arm64": "<placeholder>",
"@postgres-language-server/cli-linux-x64": "<placeholder>",
"@postgres-language-server/cli-linux-arm64": "<placeholder>"
}
"name": "@postgres-language-server/backend-jsonrpc",
"version": "<placeholder>",
"description": "Bindings to the JSON-RPC Workspace API of the Postgres Language Tools daemon",
"keywords": [
"Postgres",
"TypeScript"
],
"bugs": "ttps://github.com/supabase-community/postgres-language-server/issues",
"license": "MIT",
"author": "Supabase Community",
"repository": {
"type": "git",
"url": "git+https://github.com/supabase-community/postgres-language-server.git",
"directory": "packages/@postgres-language-server/backend-jsonrpc"
},
"files": [
"dist/",
"README.md"
],
"main": "dist/index.js",
"publishConfig": {
"provenance": true
},
"scripts": {
"test": "bun test",
"test:ci": "bun build && bun test",
"build": "bun build ./src/index.ts --outdir ./dist --target node"
},
"optionalDependencies": {
"@postgres-language-server/cli-darwin-arm64": "<placeholder>",
"@postgres-language-server/cli-darwin-x64": "<placeholder>",
"@postgres-language-server/cli-linux-arm64": "<placeholder>",
"@postgres-language-server/cli-linux-x64": "<placeholder>",
"@postgres-language-server/cli-win32-arm64": "<placeholder>",
"@postgres-language-server/cli-win32-x64": "<placeholder>"
}
}
Loading
Loading