interlockjs/interlock

View on GitHub
src/options/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function validate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function validate (options, optionsDef) {
  const cwd = process.cwd();

  options = optionsDef.reduce((opts, option) => {
    const hasKey = option.key in options;
Severity: Minor
Found in src/options/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status