Open tommy-mitchell opened 2 months ago
Specifying files to use trailing commas currently requires listing every file explicitly:
"jsonTrailingCommaFiles": [ "tsconfig.json", "tsconfig.base.json", "jsconfig.json", ".vscode/settings.json", ".vscode/extensions.json", ".vscode/tasks.json", ".vscode/launch.json", ]
It'd be convenient to allow some glob-like matching (which is already supported for includes/excludes):
includes
excludes
"jsonTrailingCommaFiles": [ "{j,t}sconfig*.json", ".vscode/*.json" ]
This was suggested in https://github.com/dprint/dprint-plugin-json/issues/14#issuecomment-1489580999 as well.
Specifying files to use trailing commas currently requires listing every file explicitly:
It'd be convenient to allow some glob-like matching (which is already supported for
includes
/excludes
):This was suggested in https://github.com/dprint/dprint-plugin-json/issues/14#issuecomment-1489580999 as well.