New rule to flag invalid aria-label format (#418) · github/eslint-plugin-github@3126329 (original) (raw)
`@@ -82,27 +82,28 @@ This config will be interpreted in the following way:
`
82
82
`` 🔧 Automatically fixable by the --fix CLI option.\
``
83
83
`❌ Deprecated.
`
84
84
``
85
``
`-
| Name | Description | 💼 | 🔧 | ❌ |
`
86
``
`-
| :------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- |
`
87
``
`-
| a11y-no-generic-link-text | disallow generic link text | | | ❌ |
`
88
``
`` -
| array-foreach | enforce for..of loops over Array.forEach | ✅ | | |
``
89
``
`` -
| async-currenttarget | disallow event.currentTarget calls inside of async functions | 🔍 | | |
``
90
``
`` -
| async-preventdefault | disallow event.preventDefault calls inside of async functions | 🔍 | | |
``
91
``
`-
| authenticity-token | disallow usage of CSRF tokens in JavaScript | 🔐 | | |
`
92
``
`-
| get-attribute | disallow wrong usage of attribute names | 🔍 | 🔧 | |
`
93
``
`-
| js-class-name | enforce a naming convention for js- prefixed classes | 🔐 | | |
`
94
``
`` -
| no-blur | disallow usage of Element.prototype.blur() | 🔍 | | |
``
95
``
`` -
| no-d-none | disallow usage the d-none CSS class | 🔐 | | |
``
96
``
`` -
| no-dataset | enforce usage of Element.prototype.getAttribute instead of Element.prototype.datalist | 🔍 | | |
``
97
``
`-
| no-dynamic-script-tag | disallow creating dynamic script tags | ✅ | | |
`
98
``
`-
| no-implicit-buggy-globals | disallow implicit global variables | ✅ | | |
`
99
``
`` -
| no-inner-html | disallow Element.prototype.innerHTML in favor of Element.prototype.textContent | 🔍 | | |
``
100
``
`` -
| no-innerText | disallow Element.prototype.innerText in favor of Element.prototype.textContent | 🔍 | 🔧 | |
``
101
``
`` -
| no-then | enforce using async/await syntax over Promises | ✅ | | |
``
102
``
`-
| no-useless-passive | disallow marking a event handler as passive when it has no effect | 🔍 | 🔧 | |
`
103
``
`-
| prefer-observers | disallow poorly performing event listeners | 🔍 | | |
`
104
``
`-
| require-passive-events | enforce marking high frequency event handlers as passive | 🔍 | | |
`
105
``
`` -
| role-supports-aria-props | Enforce that elements with explicit or implicit roles defined contain only aria-* properties supported by that role. | ⚛️ | | |
``
106
``
`-
| unescaped-html-literal | disallow unescaped HTML literals | 🔍 | | |
`
``
85
`+
| Name | Description | 💼 | 🔧 | ❌ |
`
``
86
`+
| :----------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- |
`
``
87
`+
| a11y-aria-label-is-well-formatted | [aria-label] text should be formatted as you would visual text. | ⚛️ | | |
`
``
88
`+
| a11y-no-generic-link-text | disallow generic link text | | | ❌ |
`
``
89
`` +
| array-foreach | enforce for..of loops over Array.forEach | ✅ | | |
``
``
90
`` +
| async-currenttarget | disallow event.currentTarget calls inside of async functions | 🔍 | | |
``
``
91
`` +
| async-preventdefault | disallow event.preventDefault calls inside of async functions | 🔍 | | |
``
``
92
`+
| authenticity-token | disallow usage of CSRF tokens in JavaScript | 🔐 | | |
`
``
93
`+
| get-attribute | disallow wrong usage of attribute names | 🔍 | 🔧 | |
`
``
94
`+
| js-class-name | enforce a naming convention for js- prefixed classes | 🔐 | | |
`
``
95
`` +
| no-blur | disallow usage of Element.prototype.blur() | 🔍 | | |
``
``
96
`` +
| no-d-none | disallow usage the d-none CSS class | 🔐 | | |
``
``
97
`` +
| no-dataset | enforce usage of Element.prototype.getAttribute instead of Element.prototype.datalist | 🔍 | | |
``
``
98
`+
| no-dynamic-script-tag | disallow creating dynamic script tags | ✅ | | |
`
``
99
`+
| no-implicit-buggy-globals | disallow implicit global variables | ✅ | | |
`
``
100
`` +
| no-inner-html | disallow Element.prototype.innerHTML in favor of Element.prototype.textContent | 🔍 | | |
``
``
101
`` +
| no-innerText | disallow Element.prototype.innerText in favor of Element.prototype.textContent | 🔍 | 🔧 | |
``
``
102
`` +
| no-then | enforce using async/await syntax over Promises | ✅ | | |
``
``
103
`+
| no-useless-passive | disallow marking a event handler as passive when it has no effect | 🔍 | 🔧 | |
`
``
104
`+
| prefer-observers | disallow poorly performing event listeners | 🔍 | | |
`
``
105
`+
| require-passive-events | enforce marking high frequency event handlers as passive | 🔍 | | |
`
``
106
`` +
| role-supports-aria-props | Enforce that elements with explicit or implicit roles defined contain only aria-* properties supported by that role. | ⚛️ | | |
``
``
107
`+
| unescaped-html-literal | disallow unescaped HTML literals | 🔍 | | |
`
107
108
``
108
109
`
`