npm(prettier-config): add .devcontainer/*.json as jsonc.

Summary:
[devcontainer.json](https://containers.dev/implementors/spec/#devcontainerjson)
is a "JSON with Comments" file.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Watch how prettier behaves with rWEBXYZ `.devcontainer/devcontainer.json`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D400
This commit is contained in:
revi 2024-06-22 17:31:25 +09:00
parent bfab2ea75c
commit 09d55a76c5
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
3 changed files with 7 additions and 1 deletions

View file

@ -48,6 +48,9 @@ ## Config
},
{
files: [
'.devcontainer/devcontainer.json',
'.devcontainer.json',
'.devcontainer/*/devcontainer.json',
'.vscode/*.json',
'**.hujson',
'jsconfig.json',

View file

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@revi/prettier-config",
"version": "0.0.5",
"version": "0.0.6",
"author": {
"name": "revi",
"email": "revi@omglol.email",

View file

@ -48,6 +48,9 @@ const config = {
},
{
files: [
'.devcontainer/devcontainer.json',
'.devcontainer.json',
'.devcontainer/*/devcontainer.json',
'.vscode/*.json',
'**.hujson',
'jsconfig.json',