mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-24 01:18:34 +08:00
fix: align oxfmt json commas with lint
This commit is contained in:
@@ -9,6 +9,14 @@ const oxfmtConfig = defineOxfmtConfig({
|
||||
singleQuote: true,
|
||||
sortPackageJson: false,
|
||||
trailingComma: 'all',
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/*.json', '**/*.json5', '**/*.jsonc', '*.code-workspace'],
|
||||
options: {
|
||||
trailingComma: 'none',
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
function defineConfig(config: OxfmtConfig = {}) {
|
||||
|
||||
Reference in New Issue
Block a user