basis-stack/basis

View on GitHub

Showing 2 of 12 total issues

Function render has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {

    const { onToggleDrawer, layout } = this.props;

    return (
Severity: Major
Found in src/client/modules/shell/components/shell.jsx - About 2 hrs to fix

    Function func has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      func: () => {
    
        const dest = `${getStaticDir(config)}/styles`;
        const vendorFileName = hasServer ? 'server-vendor' : 'vendor';
        const basisAssetsPath = './node_modules/basis-assets/dist/server/styles';
    Severity: Minor
    Found in packages/build/src/tasks/server.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language