mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
* Make Prettier and ESLint work together - Resolve conflicts between Prettier and ESLint regarding indentation and Tailwind rules order - Add `.editorconfig` to standardize basic formatting options across tools and editors - Add `.gitattributes` to hide `pnpm-lock.yaml` in `git diff` output - Include EditorConfig in the recommended extensions for VSCode - Replace some instances of `pnpm exec <command>` with `pnpm <command>` - Remove superfluous Tauri config for Linux * Revert Prettier changes (it was working correctly before) - Update ESLint to read Tailwind config from absolute path - Remove redundant Prettier dependency from subprojects - Specify the source folder for the lint script in subprojects * use mobile's tailwind config with eslint * pnpm format + pnpm lint:fix --------- Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Tauri Development Debug",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--manifest-path=./apps/desktop/src-tauri/Cargo.toml",
|
|
"--no-default-features"
|
|
],
|
|
"problemMatcher": "$rustc"
|
|
},
|
|
"sourceLanguages": ["rust"],
|
|
"preLaunchTask": "ui:dev"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Tauri Production Debug",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--release",
|
|
"--manifest-path=./apps/desktop/src-tauri/Cargo.toml"
|
|
],
|
|
"problemMatcher": "$rustc"
|
|
},
|
|
"sourceLanguages": ["rust"],
|
|
"preLaunchTask": "ui:build"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in library 'sd-core'",
|
|
"cargo": {
|
|
"args": ["test", "--no-run", "--lib", "--package=sd-core"],
|
|
"filter": {
|
|
"name": "sd-core",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in library 'sd-crypto'",
|
|
"cargo": {
|
|
"args": ["test", "--no-run", "--lib", "--package=sd-crypto"],
|
|
"filter": {
|
|
"name": "sd-crypto",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
]
|
|
}
|