helixbass / prettier-plugin-coffeescript

Prettier Coffeescript Plugin
MIT License
37 stars 1 forks source link

Formatting: why call parens in breaking conditional? #161

Open helixbass opened 4 years ago

helixbass commented 4 years ago

This shouldn't need the call parens for the .filter() calls:

      allowedKeywords =
        if allow?
          allKeywords.filter((keyword) -> keyword in allow)
        else
          allKeywords.filter((keyword) -> keyword not in disallow)