kumabook/spread_beaver_frontend

View on GitHub

Showing 3 of 50 total issues

Function handleRender has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function handleRender(req, res) {
  const sagaMiddleware = createSagaMiddleware();
  const middleware = applyMiddleware(sagaMiddleware);

  global.navigator = global.navigator || {};
Severity: Minor
Found in lib/server.jsx - About 1 hr to fix

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

      render() {
        const { t } = this.props;
        const styles = getStyles(this.props, this.context);
        styles.flatButton.top = -styles.flatButton.marginTop;
        styles.flatButton.marginTop = 0;
    Severity: Minor
    Found in lib/containers/App.jsx - About 1 hr to fix

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

        render() {
          const tabs = this.props.streams.map(stream => (
            <Tab key={`tab:${stream.id}`} label={stream.label} value={stream.id} />
          ));
          const views = this.props.streams.map((stream, index) => {
      Severity: Minor
      Found in lib/containers/StreamTabs.jsx - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language