vaadin / vaadin-connect

A Vaadin Labs experiment with a secure stateless communication framework
https://vaadin.com/labs/vaadin-connect
Apache License 2.0
18 stars 5 forks source link

Investigate ESLint errors #433

Closed haijian-vaadin closed 4 years ago

haijian-vaadin commented 4 years ago

Got these warnings when building a project with Vaadin dependencies in it:

warn ESLintError: /Users/jouni/Documents/dev/docs/target/flow-frontend/Connect.js 154:51 warning This generator function does not have 'yield' require-yield 161:56 warning Unexpected mix of '&&' and '||' no-mixed-operators 161:92 warning Unexpected mix of '&&' and '||' no-mixed-operators 198:76 warning This generator function does not have 'yield' require-yield

Investigate on the warnings, see if we should fix those. Should we also install eslint so we will find these problems/warnings earlier?