97 lines
2.3 KiB
JSON
97 lines
2.3 KiB
JSON
{
|
|
"[rust]": {
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
|
},
|
|
"files.watcherExclude": {
|
|
"**/_build": true,
|
|
"**/.classpath": true,
|
|
"**/.flatpak-builder": true,
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/.idea": true,
|
|
"**/.project": true,
|
|
"**/.settings": true,
|
|
"**/.venv": true,
|
|
"**/node_modules": true,
|
|
"**/.rustup": true,
|
|
"**/.cargo": true,
|
|
"**/.crates": true
|
|
},
|
|
"rust-analyzer.diagnostics.disabled": [
|
|
"E0004",
|
|
"inactive-code",
|
|
"inactive_code"
|
|
],
|
|
"rust-analyzer.files.excludeDirs": [
|
|
"_build",
|
|
".flatpak-builder",
|
|
".git",
|
|
".gitlab",
|
|
".gitlab-ci",
|
|
".gradle",
|
|
".idea",
|
|
".next",
|
|
".project",
|
|
".settings",
|
|
".venv",
|
|
"bin",
|
|
"hooks",
|
|
"node_modules",
|
|
"screenshots",
|
|
"target",
|
|
".cargo",
|
|
".rustup",
|
|
".crates"
|
|
],
|
|
"rust-analyzer.procMacro.enable": true,
|
|
"rust-analyzer.diagnostics.experimental.enable": false,
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
"**/bower_components": true,
|
|
"**/*.code-search": true,
|
|
"**/pnpm-lock.yaml": true,
|
|
"**/.gitignore": true,
|
|
"/packages/ctjs/types/*": true,
|
|
"**/dist": true
|
|
},
|
|
"eslint.experimental.useFlatConfig": true,
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"astro",
|
|
"toml",
|
|
"solid"
|
|
],
|
|
"eslint.lintTask.enable": true,
|
|
"eslint.workingDirectories": [],
|
|
"explorer.fileNesting.enabled": true,
|
|
"explorer.fileNesting.patterns": {
|
|
"*.ts": "${capture}.js",
|
|
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
|
|
"*.jsx": "${capture}.js",
|
|
"*.tsx": "${capture}.ts",
|
|
".npmrc": ".nvmrc, .yarnrc.yml",
|
|
".gitignore": ".eslintignore, .prettierignore",
|
|
"README.md": "CONTRIBUTING.md, CODE_OF_CONDUCT.md, LICENSE",
|
|
"Cargo.toml": "Cargo.lock",
|
|
".eslintrc.js": ".eslintcache",
|
|
".prettierrc.*": ".rustfmt.toml, .gitattributes, .editorconfig, .clippy.toml",
|
|
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, pnpm-workspace.yaml, .pnp.cjs, .pnp.loader.mjs",
|
|
"tsconfig.json": "tsconfig.*.json",
|
|
"flake.nix": "shell.nix, flake.lock, Cargo.nix"
|
|
}
|
|
}
|