1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- {
- // Formatting using Prettier by default for all languages
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- // Formatting using Prettier for JavaScript, overrides VSCode default.
- "[javascript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- // Formatting using Rust-Analyzer for Rust.
- "[rust]": {
- "editor.defaultFormatter": "rust-lang.rust-analyzer"
- },
- // Linting using ESLint.
- "eslint.validate": [
- "javascript",
- "javascriptreact",
- "typescript",
- "typescriptreact"
- ],
- // Disable Jest autoRun as otherwise it will start running all tests the first time.
- "jest.autoRun": "off",
- // Debugging.
- "debug.javascript.unmapMissingSources": true,
- "files.exclude": {
- "*[!test]**/node_modules": true
- },
- // Ensure enough terminal history is preserved when running tests.
- "terminal.integrated.scrollback": 10000,
- // Configure todo-tree to exclude node_modules, dist, and compiled.
- "todo-tree.filtering.excludeGlobs": [
- "**/node_modules",
- "**/dist",
- "**/compiled"
- ],
- // Match TODO-APP in addition to other TODOs.
- "todo-tree.general.tags": [
- "BUG",
- "HACK",
- "FIXME",
- "TODO",
- "XXX",
- "[ ]",
- "[x]",
- "TODO-APP"
- ],
- // Disable TypeScript surveys.
- "typescript.surveys.enabled": false,
- // Enable file nesting for unit test files.
- "explorer.fileNesting.enabled": true,
- "explorer.fileNesting.patterns": {
- "*.ts": "$(capture).test.ts, $(capture).test.tsx",
- "*.tsx": "$(capture).test.ts, $(capture).test.tsx"
- },
- // Compile rust-analyzer in a separate directory to avoid conflicts with the main project.
- "rust-analyzer.checkOnSave.extraEnv": {
- "CARGO_TARGET_DIR": "target/rust-analyzer"
- },
- "rust-analyzer.server.extraEnv": {
- "CARGO_TARGET_DIR": "target/rust-analyzer",
- "RUST_BACKTRACE": "0"
- },
- "rust-analyzer.cargo.extraEnv": {
- "CARGO_TARGET_DIR": "target/rust_analyzer"
- },
- "cSpell.words": [
- "Entrypoints",
- "napi",
- "nextjs",
- "opentelemetry",
- "prerendered",
- "Threadsafe",
- "Turbopack",
- "zipkin"
- ],
- "grammarly.selectors": [
- {
- "language": "markdown",
- "scheme": "file"
- }
- ],
- "typescript.tsdk": "node_modules/typescript/lib",
- "gitlens.advanced.blame.customArguments": [
- "--ignore-revs-file",
- "${workspaceRoot}/.git-blame-ignore-revs"
- ]
- }
|