skratchdot/react-bootstrap-daterangepicker

View on GitHub
scripts/build-options.js

Summary

Maintainability
A
1 hr
Test Coverage

Function buildOptions has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const buildOptions = () => {
  const body = fs.readFileSync(
    `${__dirname}/../node_modules/bootstrap-daterangepicker/website/index.html`
  );
  const $ = cheerio.load(body);
Severity: Minor
Found in scripts/build-options.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status