IBM / watson-voice-bot

Create a Watson Assistant chatbot that uses voice over a web browser.

Home Page:https://developer.ibm.com/patterns/create-a-web-based-voice-chatbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLINT errors not solvable without refactoring

sanjeevghimire opened this issue · comments

Please lint the javascript code and make sure travis passes when linting. Example of issues are:

screen shot 2018-07-26 at 4 19 43 pm

@sanjeevghimire what do you think of #6 ?

#6 fixes the spacing issue but not object referenced issues. if we hook eslint with travis, it will complain.

@sanjeevghimire i created PR #8 too, just poking around with eslint.

Hi @ptrikkur can you look at #6 and #8

@stevemart I merged both #6 and #8 . I took the resulting script.js and linted it. I got one error.

1:5 error Parsing error: Unexpected token conversationContext

✖ 1 problem (1 error, 0 warnings)

@ptrikkur I have fixed the linting issues. I have also removed few unused functions, if you can review it as well that would be great. #9

i think this is fixed. closing it.