fix: match root json files in oxfmt overrides

This commit is contained in:
xingyu4j
2026-03-14 19:33:55 +08:00
parent e3e869faee
commit f1143e134e

View File

@@ -11,7 +11,16 @@ const oxfmtConfig = defineOxfmtConfig({
trailingComma: 'all', trailingComma: 'all',
overrides: [ overrides: [
{ {
files: ['**/*.json', '**/*.json5', '**/*.jsonc', '*.code-workspace'], files: [
'*.json',
'*.json5',
'*.jsonc',
'*.code-workspace',
'**/*.json',
'**/*.json5',
'**/*.jsonc',
'**/*.code-workspace',
],
options: { options: {
trailingComma: 'none', trailingComma: 'none',
}, },