CFenner / MMM-Smappee

A module for the MagicMirror, to display informations about the currently energy consumption measured by a Smappee Energy Monitor.
MIT License
2 stars 1 forks source link

Fix "method_lines" issue in MMM-Smappee.js #5

Open CFenner opened 6 years ago

CFenner commented 6 years ago

Function getDom has 35 lines of code (exceeds 25 allowed). Consider refactoring.

https://codeclimate.com/github/CFenner/MMM-Smappee/MMM-Smappee.js#issue_5a6cb3c873df430001000013