avajs / ava-codemods

Codemods for AVA
https://ava.li
MIT License
68 stars 16 forks source link

ES6ify the code #24

Closed sotojuan closed 8 years ago

sotojuan commented 8 years ago

Fixes #18.

jamestalmage commented 8 years ago

Hmm.

I wasn't doing use-strict. I wonder if that is your problem somehow.

Use strict is implied for ES2015 modules. Not sure why Babel doesn't just handle that.

sotojuan commented 8 years ago

All right, phew, fixed a lot of stuff. The rest should just be style fixes from now on.

jamestalmage commented 8 years ago

What was the issue? The use strict line?

sotojuan commented 8 years ago

That and I forgot to add more files to the only array in the Babel config 😅

sotojuan commented 8 years ago

@sindresorhus What do you think?

sindresorhus commented 8 years ago

Looks good. Thanks @sotojuan :)