757886c704
Chore: ignore /mocks/** from the betterer results ( #107708 )
...
ignore /mocks/** from the betterer results
2025-07-07 17:02:59 +01:00
abb885c585
I18n: Move eslint rule to package ( #105860 )
2025-05-29 16:11:59 +02:00
f6b72a9c96
Betterer: Change message for localStorage usage ( #105310 )
...
* Change message
* Add message for packages
2025-05-28 10:23:54 +02:00
f83fb35bfb
Betterer: Add noMargin prop check ( #105409 )
...
* Chore: Add a betterer rule for noMargin prop
* Use existing file selector
* Check for grafana/ui import
* Update results
* Update results
2025-05-19 12:34:13 +03:00
a4efb73774
Betterer: Add eslint rule for non-direct usage of localStorage ( #104919 )
...
* Add eslint betterer rule for non-direct usage of localStorage
* Fix linting
2025-05-07 10:28:32 +02:00
f9fb6f3b88
Chore: Update eslint configs to ignore /spec/
files when necessary ( #104377 )
2025-04-23 10:24:26 +01:00
b052b28a88
Internationalisation: Enable i18n eslint rules ( #104277 )
...
* enable i18n rules by default
* commit translation changes
2025-04-22 13:56:25 +01:00
ddf3e62b8d
Alerting: Ignore mocks
files from betterer checks ( #103613 )
2025-04-10 10:02:48 +01:00
85a3ae2d07
Chore: Add heuristic approach to fixing untranslated text with eslint rule ( #101561 )
...
* Add heuristic approach to fixing untranslated text with eslint rule
* Update logic of how we track and report untranslated strings so we can prevent autofixes
* Update betterer to reflect different reporting of untranslated text
* Move logic for rule to utils and change to suggest instead of fix
* Update tests to cope with suggest instead of fix
* Remove commented out `only`
* Add config to allow force fixing
* Fix type errors and improve shouldFix logic
2025-03-13 13:17:05 +00:00
ac0fd38183
Chore: Add new no-translation-top-level
eslint rule ( #101550 )
2025-03-04 15:42:37 +02:00
e3e580edfa
Chore: Prevent direct path imports from workspace grafana packages ( #98940 )
...
* restrict imports from @grafana/ui/src paths
* prevent path imports from all grafana packages
* just run on ui, runtime, data packages
* update
2025-01-15 15:47:44 +02:00
b105b32c8a
Chore: Remove @eslint/compat and don't run all eslint rules in betterer ( #97463 )
...
* Remove eslint compat
* Remove fixup for testing library rules
* Make sure we don't ignore betterer eslint config from itself
* Update betterer to not run rules that are run in linting anyway
2024-12-05 12:14:09 +00:00
7ae0d551fe
Chore: Move betterer eslint rules to separate file and allow opting in ( #96240 )
...
* Move betterer eslint rules to separate file and allow opt-in for local dev
* Add betterer eslint to codeowners
2024-11-15 14:01:39 +00:00