Enforce consistent brace style for all control statements
ProprietaryWraps unbraced bodies of if/else, while, do...while, for, for...in and for...of statements in a block. An if directly after an else stays an else if rather than becoming else { if ... }. Replicates the autofix of the ESLint rule curly under its default options.
io. moderne. javascript. cleanup. Curlymod run . --recipe= io. moderne. javascript. cleanup. CurlyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.