chore(lint): Updating to latest eslint with typescript and enabling some rules that we can. Also fixing issues with the project after update
This commit is contained in:
@@ -99,18 +99,6 @@ const pickClassName = (
|
||||
return classes.neutral;
|
||||
};
|
||||
|
||||
const BuildsList = ({ build }: { build?: BuildWithSteps }) => (
|
||||
<Box>
|
||||
{build &&
|
||||
build.steps &&
|
||||
build.steps.map(
|
||||
({ name, actions }: { name: string; actions: BuildStepAction[] }) => (
|
||||
<ActionsList key={name} name={name} actions={actions} />
|
||||
),
|
||||
)}
|
||||
</Box>
|
||||
);
|
||||
|
||||
const ActionsList = ({
|
||||
actions,
|
||||
}: {
|
||||
@@ -132,6 +120,18 @@ const ActionsList = ({
|
||||
);
|
||||
};
|
||||
|
||||
const BuildsList = ({ build }: { build?: BuildWithSteps }) => (
|
||||
<Box>
|
||||
{build &&
|
||||
build.steps &&
|
||||
build.steps.map(
|
||||
({ name, actions }: { name: string; actions: BuildStepAction[] }) => (
|
||||
<ActionsList key={name} name={name} actions={actions} />
|
||||
),
|
||||
)}
|
||||
</Box>
|
||||
);
|
||||
|
||||
export const BuildWithStepsPage = () => {
|
||||
const { buildId = '' } = useParams();
|
||||
const classes = useStyles();
|
||||
|
||||
Reference in New Issue
Block a user