mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
0c7b20dc18
#### PR Dependency Tree * **PR #15464** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Replaced the project’s formatting and linting workflow with Oxfmt and Oxlint. * Added shared formatting and linting configuration, editor integration, and updated automated checks. * Updated generated files, scripts, and lint guidance to use the new tooling. * **Style** * Reformatted templates, source code, examples, and configuration files for consistent readability. * No user-facing functionality or rendering behavior changed. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
26 lines
758 B
JSON
26 lines
758 B
JSON
// For format details, see https://aka.ms/devcontainer.json.
|
|
{
|
|
"name": "AFFiNE Dev Container",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
"containerEnv": {
|
|
"COREPACK_ENABLE_DOWNLOAD_PROMPT": "0"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "lts",
|
|
"installYarnUsingApt": false
|
|
},
|
|
"ghcr.io/devcontainers/features/rust:1": {}
|
|
},
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["ms-playwright.playwright", "oxc.oxc-vscode"]
|
|
}
|
|
},
|
|
"updateContentCommand": "bash ./.devcontainer/build.sh",
|
|
"postCreateCommand": "bash ./.devcontainer/setup-user.sh"
|
|
}
|