react/src/pages/AdminImportView.js
Function InstrumentImportView
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const InstrumentImportView = (props) => {
const { instrumentImport } = props;
const classes = useStyles();
- Create a ticketCreate a ticket
Function AdminImportView
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AdminImportView = (props) => {
const dispatch = useDispatch()
const importId = get(props, "match.params.importId", "")
const imports = useSelector(state => state.imports);
- Create a ticketCreate a ticket
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
import React, { useEffect } from 'react';
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/