Llovelindhoni

flatten-deno.json

No description available

deprecationconfigurationjsondeno
Public
0 executions

Run locally

npx codemod flatten-deno.json

This codemod helps developers migrate their deno.json configuration files to the
new flattened schema format, making them easier to read and write. It automates
the transformation of nested properties to their new top-level structure as
outlined in recent Deno updates.

Before

json

After

json

The codemod handles the following transformations on the config file

BeforeAfter
bench.files.includebench.include
bench.files.excludebench.exclude
fmt.files.includefmt.include
fmt.files.excludefmt.exclude
fmt.options.useTabsfmt.useTabs
fmt.options.lineWidthfmt.lineWidth
fmt.options.indentWidthfmt.indentWidth
fmt.options.singleQuotefmt.singleQuote
fmt.options.proseWrapfmt.proseWrap
fmt.options.semiColonsfmt.semiColons
lint.files.includelint.include
lint.files.excludelint.exclude
test.files.includetest.include
test.files.excludetest.exclude

Ready to contribute?

Build your own codemod and share it with the community.