qiu8310/serpent

View on GitHub
projects/serpent-rollup-kits/src/makeLib.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function makeLib has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function makeLib(options: Omit<RollupOptions, 'input'> & { modules?: Record<string, string> } = {}) {
  const { modules, ...rest } = options
  const rootDir = getRootDir()
  const srcDir = path.join(rootDir, 'src')
  const pkg = require(path.join(rootDir, 'package.json'))
Severity: Minor
Found in projects/serpent-rollup-kits/src/makeLib.ts - About 2 hrs to fix

There are no issues that match your filters.

Category
Status