Skip to content

Commit

Permalink
Defaulting back the "--experimental-ternaries" flag to "false", since…
Browse files Browse the repository at this point in the history
… that seems what the stable cli is actually using
  • Loading branch information
fabiospampinato committed Apr 14, 2024
1 parent f2c7ca4 commit abd5226
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ const makeBin = (): Bin => {
section: "Format",
enum: ["lf", "crlf", "cr", "auto"],
})
.option("--no-experimental-ternaries", 'Don\'t use curious ternaries, with the question mark after the condition\nDefaults to "true"', {
.option("--experimental-ternaries", 'Use curious ternaries, with the question mark after the condition\nDefaults to "false"', {
section: "Format",
default: true,
})
.option("--html-whitespace-sensitivity <css|strict|ignore>", 'How to handle whitespaces in HTML\nDefaults to "css"', {
section: "Format",
Expand Down

0 comments on commit abd5226

Please sign in to comment.