Brad Zacher

Results 390 comments of Brad Zacher

Is this something that we could just rewrite internally rather than forking externally? If @armano2 has ideas for how the package can be rewritten entirely - it would save having...

No problem! I was just raising it because of the attached issue that someone raised - in testing I realised that prettier munges it. I think we might need to...

Yeah (almost) all of our rules work fine on JS code. If you're good with your jsdoc typing, ones that use type information will even work pretty well! Unfortunately it...

To me it seems like changing the default is not really going to fix or even change much in the world. If the issue being solved solved really is that...

Using another AST representation is entirely out of the question here, as I work on @typescript-eslint. ---- > Overall, i think the ideal solution for your use case (guessing that...

I agree. This has been one of the harder things to understand as I have started diving more into parsers and ASTs. Often times you have to go through a...

> but currently JS parsers parse them differently Could you give an example of differences?

> I mean the result of parsing these two expressions is different whereas e.g. for a + b + c and (a + b) + c it is not. If...

My understanding of this is that it's just easier for parsers to follow one set of logic. The logic of "parse in source order pairings, but group by parens first"...

> Note that a + (b + c) isn't equivalent to a + b + c. How so? What operations are applied to additions that would change the outcome based...