src/shared/routes.js
Function default
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (store) {
return (
<Route component={App}>
<Route path="/" component={Home} />
<Route path="/home" component={Home} />
A space is required before closing bracket Open
Open
<Route path="/post" component={Post} store={store} onEnter={auth}/>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
The closing bracket must be aligned with the line containing the opening tag (expected column 7 on the next line) Open
Open
onEnter={auth} />
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
The closing bracket must be aligned with the line containing the opening tag (expected column 7 on the next line) Open
Open
store={store} />
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Property should be placed on a new line Open
Open
<Route path="/password" component={ChangePassword}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
JSX not allowed in files with extension '.js' Open
Open
<Route component={App}>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
The closing bracket must be aligned with the line containing the opening tag (expected column 7 on the next line) Open
Open
store={store} onEnter={auth} />
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
A space is required before closing bracket Open
Open
<Route path="/post" component={Post} store={store} onEnter={auth}/>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/