huridocs/uwazi

View on GitHub
app/react/Layout/TemplateLabel.js

Summary

Maintainability
A
0 mins
Test Coverage
B
87%

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

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

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

Prefer named exports.
Open

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

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

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

  name: PropTypes.string,
Severity: Minor
Found in app/react/Layout/TemplateLabel.js by eslint

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

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

  template: PropTypes.string,
Severity: Minor
Found in app/react/Layout/TemplateLabel.js by eslint

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

Export statements should appear at the end of the file
Open

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

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

There are no issues that match your filters.

Category
Status