javiercejudo/core-arbitrary-precision

View on GitHub

Showing 1 of 3 total issues

Function factory has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function factory(adapter) {
  var Impl = adapter.getInstance();

  function Decimal(x) {
    assert(this instanceof Decimal, new Error('Decimal must be called with new'));
Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language