kumabook/spread_beaver_frontend

View on GitHub

Showing 50 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

        Insert ··
        Open

                    options: {
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Replace ············ with ··············
        Open

                    },
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import axios from 'axios';
        Severity: Minor
        Found in lib/api/stream.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { combineReducers } from 'redux';
        Severity: Minor
        Found in lib/reducers/index.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ·
        Open

          output:  {
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ··········
        Open

                      .pipe(eslint.format())
        Severity: Minor
        Found in gulpfile.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import axios from 'axios';
        Severity: Minor
        Found in lib/api/topic.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { combineReducers } from 'redux';
        Severity: Minor
        Found in lib/reducers/streams.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Insert ··
        Open

                      localIdentName: '[path][name]__[local]--[hash:base64:5]',
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        const gulp     = require('gulp');
        Severity: Minor
        Found in gulpfile.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ·
        Open

                  use: [{ loader:  'css-loader' }],
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ··
        Open

        const eslint   = require('gulp-eslint');
        Severity: Minor
        Found in gulpfile.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Replace ⏎······entries:·{·streamId·},⏎··· with ·entries:·{·streamId·}
        Open

            const {
        Severity: Minor
        Found in lib/sagas/streams.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Definition for rule 'jsx-a11y/anchor-is-valid' was not found
        Open

        import { call, put, select, takeEvery } from 'redux-saga/effects';
        Severity: Minor
        Found in lib/sagas/streams.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ············
        Open

                NODE_ENV:             JSON.stringify(NODE_ENV),
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Delete ············
        Open

                BASE_URL:             JSON.stringify(process.env.BASE_URL),
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Insert ⏎············
        Open

                  use: [{
        Severity: Minor
        Found in webpack.config.js by eslint

        For more information visit Source: http://eslint.org/docs/rules/

        Severity
        Category
        Status
        Source
        Language