mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-12 14:12:08 +08:00
fix: match root json files in oxfmt overrides
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user