regenerate doc · github/eslint-plugin-github@57dfee5 (original) (raw)
| Original file line number | Diff line number | Diff line change | | | | | | | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -- | -- | -- | | | @@ -86,7 +86,7 @@ This config will be interpreted in the following way: | | | | | | | | | 86 | 86 | | :----------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- | | | 87 | 87 | | [a11y-aria-label-is-well-formatted](docs/rules/a11y-aria-label-is-well-formatted.md) | [aria-label] text should be formatted as you would visual text. | ⚛️ | | | | | 88 | 88 | | [a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md) | disallow generic link text | | | ❌ | | | 89 | | -| [a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | | | | 89 | +| [a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | | | | 90 | 90 | | [array-foreach](docs/rules/array-foreach.md) | enforce `for..of` loops over `Array.forEach` | ✅ | | | | | 91 | 91 | | [async-currenttarget](docs/rules/async-currenttarget.md) | disallow `event.currentTarget` calls inside of async functions | 🔍 | | | | | 92 | 92 | | [async-preventdefault](docs/rules/async-preventdefault.md) | disallow `event.preventDefault` calls inside of async functions | 🔍 | | | |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -27,7 +27,7 @@ function getErrorMessage(attribute, role) { | ||
| 27 | 27 | return `The attribute attributeisnotsupportedbytherole{attribute} is not supported by the role attributeisnotsupportedbytherole{role}.` |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | -ruleTester.run('role-supports-aria-props', rule, { | |
| 30 | +ruleTester.run('a11y-role-supports-aria-props', rule, { | |
| 31 | 31 | valid: [ |
| 32 | 32 | {code: ''}, |
| 33 | 33 | {code: ' '}, |