f7216db6bc
Chore: bump version to 12.1.0-pre ( #104468 )
...
bump version to 12.1.0-pre
2025-04-24 15:47:14 +01:00
8161e52061
i18n: Improve how ternary cases are captured as untranslated text ( #104034 )
2025-04-15 14:07:23 +01:00
eac312753f
Internationalization: Update translation rule to catch ternary cases ( #104027 )
2025-04-15 12:25:41 +01:00
754c0e1534
Internationalisation: Check if strings are entirely non-alphanumeric before reporting as issues ( #103900 )
2025-04-14 13:24:47 +00:00
d2b8994d80
Chore: Make sure we run prettier on cjs files ( #103903 )
2025-04-14 13:24:45 +01:00
c83c486c9b
Internationalisation: Lint rule improvement ( #103788 )
...
* improve autofix so it can fix foo={"bar"}
* apply fixes
* fix type checks + betterer
* tweak to make types happy
2025-04-10 16:22:52 +01:00
674d81d7ee
Chore: Bump version of front-end modules to 12.0.0-pre ( #102615 )
...
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2025-03-21 17:35:55 +02: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
88c62cd828
Chore: Manually update versions and update grafana-test-datasource
to "workspace:*" ( #99999 )
...
* baldm0mma/ manually update deps and run yarn
* baldm0mma/ update version from workspace to actual version
* baldm0mma/ revert some workspaces
* baldm0mma/ update workspace
* baldm0mma/ update deps
2025-02-03 15:12:05 -07:00
a0f27caff2
Update dependency eslint to v9.19.0 ( #99702 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:46:59 +00:00
460dab57c7
Update dependency eslint to v9.18.0 ( #98880 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 14:58:57 +00:00
1ba9a27f70
Chore: Update no-untranslated-strings
to check tooltip and template literals ( #98281 )
2025-01-10 16:26:03 +00:00
dbe273d0eb
Update dependency tslib to v2.8.1 ( #98068 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 09:57:45 +00:00
b36b7ec18e
Update dependency eslint to v9.17.0 ( #98014 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 11:20:06 +00:00
fe1ec098dc
Update dependency eslint to v9.16.0 ( #97952 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 15:38:53 +00:00
a9cd0f19f4
Chore: Update no-untranslated-strings
rule to check some text props as well ( #97190 )
...
* Update no-untranslated-strings rule to check some props as well
* Update betterer with new no-untranslated-strings results
2024-12-13 12:04:00 +02:00
4ea109593b
Chore: Update dep version ( #97507 )
...
* update dep versions
* run gen-cue
2024-12-05 13:01:59 -07:00
ed707098e1
Update dependency eslint to v9.14.0 ( #96382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:01:43 +00:00
8c41137bcf
Frontend: Update to Eslint 9 ( #94823 )
...
* chore(eslint): bump all eslint related packages to latest
* chore(eslint): update linting scripts work with v9
* chore(eslint): introduce flat config
* chore(eslint): delete legacy configs
* feat(grafana-eslint-rules): update rules to use eslint 9 APIs
* chore(eslint): migrate all nested eslintrc files over to root config
* chore(packages): bump eslint dependencies
* feat(betterer): make it work with eslint 9
* style(grafana-data): remove non-existant ban-types rule from disable declarations
* chore(wip): [wip] link eslint-config-grafana
* chore(packages): add @eslint/compat
* chore(eslint): add compat to testing library and fix alerting rules
* chore(eslint): bump grafana eslint-config to v8
* chore(explore): delete legacy eslint config
* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins
* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests
* Add .js to prettier checks so new eslint.config.js file isn't missed
* chore(eslint): move emotion/syntax-preference to grafana/defaults
* test(eslint): use core-js structured-clone
* revert(services): undo merge backend-format githook changes
* test(eslint-rules): remove structured-clone polyfill from tests
* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically
* chore(e2e-plugins): remove eslint config 7 from plugins package.json
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-11-07 16:31:06 +01:00
9e50866356
Build: Nx improvements ( #88341 )
...
* feat(frontend): introduce project.json for every workspace to improve caching
* refactor(frontend): use nx tags for grafana dependson
* refactor(frontend): clean up nx tags for packages and plugins
* build(nx): make grafana dependent on cacheable generate icons command
* build(nx): clean up project files
2024-10-15 14:25:45 +02:00
032d0669cd
Release: Bump version to 11.4.0-pre ( #94569 )
...
bump version 11.4.0-pre
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 11:31:04 +01:00
cf541b8869
Update dependency tslib to v2.7.0 ( #92744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
675a58b680
Release: Bump version to 11.3.0-pre ( #91863 )
...
* bump version 11.3.0-pre
* fix linters with: yarn run prettier:write
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-08-14 18:34:14 -03:00
8840471574
Internationalisation: Update docs with nested variable examples ( #89484 )
...
* update i18n docs to handle interpolating variables inside inner components
* update with wrapping component example
2024-06-21 09:48:40 +01:00
40e3601982
Release: Bump version to 11.2.0-pre ( #89184 )
...
* "Release: Updated versions in package to 11.2.0-pre"
* fix newline
---------
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
cd5f485df7
Update dependency tslib to v2.6.3
2024-06-05 10:08:51 +00:00
9f95841c45
Chore: Fix typo in lint rule file name ( #88662 )
...
rename file
2024-06-04 12:08:37 +03:00
a47e71fd34
Chore: create the no-untranslated-literals
rule ( #88271 )
2024-05-29 13:03:59 +02:00
bd4e9d102b
Update version to 11.0.0
2024-05-14 12:54:11 +02:00
c151a97110
Chore: Enable no-unreduced-motion
and fix errors ( #86572 )
...
* enable `no-unreduced-motion` in betterer
* move all animation calls inside handleReducedMotion
* fix violations + enable rule
* update rule README
* remove unnecessary transition from <Collapse>
* remove handleReducedMotion utility and add handleMotion to theme
* update to use new theme value
* handle Dropdown and IconButton
* handle AppChromeMenu and update lint message
* keep rotation at a reduced speed
* handle DashboardLoading
2024-04-29 13:12:36 +01:00
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
7aac5f6b3e
Chore: Fix custom eslint rule typechecking ( #85886 )
2024-04-10 17:12:31 +01:00
99b5671fbe
Release: Bump version to 11.1.0-pre ( #85115 )
...
"Release: Updated versions in package to 11.1.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-03-25 21:44:28 +02:00
d6eefc7303
Update dependency eslint to v8.57.0 ( #83517 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 13:59:24 +00:00
f209a5a8b8
fix typos ( #83414 )
2024-02-26 10:52:44 -07:00
8f3d49687e
Release: Bump version to 11.0.0-pre ( #83119 )
...
"Release: Updated versions in package to 11.0.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-02-20 19:02:36 +00:00
f97cea5522
Update dependency eslint to v8.56.0 ( #80825 )
...
* Update dependency eslint to v8.56.0
* update sdk
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-18 18:52:04 +02:00
dd7259b77e
Update dependency tslib to v2.6.2
2024-01-17 13:41:12 +00:00
caee68b5a8
Release: Bump version to 10.4.0-pre ( #80412 )
...
"Release: Updated versions in package to 10.4.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-01-12 10:21:50 +01:00
c959b5549c
Update typescript-eslint monorepo to v6 ( #71634 )
...
* Update typescript-eslint monorepo to v6
* move to latest eslint-config-grafana
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-10 18:17:54 +02:00
51bc84673d
Update dependency eslint to v8.52.0 ( #76946 )
...
* Update dependency eslint to v8.52.0
* update sdk version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-23 15:36:48 +03:00
0bd1a18665
ESLint: Fix typo in README ( #75784 )
...
Fix typo in grafana-eslint-rules/README.md
appropiate -> appropriate
2023-10-19 14:54:48 +02:00
8b16f2aca8
Release: Bump version to 10.3.0-pre ( #76742 )
...
"Release: Updated versions in package to 10.3.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 13:04:03 +03:00
a6f111e23b
Release: Bump version to 10.3.0 ( #76733 )
...
"Release: Updated versions in package to 10.3.0"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 09:23:25 +03:00
e380daf6b9
Update dependency eslint to v8.51.0 ( #76522 )
...
* Update dependency eslint to v8.51.0
* update sdk version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-16 10:23:00 +01:00
06d89e1929
Chore: add some basic validation tests for our eslint rules ( #75284 )
...
* add some basic validation tests for our eslint rules
* add 1 more valid case
2023-09-22 13:03:21 +01:00
7469f58709
GLDS: Check if tokens are used as borderRadius values ( #71187 )
2023-08-01 12:44:25 +02:00
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
eaca6c3f49
Release: Bump version to 10.2.0-pre ( #72418 )
...
"Release: Updated versions in package to 10.2.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-07-27 09:21:29 +03:00