mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 02:19:25 +00:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
});
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user