unfoldedcircle / integration-node-library

NodeJS API wrapper for the Unfolded Circle Integration API
Apache License 2.0
0 stars 2 forks source link

Cleanup & include ESLint #9

Closed zehnm closed 1 year ago

zehnm commented 1 year ago

Use ESLint as in web-configurator with semistandard but otherwise default rule set. Include IntelliJ configuration to automatically use ESLint with fix-on-save.

Fix ESLint findings and refactor sendResponse:

Part of #7

zehnm commented 1 year ago

@martonborzak please retest with simulator, web-configurator & remote-ui to make sure I didn't make anything kaput.