bitsnap/import-resolver

View on GitHub
src/settings.js

Summary

Maintainability
A
1 hr
Test Coverage

Function readSettings has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const readSettings = (rootDir = process.cwd()) => {
  if (_.isEmpty(settings)) {
    const babelRCPath = `${rootDir}/.babelrc`;

    try {
Severity: Minor
Found in src/settings.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status