···11+// Folder-specific settings
22+//
33+// For a full list of overridable settings, and general information on folder-specific settings,
44+// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
55+{
66+ "lsp": {
77+ "rust-analyzer": {
88+ "initialization_options": {
99+ "cargo": {
1010+ "allFeatures": true,
1111+ },
1212+ },
1313+ },
1414+ },
1515+}
···2233set dotenv-load := false
4455-# Format and apply safe automatic fixes. This is the default pre-review cleanup command.
55+# Format Rust sources. Run clippy/check separately; clippy --fix can corrupt RSX.
66fix:
77 cargo fmt --all
88- cargo clippy --workspace --all-targets --fix --allow-dirty --allow-staged --allow-no-vcs -- -D warnings
99- cargo clippy -p polymodel --all-targets --features server --fix --allow-dirty --allow-staged --allow-no-vcs -- -D warnings
1010- cargo clippy -p polymodel --target wasm32-unknown-unknown --features web --fix --allow-dirty --allow-staged --allow-no-vcs -- -D warnings
1111-88+# Run clippy without --fix; automatic clippy rewrites can corrupt Dioxus RSX.
99+lint:
1010+ cargo clippy --workspace --all-targets -- -D warnings
1111+ cargo clippy -p polymodel --all-targets --features server -- -D warnings
1212+ cargo clippy -p polymodel --target wasm32-unknown-unknown --features web -- -D warnings
1213# Compile checks across the whole workspace plus the app's server/wasm targets.
1313-# Note: the server check uses compile-time `query!` macros that validate against a
1414# migrated SQLite database. Run `just migrate` first (or run `just sqlx-prepare`)
1515# so the macros can resolve.
1616check:
···3939 cargo nextest run -p polymodel --features server
40404141# Run all local validation expected before review.
4242-test-all: fix check test test-server
4242+test-all: fix check lint test test-server
4343# Run browser end-to-end tests.
4444e2e:
4545 cd e2e && npm test