grafana/packages/grafana-eslint-rules/index.cjs
Josh Hunt 959c89793f
Chore: eslint rule for preventing e2e selectors in aria-label (#59731)
* Create eslint plugin/rule for catching e2e selectors in aria-label

* Add no-aria-label-e2e-selectors to betterer

* chore: skip levitate for the `grafana-eslint-rules` package

* Fix rule

* Add readme

* Add Apache 2 license

* Typecheck using @typescript-eslint/utils

* actually export the rule

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-01-18 15:02:35 +00:00

8 lines
173 B
JavaScript

const noAriaLabelSelectors = require('./rules/no-aria-label-e2e-selectors.cjs');
module.exports = {
rules: {
'no-aria-label-selectors': noAriaLabelSelectors,
},
};