tree-wide: enforce single quotes through prettier

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-07-08 12:23:34 +02:00
parent 988a56e4a6
commit b0ee6d8970
Signed by: c8h4
GPG key ID: 1538094429952F86
3 changed files with 17 additions and 14 deletions

View file

@ -1,7 +1,7 @@
--- ---
image: nixos/unstable image: nixos/unstable
environment: environment:
NIX_CONFIG: "experimental-features = nix-command flakes" NIX_CONFIG: 'experimental-features = nix-command flakes'
sources: sources:
- https://git.sr.ht/~c8h4/c8h4.io - https://git.sr.ht/~c8h4/c8h4.io
secrets: secrets:

3
.prettierrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"singleQuote": true
}

View file

@ -13,17 +13,17 @@ html {
system-ui, system-ui,
-apple-system, -apple-system,
BlinkMacSystemFont, BlinkMacSystemFont,
"Segoe UI", 'Segoe UI',
"Roboto", 'Roboto',
"Oxygen", 'Oxygen',
"Ubuntu", 'Ubuntu',
"Cantarell", 'Cantarell',
"Fira Sans", 'Fira Sans',
"Droid Sans", 'Droid Sans',
"Helvetica Neue", 'Helvetica Neue',
"Segoe UI Emoji", 'Segoe UI Emoji',
"Apple Color Emoji", 'Apple Color Emoji',
"Noto Color Emoji", 'Noto Color Emoji',
sans-serif; sans-serif;
font-size: 12pt; font-size: 12pt;
max-width: 45em; max-width: 45em;
@ -69,7 +69,7 @@ p {
main { main {
ul { ul {
list-style-type: "*"; list-style-type: '*';
} }
li { li {
@ -79,7 +79,7 @@ main {
header { header {
ul { ul {
list-style-type: ""; list-style-type: '';
margin: 0 0 0.1em 0; margin: 0 0 0.1em 0;
} }