npm(prettier-config): trailingComma: 'none' for jsonc

Summary:
Seems like prettier wants to put trailingComma to JSONc.

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

Test Plan: `arc land`, push new release, test.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D366
This commit is contained in:
revi 2024-06-19 14:31:06 +09:00
parent 816443f2ef
commit c079c483f8
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
3 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ ## Config
}, },
{ {
files: ['.vscode/*.json', '**.hujson'], files: ['.vscode/*.json', '**.hujson'],
options: {parser: 'jsonc'}, options: {parser: 'jsonc', trailingComma: 'none'},
}, },
{ {
files: '.yamllint', files: '.yamllint',

View file

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

View file

@ -48,7 +48,7 @@ const config = {
}, },
{ {
files: ['.vscode/*.json', '**.hujson'], files: ['.vscode/*.json', '**.hujson'],
options: {parser: 'jsonc'}, options: {parser: 'jsonc', trailingComma: 'none'},
}, },
{ {
files: '.yamllint', files: '.yamllint',