Julian Rosse
Julian Rosse
With `indentChain: false`, this is formatting like this: ``` aaaaaaaaa = @cacheToCodeFragments step.cache o, LEVEL_LIST, shouldCache ``` but should presumably be nicer like this: ``` aaaaaaaaa = @cacheToCodeFragments( ... )...
With `noImplicit: ['callParens']`, you get eg this: ``` a -> b ``` formatted like this ``` a(-> b ) ```
This ``` exports.ExportNamedDeclaration = class ExportNamedDeclaration extends ExportDeclaration ... ``` is formatting like ``` exports .ExportNamedDeclaration = class ExportNamedDeclaration extends ExportDeclaration ... ``` so the class body doesn't parse as...
Adding `respectBreak: 'control'` support for `try`/`catch` (#58/#78), but currently isn't checking/respecting whether a single-expression `finally` block is indented or not, eg this: ``` try yes finally 'nothing' ``` is formatting...
This: ``` Object.assign token.data ?= {}, data ``` is formatted like the source, while this: ``` Object.assign token.data = {}, data ``` is formatted like ``` Object.assign (token.data = {}),...
I personally prefer `(a=b) ->` to `(a = b) ->` I guess the option would apply to all "default assignments"? eg ``` {a=1} = b {a: {b}={}, c} = d...
Currently when eg an `if` condition breaks, it uses parens eg ``` if ( someLongCondition and somethingElse ) ... ``` I think some people would prefer/find it more "Coffeescript-y" to...
Should merge Coffeescript branch allowing leading logical operators and make this the default behavior. And then add option to specify current behavior (trailing logical operators), eg `lineContinuingLeadingOperators: ['none']` (or `['logical']`)...
The relative indent of heredocs/heregexen should be preserved when its first line ends up indented differently than in the original source Eg this: ``` a = ''' b ''' ```...
As @peterstuart ran into, currently if you pass either a dependencies array containing a path (eg `['user.isAuthorized']`) or a callback-style dependency argument to `useEffect()` (and I think the same would...