huridocs/uwazi

View on GitHub
app/react/Templates/components/FormGroup.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';

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

Export statements should appear at the end of the file
Open

export class FormGroup extends Component {

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

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

  submitFailed: PropTypes.bool,

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

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

  valid: PropTypes.bool,

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

Prefer named exports.
Open

export default FormGroup;

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

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

  touched: PropTypes.bool,

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

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

  children: childrenType,

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

There are no issues that match your filters.

Category
Status