huridocs/uwazi

View on GitHub
app/react/UI/Icon/Icon.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

import PropTypes from 'prop-types';
Severity: Minor
Found in app/react/UI/Icon/Icon.js by eslint

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

Prop spreading is forbidden
Open

    <FontAwesomeIcon {...ownProps} flip={languageData && languageData.rtl ? 'horizontal' : null} />
Severity: Minor
Found in app/react/UI/Icon/Icon.js by eslint

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

Prefer named exports.
Open

export default connect(mapStateToProps, () => ({}))(Icon);
Severity: Minor
Found in app/react/UI/Icon/Icon.js by eslint

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

There are no issues that match your filters.

Category
Status