ci: add typo detection (#3327)

And fix them.
This commit is contained in:
Ammar Bandukwala
2022-08-01 09:29:52 -04:00
committed by GitHub
parent eb514357bb
commit 19fcf60864
25 changed files with 63 additions and 30 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ const typeToColor = (type: ConfirmDialogType): LoadingButtonProps["color"] => {
}
/**
* Quickly handels most modals actions, some combination of a cancel and confirm button
* Quickly handles most modals actions, some combination of a cancel and confirm button
*/
export const DialogActionButtons: React.FC<DialogActionButtonsProps> = ({
cancelText = "Cancel",
@@ -28,7 +28,7 @@ NullResource.args = {
type: "null_resource",
}
export const UnkownResource = Template.bind({})
UnkownResource.args = {
export const UnknownResource = Template.bind({})
UnknownResource.args = {
type: "noexistentvalue",
}
@@ -30,7 +30,7 @@ const useStyles = makeStyles((theme) => ({
cell: {
// This must override all padding for all rules on a TableCell.
// Otherwise, the link will not cover the entire region.
// It's unfortuante to use `!important`, but this seems to be
// It's unfortunate to use `!important`, but this seems to be
// a reasonable use-case.
padding: "0 !important",
},
@@ -40,7 +40,7 @@ NoTTL.args = {
...Mocks.MockWorkspace,
latest_build: {
...Mocks.MockWorkspaceBuild,
// a mannual shutdown has a deadline of '"0001-01-01T00:00:00Z"'
// a manual shutdown has a deadline of '"0001-01-01T00:00:00Z"'
// SEE: #1834
deadline: "0001-01-01T00:00:00Z",
},