Commit Graph

10 Commits

Author SHA1 Message Date
Josh Hunt a9e70d4a1d
Storybook: Rearrange and tidy stories (#107270)
* Tidy up storybook a little bit

* change sort order, delete some stories

* More tidy up of actions

* More tidy up of actions

* tweak story sorting, again

* Make all internal stories public

* fix sort

* Add ESLint rule to enforce storybook titles

* update verify storybook test

* simplify glob
2025-07-08 12:37:09 +00:00
Tom Ratcliffe abb885c585
I18n: Move eslint rule to package (#105860) 2025-05-29 16:11:59 +02:00
Tom Ratcliffe 8f17f607fa
FEMT: Add `no-restricted-img-srcs` rule (#105006) 2025-05-12 10:34:17 +01:00
Tom Ratcliffe ac0fd38183
Chore: Add new `no-translation-top-level` eslint rule (#101550) 2025-03-04 15:42:37 +02:00
Ashley Harrison 9f95841c45
Chore: Fix typo in lint rule file name (#88662)
rename file
2024-06-04 12:08:37 +03:00
Laura Fernández a47e71fd34
Chore: create the `no-untranslated-literals` rule (#88271) 2024-05-29 13:03:59 +02:00
Ashley Harrison 5e74b6962b
Chore: Add lint rule for `no-unreduced-motion` (#85862)
* add lint rule for no-unreduced-motion

* update to satisfy types
2024-04-15 09:18:56 +01:00
Laura Fernández 7469f58709
GLDS: Check if tokens are used as borderRadius values (#71187) 2023-08-01 12:44:25 +02:00
Ashley Harrison ae4810f854
Chore: Emit theme token usage metrics (#72500)
* create rule to find instances of theme variables

* emit theme token usage metrics

* move awking into script

* make sure theme usage is covering ts and tsx files, remove commented lines
2023-07-28 17:08:02 +03:00
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