tunnckoCore/acorn-extract-comments

View on GitHub

Showing 1 of 3 total issues

Function acornExtractComments has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function acornExtractComments (input, opts) {
  if (typeof input !== 'string') {
    throw new TypeError('acorn-extract-comments expect `input` to be a string')
  }
  if (!input.length) return []
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language