app/react/Notifications/components/Notifications.js
Prop type "array" is forbidden Open
Open
notifications: PropTypes.array,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Export statements should appear at the end of the file Open
Open
export class Notifications extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prop spreading is forbidden Open
Open
<Notification key={notification.id} {...notification} />
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import PropTypes from 'prop-types';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "notifications" is not required, but has no corresponding defaultProps declaration. Open
Open
notifications: PropTypes.array,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default connect(mapStateToProps)(Notifications);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/