Skip to content

Commit

Permalink
add async prop to asyn linter rule (#43274)
Browse files Browse the repository at this point in the history
Co-authored-by: Grace Park <[email protected]>
  • Loading branch information
rachmari and gracepark authored Sep 25, 2023
1 parent 517872e commit 944a69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const incorrectAltTextLength = {
names: ['GHD003', 'incorrect-alt-text-length'],
description: 'Images alternate text should be between 40-150 characters',
tags: ['accessibility', 'images'],
asynchronous: true,
information: new URL('https://github.com/github/docs/blob/main/src/content-linter/README.md'),
function: function GHD004(params, onError) {
forEachInlineChild(params, 'image', async function forToken(token) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const yamlScheduledJobs = {
description:
'YAML snippets that include scheduled workflows must not run on the hour and must be unique',
tags: ['actions'],
severity: 'error',
asynchronous: true,
information: new URL('https://github.com/github/docs/blob/main/src/content-linter/README.md'),
function: function GHD009(params, onError) {
Expand Down

0 comments on commit 944a69d

Please sign in to comment.