Skip to content

Conversation

@jirikolarik
Copy link
Member

@jirikolarik jirikolarik commented Oct 24, 2017

import { routerMiddleware, connectRouter } from 'connected-react-router';
// Import all reducers
import * as reducers from 'reducers';
import * as reducers from 'reducers/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'reducers/index' import/no-unresolved
Missing file extension for "reducers/index" import/extensions

@@ -1,10 +1,12 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions
Resolve error: package.json not found in path import/no-absolute-path

@@ -1,3 +1,5 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions
Resolve error: package.json not found in path import/no-absolute-path
Resolve error: package.json not found in path import/no-named-as-default
Resolve error: package.json not found in path import/no-named-as-default-member

// @flow

import type { Dispatch } from 'actions/index';
import type { AppState } from './app';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './app' import/no-unresolved
Missing file extension for "./app" import/extensions

@@ -1,3 +1,18 @@
// @flow

import type { Dispatch } from 'actions/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'actions/index' import/no-unresolved
Missing file extension for "actions/index" import/extensions

@@ -1,3 +1,5 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions
Resolve error: package.json not found in path import/no-absolute-path
Resolve error: package.json not found in path import/no-named-as-default
Resolve error: package.json not found in path import/no-named-as-default-member


render() {
if (!this.props.loaded) {
const { loaded } = this.props;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'loaded' is missing in props validation react/prop-types

componentDidMount() {
this.props.dispatch(loadApp());
}
const { dispatch } = this.props;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'dispatch' is missing in props validation react/prop-types

import { connect } from 'react-redux';
import { loadApp } from 'actions/app';
import type { Dispatch } from 'actions/index';
import type { State } from 'reducers/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'reducers/index' import/no-unresolved
Missing file extension for "reducers/index" import/extensions

import React, { Component } from 'react';
import { connect } from 'react-redux';
import { loadApp } from 'actions/app';
import type { Dispatch } from 'actions/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'actions/index' import/no-unresolved
Missing file extension for "actions/index" import/extensions

@@ -1,6 +1,12 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates


import type {
LoadApp
} from './app';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './app' import/no-unresolved
Missing file extension for "./app" import/extensions

@@ -0,0 +1,9 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions

import { loadApp } from 'actions/app';
import type { MapStateToProps } from 'react-redux';
import type { Dispatch } from 'actions/index';
import type { State } from 'reducers/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'reducers/index' import/no-unresolved
Missing file extension for "reducers/index" import/extensions

@@ -1,6 +1,12 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates


import type {
LoadApp
} from './app';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './app' import/no-unresolved
Missing file extension for "./app" import/extensions

@@ -0,0 +1,9 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions

import { loadApp } from 'actions/app';
import type { MapStateToProps } from 'react-redux';
import type { Dispatch } from 'actions/index';
import type { State } from 'reducers/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'reducers/index' import/no-unresolved
Missing file extension for "reducers/index" import/extensions

import { connect } from 'react-redux';
import { loadApp } from 'actions/app';
import type { MapStateToProps } from 'react-redux';
import type { Dispatch } from 'actions/index';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'actions/index' import/no-unresolved
Missing file extension for "actions/index" import/extensions

import React, { Component } from 'react';
import { connect } from 'react-redux';
import { loadApp } from 'actions/app';
import type { MapStateToProps } from 'react-redux';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module 'react-redux' import/no-unresolved
Missing file extension for "react-redux" import/extensions

@@ -1,22 +1,32 @@
// @flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve error: package.json not found in path import/no-unresolved
Resolve error: package.json not found in path import/no-duplicates
Resolve error: package.json not found in path import/extensions
Resolve error: package.json not found in path import/no-named-as-default
Resolve error: package.json not found in path import/no-named-as-default-member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants