Skip to content

Commit

Permalink
style: format json files (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayntee committed Mar 3, 2021
1 parent f147322 commit 16ba155
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 40 deletions.
49 changes: 24 additions & 25 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
{
"name": "Deno",
"dockerFile": "Dockerfile",
"name": "Deno",
"dockerFile": "Dockerfile",

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"deno.enable": true,
"deno.lint": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"deno.enable": true,
"deno.lint": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"denoland.vscode-deno"
],
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"denoland.vscode-deno"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],

// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
16 changes: 8 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"deno.enable": true,
"deno.lint": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
"deno.enable": true,
"deno.lint": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
}
14 changes: 7 additions & 7 deletions docs/src/stepbystep/createlanguage.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ translations work properly now.

```json
{
"DESCRIPTION": "Hug yourself or another user."
"DESCRIPTION": "Hug yourself or another user."
}
```

Expand All @@ -58,9 +58,9 @@ add those in.

```json
{
"DESCRIPTION": "Hug yourself or another user.",
"SELF": "If you had no one to hug you could have hugged me. Years from now, when you're thinking about me, you're gonna say: 'How did I ever get along without that wonderful, constant companion?' *Woof.*",
"OTHER": "{{user}} was hugged by {{mention}}"
"DESCRIPTION": "Hug yourself or another user.",
"SELF": "If you had no one to hug you could have hugged me. Years from now, when you're thinking about me, you're gonna say: 'How did I ever get along without that wonderful, constant companion?' *Woof.*",
"OTHER": "{{user}} was hugged by {{mention}}"
}
```

Expand Down Expand Up @@ -127,9 +127,9 @@ example of different languages.

```json
{
"DESCRIPTION": "Abrázate a ti mismo oa otro usuario",
"SELF": "Si no tuvieras a nadie a quien abrazar, podrías haberme abrazado. Años a partir de ahora, cuando estés pensando en mí, dirás: '¿Cómo me las arreglé sin esa maravillosa y constante compañera?' *Guau.*",
"OTHER": "{{user}} fue abrazado por {{mention}}"
"DESCRIPTION": "Abrázate a ti mismo oa otro usuario",
"SELF": "Si no tuvieras a nadie a quien abrazar, podrías haberme abrazado. Años a partir de ahora, cuando estés pensando en mí, dirás: '¿Cómo me las arreglé sin esa maravillosa y constante compañera?' *Guau.*",
"OTHER": "{{user}} fue abrazado por {{mention}}"
}
```

Expand Down

0 comments on commit 16ba155

Please sign in to comment.