74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"i18n-ally.keystyle": "nested",
|
|
"i18n-ally.localesPaths": [
|
|
"packages/i18n/src/locales"
|
|
],
|
|
"i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
|
|
"i18n-ally.namespace": true,
|
|
"i18n-ally.enabledFrameworks": [
|
|
"vue"
|
|
],
|
|
|
|
"rust-analyzer.cargo.extraEnv": {
|
|
"MACOSX_DEPLOYMENT_TARGET": "10.13"
|
|
},
|
|
"rust-analyzer.cargo.targetDir": "target/rust-analyzer",
|
|
|
|
// Disable the default formatter
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
"eslint.rules.customizations": [
|
|
{ "rule": "style/*", "severity": "off" },
|
|
{ "rule": "format/*", "severity": "off" },
|
|
{ "rule": "*-indent", "severity": "off" },
|
|
{ "rule": "*-spacing", "severity": "off" },
|
|
{ "rule": "*-spaces", "severity": "off" },
|
|
{ "rule": "*-order", "severity": "off" },
|
|
{ "rule": "*-dangle", "severity": "off" },
|
|
{ "rule": "*-newline", "severity": "off" },
|
|
{ "rule": "*quotes", "severity": "off" },
|
|
{ "rule": "*semi", "severity": "off" }
|
|
],
|
|
|
|
// The following is optional.
|
|
// It's better to put under project setting `.vscode/settings.json`
|
|
// to avoid conflicts with working with different eslint configs
|
|
// that does not support all formats.
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml"
|
|
],
|
|
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"typescript.preferences.includePackageJsonAutoImports": "off",
|
|
"typescript.suggest.autoImports": false,
|
|
"cSpell.words": [
|
|
"appimage",
|
|
"localforage"
|
|
],
|
|
"[rust]": {
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"rust-analyzer.checkOnSave": true,
|
|
"rust-analyzer.cachePriming.enable": false, // Disable cache priming on workspace startup to save some memory while working on non-Rust tasks
|
|
|
|
"vitest.disableWorkspaceWarning": true
|
|
}
|