feat: Lint paragraphs except in test files & fix

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2022-12-15 00:02:48 -05:00
committed by Carlos Lopez
parent 8de0276086
commit e75f39e603
16 changed files with 60 additions and 40 deletions
@@ -16,6 +16,7 @@
import React from 'react';
import { Step, StepLabel, Stepper } from '@material-ui/core';
import Typography from '@material-ui/core/Typography';
import {
ArgoRolloutCanaryStep,
SetWeightStep,
@@ -49,11 +50,11 @@ const createLabelForStep = (step: ArgoRolloutCanaryStep): React.ReactNode => {
} else if (isAnalysisStep(step)) {
return (
<div>
<p>analysis templates:</p>
<Typography>analysis templates:</Typography>
{step.analysis.templates.map((t, i) => (
<p key={i}>{`${t.templateName}${
<Typography key={i}>{`${t.templateName}${
t.clusterScope ? ' (cluster scoped)' : ''
}`}</p>
}`}</Typography>
))}
</div>
);