Brian Donovan

Results 80 comments of Brian Donovan

Would it make sense to make putout plugins also serve as babel plugins? Then you could use them as-is.

@AsaAyers Any update? Is this on a branch you have publicly available somewhere? I really want this for our apps. I'd love to help push this over the finish line....

@AsaAyers I pushed up some changes to that branch. Feel free to edit. It's still definitely a work in progress. So far it seems pretty good. What do you think...

I dug into it a little more. It definitely is more tricky than simply looking at `Assign` and `Value` nodes, since `Value` nodes are used for object literal keys and...

Yeah, I ran into a few of those in my project as well. I also had the same issue with list comprehensions where I only wanted the value: ``` coffee...

I noticed another issue. The `lintComment` method is supposed to allow you to say `# global jQuery` or something like that, but CoffeeScript's AST does not contain comments. Do you...

I have a [fork of coffee-script](https://github.com/eventualbuddha/coffee-script/tree/process-comments-into-ast) that adds comments to the AST as a top-level `comments` array. You'd still have to figure out where they were when you're processing the...

Yeah, I'm not proposing running a fork. Just wanted to put that out there in case it set off any ideas.

@AsaAyers I updated the branch to work with variables declared by `try/catch` statements. I had forgotten that in CoffeeScript `catch` variables are _not_ block scope like they are in JS:...

Oh, also added destructuring support with `for` statements i.e. `for { a, b } in list`.