huridocs/uwazi

View on GitHub
app/react/App/SiteName.js

Summary

Maintainability
A
0 mins
Test Coverage

Export statements should appear at the end of the file
Open

export class SiteName extends Component {
Severity: Minor
Found in app/react/App/SiteName.js by eslint

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

propType "siteName" is not required, but has no corresponding defaultProps declaration.
Open

  siteName: PropTypes.string,
Severity: Minor
Found in app/react/App/SiteName.js by eslint

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

Prefer named exports.
Open

export default connect(mapStateToProps)(SiteName);
Severity: Minor
Found in app/react/App/SiteName.js by eslint

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

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

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

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

There are no issues that match your filters.

Category
Status