Set up prettier
This commit is contained in:
parent
07a2dc8c5d
commit
727ca3259a
9 changed files with 30 additions and 12 deletions
2
.prettierignore
Normal file
2
.prettierignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
/gdn-app/pnpm-lock.yaml
|
||||||
|
/gdn-app/src-tauri/gen/
|
||||||
3
.prettierrc
Normal file
3
.prettierrc
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"proseWrap": "always"
|
||||||
|
}
|
||||||
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"Vue.volar",
|
"Vue.volar",
|
||||||
"tauri-apps.tauri-vscode",
|
"esbenp.prettier-vscode",
|
||||||
"rust-lang.rust-analyzer"
|
"rust-lang.rust-analyzer",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"tauri-apps.tauri-vscode"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"[toml]": {
|
||||||
|
"editor.defaultFormatter": "tamasfe.even-better-toml"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
Storage. The combination of the two is a bad pun that requires specialized
|
Storage. The combination of the two is a bad pun that requires specialized
|
||||||
hardware to even type properly.
|
hardware to even type properly.
|
||||||
|
|
||||||
In places where the *proper name* — "GedächtNAS", including the umlaut and
|
In places where the _proper name_ — "GedächtNAS", including the umlaut and
|
||||||
capitalization — can't be used, the *technical name* — "gedaechtnas", always
|
capitalization — can't be used, the _technical name_ — "gedaechtnas", always
|
||||||
lowercase — or the *abbreviated name* — "gdn" — shall be used instead. Other
|
lowercase — or the _abbreviated name_ — "gdn" — shall be used instead. Other
|
||||||
variations or spellings are incorrect.
|
variations or spellings are incorrect.
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,5 @@
|
||||||
"identifier": "default",
|
"identifier": "default",
|
||||||
"description": "Capability for the main window",
|
"description": "Capability for the main window",
|
||||||
"windows": ["main"],
|
"windows": ["main"],
|
||||||
"permissions": [
|
"permissions": ["core:default", "opener:default"]
|
||||||
"core:default",
|
|
||||||
"opener:default"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,6 @@ async function greet() {
|
||||||
.logo.vue:hover {
|
.logo.vue:hover {
|
||||||
filter: drop-shadow(0 0 2em #249b73);
|
filter: drop-shadow(0 0 2em #249b73);
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
|
|
@ -156,5 +155,4 @@ button {
|
||||||
background-color: #0f0f0f69;
|
background-color: #0f0f0f69;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
</style>
|
|
||||||
|
|
|
||||||
5
meta/fmt
Executable file
5
meta/fmt
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
prettier . --write
|
||||||
|
cargo fmt
|
||||||
5
meta/fmt-check
Executable file
5
meta/fmt-check
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
prettier . --check
|
||||||
|
cargo fmt --check
|
||||||
Loading…
Add table
Add a link
Reference in a new issue