Following on from #17527 which added support for dynamic config files to oxlint, we should ship this functionality to oxfmt.
This allows more complicated rule configurations.
Supported files
We can use node.js native typescript support as we depend on node >v22.18.0.
API
import { defineConfig } from "oxlint";
export default defineConfig({
"printWidth": 123
});
note: This should be achieved by generalizing the work implemented in oxlint.
References
Following on from #17527 which added support for dynamic config files to oxlint, we should ship this functionality to oxfmt.
This allows more complicated rule configurations.
Supported files
We can use node.js native typescript support as we depend on node >v22.18.0.
API
note: This should be achieved by generalizing the work implemented in oxlint.
References