Add godot linter to harmonitze toplevel comments (#3650)

This commit is contained in:
Robert Kaussow
2024-05-13 22:58:21 +02:00
committed by GitHub
parent 83eba294c7
commit 89e100cfd1
144 changed files with 302 additions and 302 deletions

View File

@@ -311,7 +311,7 @@ async function deleteLogs() {
throw new Error('The repository, pipeline or step was undefined');
}
// TODO use proper dialog (copy-pasted from web/src/components/secrets/SecretList.vue:deleteSecret)
// TODO: use proper dialog (copy-pasted from web/src/components/secrets/SecretList.vue:deleteSecret)
// eslint-disable-next-line no-alert, no-restricted-globals
if (!confirm(i18n.t('repo.pipeline.log_delete_confirm'))) {
return;

View File

@@ -74,7 +74,7 @@ const { doSubmit: deleteRepo, isLoading: isDeletingRepo } = useAsyncAction(async
throw new Error('Unexpected: Repo should be set');
}
// TODO use proper dialog
// TODO: use proper dialog
// eslint-disable-next-line no-alert, no-restricted-globals
if (!confirm(i18n.t('repo.settings.actions.delete.confirm'))) {
return;

View File

@@ -64,7 +64,7 @@ function editSecret(secret: Secret) {
}
function deleteSecret(secret: Secret) {
// TODO use proper dialog
// TODO: use proper dialog
// eslint-disable-next-line no-alert, no-restricted-globals
if (!confirm(i18n.t('repo.settings.secrets.delete_confirm'))) {
return;

View File

@@ -34,7 +34,7 @@ export default (pipeline: Ref<Pipeline | undefined>) => {
return null;
}
// TODO check whether elapsed works
// TODO: check whether elapsed works
return timeAgo(sinceElapsed.value);
});

View File

@@ -101,7 +101,7 @@ export default class ApiClient {
if (!opts.reconnect) {
events.onerror = (err) => {
// TODO check if such events really have a data property
// TODO: check if such events really have a data property
if ((err as Event & { data: string }).data === 'eof') {
events.close();
}