app/react/Layout/TemplateLabel.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/
Prefer named exports. Open
Open
export default connect(mapStateToProps)(TemplateLabel);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "name" is not required, but has no corresponding defaultProps declaration. Open
Open
name: PropTypes.string,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "template" is not required, but has no corresponding defaultProps declaration. Open
Open
template: PropTypes.string,
- 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 TemplateLabel extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/