app/javascript/components/textual_summary/textual_group.jsx
Function renderComponent
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderComponent = (props) => {
const { group, onClick } = props;
switch (props.group.component) {
case 'GenericGroup':
return (
- Create a ticketCreate a ticket
'group.className' is missing in props validation Open
Open
className={group.className}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/