huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

  open: PropTypes.bool,
Severity: Minor
Found in app/react/Layout/SidePanel.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 SidePanel extends Component {
Severity: Minor
Found in app/react/Layout/SidePanel.js by eslint

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

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

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

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

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

  children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
Severity: Minor
Found in app/react/Layout/SidePanel.js by eslint

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

Prefer named exports.
Open

export default SidePanel;
Severity: Minor
Found in app/react/Layout/SidePanel.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/Layout/SidePanel.js by eslint

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

There are no issues that match your filters.

Category
Status