Add average char/loc in habits plugin

This commit is contained in:
lowlighter
2021-05-27 22:31:07 +02:00
parent 575f474f9c
commit fb745b42bb
2 changed files with 12 additions and 1 deletions

View File

@@ -18,6 +18,9 @@
<% if (plugins.habits.indents.style) { %>
<li>Use <%= plugins.habits.indents.style %> for indents</li>
<% } %>
<% if (plugins.habits.lines.average.chars) { %>
<li>Approximately <%= f(plugins.habits.lines.average.chars, {fixed:1}) %> characters per line of code written</li>
<% } %>
<% if (!Number.isNaN(plugins.habits.commits.hour)) { %>
<li>Mostly push code around <%= plugins.habits.commits.hour %>:00</li>
<% } %>