ris58h / WebCalm

Free JavaScript and CSS support in IntelliJ-based IDEs
https://plugins.jetbrains.com/plugin/21826-webcalm
31 stars 4 forks source link

Code formatting for conditional (ternary) operator #15

Closed ris58h closed 5 months ago

ris58h commented 5 months ago

Expected:

const response = Array.isArray(videoResponse)
    ? videoResponse.find(e => e.response).response
    : videoResponse.response

Actual:

const response = Array.isArray(videoResponse)
? videoResponse.find(e => e.response).response
: videoResponse.response