Declarative system eslint rules should allow the library to be written in JavaScript ES6 #573
Labels
Type: Improvement
Make something better
Type: Technical issue
Improve something that users won't notice
What feature do you want to improve?
The code in src/nools has eslint rule requiring
ecmaVersion: 5
.It'd be super nice to work in ES6 and support features like const, destructuring, spread, etc.
ES6 is supported after Chrome 51. XWalk android container was Chrome 54.
I'm unclear why the code in this folder is special cased. I suspect it was something back in CHT 2.x days? Or pre-XWalk users used the Chrome WebView and could have had Chrome <51.
Describe the improvement you'd like
Relax the eslint rule to require ES6.
Additional context
I'm unclear if this would be called a "breaking change"?
The text was updated successfully, but these errors were encountered: