feat: Lint paragraphs except in test files & fix
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
8de0276086
commit
e75f39e603
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { ClassNameMap } from '@material-ui/core/styles/withStyles';
|
||||
import Typography from '@material-ui/core/Typography/Typography';
|
||||
import React from 'react';
|
||||
import { Entry, Ring } from '../../utils/types';
|
||||
import { RadarLegendLink } from './RadarLegendLink';
|
||||
@@ -38,7 +39,7 @@ export const RadarLegendRing = ({
|
||||
<div data-testid="radar-ring" key={ring.id} className={classes.ring}>
|
||||
<h3 className={classes.ringHeading}>{ring.name}</h3>
|
||||
{entries.length === 0 ? (
|
||||
<p className={classes.ringEmpty}>(empty)</p>
|
||||
<Typography className={classes.ringEmpty}>(empty)</Typography>
|
||||
) : (
|
||||
<ol className={classes.ringList}>
|
||||
{entries.map(entry => (
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
Link,
|
||||
} from '@backstage/core-components';
|
||||
import { Grid, Input, makeStyles } from '@material-ui/core';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import React from 'react';
|
||||
import { RadarComponent, TechRadarComponentProps } from './RadarComponent';
|
||||
|
||||
@@ -79,7 +80,7 @@ export function RadarPage(props: TechRadarPageProps) {
|
||||
onChange={e => setSearchText(e.target.value)}
|
||||
/>
|
||||
<SupportButton>
|
||||
<p>
|
||||
<Typography>
|
||||
This is used for visualizing the official guidelines of different
|
||||
areas of software development such as languages, frameworks,
|
||||
infrastructure and processes. You can find an explanation for the
|
||||
@@ -88,7 +89,7 @@ export function RadarPage(props: TechRadarPageProps) {
|
||||
Zalando Tech Radar
|
||||
</Link>
|
||||
.
|
||||
</p>
|
||||
</Typography>
|
||||
</SupportButton>
|
||||
</ContentHeader>
|
||||
<Grid container spacing={3} direction="row">
|
||||
|
||||
Reference in New Issue
Block a user