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:
parent
816443f2ef
commit
c079c483f8
3 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue