Skip to content

Conversation

@LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented Jul 31, 2018

This keeps babel-eslint from complaining about newer syntax like async/await

This keeps eslint from complaining about newser syntax like async/await
Otherwise tests fail when project was created with babel and typescript was added later.
@LinusBorg LinusBorg changed the title WIP:Set parserOptions.ecmaVersion to 2017 Fix(eslint): Set parserOptions.ecmaVersion to 2017 Jul 31, 2018
@yyx990803
Copy link
Member

Is this necessary? I've never seen it complaining about async/await.

@LinusBorg
Copy link
Member Author

@yyx990803
Copy link
Member

This should only be necessary if not using babel-eslint.

@LinusBorg
Copy link
Member Author

LinusBorg commented Jul 31, 2018

Okay, you're right. Will change it so that it only applies it if we create the project without Babel and typescript.

@LinusBorg LinusBorg changed the title Fix(eslint): Set parserOptions.ecmaVersion to 2017 WIP: Fix(eslint): Set parserOptions.ecmaVersion to 2017 Aug 1, 2018
@LinusBorg LinusBorg self-assigned this Aug 1, 2018
@michalsnik
Copy link
Member

@LinusBorg any update here? :)

@LinusBorg
Copy link
Member Author

LinusBorg commented Jan 2, 2019

Oh, forgot about this one ^^ Will check later.

Edit: Tonight, hopefully :-P

@LinusBorg
Copy link
Member Author

This is too old, I'll start over

@LinusBorg LinusBorg closed this Jan 26, 2019
@LinusBorg LinusBorg deleted the LinusBorg-patch-1 branch February 26, 2019 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants