bbc/psammead

View on GitHub
packages/components/psammead-brand/src/index.stories.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function inputs has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const inputs = (service = 'news') => {
  const options = Object.keys(svgs).filter(key => key !== 'BBC_BLOCKS');
  const svgChoice = select('Service SVG', options, service).toLowerCase();
  const productInput = text('Product', 'BBC News');
  const serviceLocalisedNameInput = text('Localised service name', 'Yoruba');
Severity: Minor
Found in packages/components/psammead-brand/src/index.stories.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status