Minor improvements #121
onPR.yml
on: pull_request
Run Tests
21s
Run ESLint
24s
Annotations
10 errors
Run ESLint:
src/components/SummaryPage.tsx#L7
'Notes' is defined but never used
|
|
Run ESLint:
src/components/SummaryPage.tsx#L228
Replace `·...·new·Set(` with `⏎······...new·Set(⏎········`
|
Run ESLint:
src/components/SummaryPage.tsx#L229
Replace `return·item?.category` with `····return·item?.category;`
|
Run ESLint:
src/components/SummaryPage.tsx#L230
Replace `}))` with `····}),⏎······),⏎····`
|
Run ESLint:
src/components/SummaryPage.tsx#L232
Replace `(item:·any)·=>·item.category·===·category` with `⏎········(item:·any)·=>·item.category·===·category,⏎······`
|
|
Run ESLint:
src/components/SummaryPage.tsx#L312
Replace `getDataByFilter(data[FILES.PHENOTYPE],·'Location')` with `⏎··············getDataByFilter(data[FILES.PHENOTYPE],·'Location'),⏎············`
|
Run ESLint:
src/components/common/Heatmap.tsx#L2
Replace `⏎··Box,⏎··Button,⏎··ButtonGroup,⏎··Typography,⏎` with `·Box,·Button,·ButtonGroup,·Typography·`
|
|