DemocracyOS/app

View on GitHub
lib/build/js.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function buildJs has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function buildJs (entries) {
  return {
    build: function () {
      const log = newLog('js:build')

Severity: Minor
Found in lib/build/js.js - About 1 hr to fix

    Function watch has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        watch: function () {
          const log = newLog('js:watch')
    
          const bs = Object.keys(entries).map(function (target) {
            const opts = {
    Severity: Minor
    Found in lib/build/js.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status