huridocs/uwazi

View on GitHub
app/react/I18N/components/I18N.js

Summary

Maintainability
A
0 mins
Test Coverage
F
33%

Export statements should appear at the end of the file
Open

export class I18N extends Component {
Severity: Minor
Found in app/react/I18N/components/I18N.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.string,
Severity: Minor
Found in app/react/I18N/components/I18N.js by eslint

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

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

  locale: PropTypes.string,
Severity: Minor
Found in app/react/I18N/components/I18N.js by eslint

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

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

  dictionaries: PropTypes.object,
Severity: Minor
Found in app/react/I18N/components/I18N.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/I18N/components/I18N.js by eslint

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

Prop type "object" is forbidden
Open

  dictionaries: PropTypes.object,
Severity: Minor
Found in app/react/I18N/components/I18N.js by eslint

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

Prefer named exports.
Open

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

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

There are no issues that match your filters.

Category
Status