huridocs/uwazi

View on GitHub
app/react/Relationships/components/LeftRelationship.js

Summary

Maintainability
A
0 mins
Test Coverage
C
78%

Missing an explicit type attribute for button
Open

          <button onClick={this.toggelRemoveLeftRelationship} className="relationships-icon">

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

Definition for rule 'node/no-restricted-import' was not found.
Open

import { bindActionCreators } from 'redux';

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(LeftRelationship);

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

JSX props should not use .bind()
Open

            onChange={this.props.updateLeftRelationshipType.bind(null, index)}

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

There are no issues that match your filters.

Category
Status