SU-SWS/stanford_profile

View on GitHub
themes/stanford_basic/decoupled-menu/webpack.config.js

Summary

Maintainability
A
0 mins
Test Coverage

Function buildCssLayersFromEntryPoints has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

const buildCssLayersFromEntryPoints = () => {
  return islands.map(({ layer, elementName }) => {
    return {
      issuerLayer: layer,
      use: [
Severity: Minor
Found in themes/stanford_basic/decoupled-menu/webpack.config.js - About 1 hr to fix

    Function insert has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

                insert: (styleTag) => {
                  var styleTarget = styleTag.dataset.styleFor
    
                  if (!styleTarget) {
                    console.error(
    Severity: Minor
    Found in themes/stanford_basic/decoupled-menu/webpack.config.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status