app/react/Attachments/components/AttachmentForm.js
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import PropTypes from 'prop-types';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "isSourceDocument" is not required, but has no corresponding defaultProps declaration. Open
Open
isSourceDocument: PropTypes.bool,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Export statements should appear at the end of the file Open
Open
export class AttachmentForm extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "onSubmit" is not required, but has no corresponding defaultProps declaration. Open
Open
onSubmit: PropTypes.func,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
A control must be associated with a text label. Open
Open
<input className="form-control" />
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default connect()(AttachmentForm);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/