|
|
|
@ -5,14 +5,6 @@ |
|
|
|
|
// |
|
|
|
|
exports[`better eslint`] = { |
|
|
|
|
value: `{ |
|
|
|
|
"e2e/benchmarks/live/4-20hz-panels.spec.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"e2e/panels-suite/panelEdit_queries.spec.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/dataframe/ArrayDataFrame.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -397,9 +389,6 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "28"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "29"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/types/displayValue.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/types/explore.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
@ -597,26 +586,18 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "87"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/Registry.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/arrayUtils.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/csv.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "4"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "5"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "6"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "7"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "8"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "9"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "10"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "11"] |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "3"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/dataLinks.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
@ -629,16 +610,11 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "4"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/fieldParser.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/flotPairs.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/labels.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/location.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -647,24 +623,12 @@ exports[`better eslint`] = { |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/logs.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "4"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/makeClassES5Compatible.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/testdata/testTheme.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/tests/mockTransformationsRegistry.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/utils/url.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -690,16 +654,6 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "9"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "10"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/valueFormats/arithmeticFormatters.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/valueFormats/dateTimeFormatters.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/valueFormats/valueFormats.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/src/vector/AppendedVectors.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"], |
|
|
|
@ -725,8 +679,7 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-data/test/__mocks__/pluginMocks.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-e2e/cypress/plugins/benchmark/formatting.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
@ -1064,8 +1017,7 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "2"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-ui/src/components/Dropdown/ButtonSelect.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"packages/grafana-ui/src/components/Forms/FieldArray.story.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
@ -2215,13 +2167,6 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "85"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "86"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/OptionsUI/string.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/OptionsUI/strings.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/PageNew/SectionNavItem.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
|
], |
|
|
|
@ -2238,11 +2183,6 @@ exports[`better eslint`] = { |
|
|
|
|
"public/app/core/components/Select/FolderPicker.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/Select/ReadonlyFolderPicker/api.test.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/TagFilter/TagFilter.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -2254,23 +2194,10 @@ exports[`better eslint`] = { |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/TagFilter/TagOption.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/TimelineChart/TimelineChart.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/TimelineChart/timeline.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "3"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "4"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/TimelineChart/utils.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
"public/app/core/components/TimelineChart/TimelineChart.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/components/connectWithCleanUp.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
@ -2279,9 +2206,6 @@ exports[`better eslint`] = { |
|
|
|
|
"public/app/core/components/modals/AngularModalProxy.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/history/richHistoryLocalStorageUtils.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/navigation/GrafanaRoute.test.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
@ -2292,37 +2216,18 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/navigation/patch/interceptLinkClicks.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/navigation/types.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/profiler.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/reducers/root.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/FetchQueue.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/PreferencesService.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/ResponseQueue.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/__mocks__/search_srv.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/backend_srv.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -2351,9 +2256,7 @@ exports[`better eslint`] = { |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/echo/backends/analytics/ApplicationInsightsBackend.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/services/echo/backends/analytics/RudderstackBackend.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
@ -2465,9 +2368,6 @@ exports[`better eslint`] = { |
|
|
|
|
"public/app/core/utils/richHistory.test.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/utils/richHistory.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/utils/ticks.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
@ -2477,9 +2377,7 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "5"] |
|
|
|
|
], |
|
|
|
|
"public/app/core/utils/tracing.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"] |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/admin/OrgRolePicker.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
@ -2844,16 +2742,10 @@ exports[`better eslint`] = { |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "5"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "6"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "7"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "8"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "9"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "10"] |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "2"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "3"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "4"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/AnnotationSettings/AnnotationSettingsEdit.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
@ -2928,19 +2820,16 @@ exports[`better eslint`] = { |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/OptionsPaneItemDescriptor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"] |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/OverrideCategoryTitle.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "2"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "3"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "4"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "5"] |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/VisualizationButton.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"], |
|
|
|
@ -2950,21 +2839,17 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/getFieldOverrideElements.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/getVisualizationOptions.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "5"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/types.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/PanelEditor/utils.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
@ -2974,9 +2859,6 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "4"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "5"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/RepeatRowSelect/RepeatRowSelect.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/SaveDashboard/SaveDashboardButton.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"] |
|
|
|
@ -3009,21 +2891,9 @@ exports[`better eslint`] = { |
|
|
|
|
"public/app/features/dashboard/components/ShareModal/ShareExport.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/ShareModal/ShareLink.test.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/ShareModal/ShareModal.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/ShareModal/utils.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/components/TransformationsEditor/TransformationEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"], |
|
|
|
@ -3054,8 +2924,7 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dashboard/containers/DashboardPage.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
@ -3334,9 +3203,8 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/datasources/components/ButtonRow.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "2"] |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"], |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/datasources/components/DataSourceReadOnlyMessage.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Use data-testid for E2E selectors instead of aria-label", "0"] |
|
|
|
@ -3371,55 +3239,26 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/color.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ColorDimensionEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/FolderPickerTab.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/IconSelector.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ResourceDimensionEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ResourcePicker.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ScalarDimensionEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ScaleDimensionEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/TextDimensionEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ThresholdsEditor/ThresholdsEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/editors/ValueMappingsEditor/ValueMappingsEditor.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/scale.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/text.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/dimensions/types.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
@ -3440,17 +3279,12 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/LogsContainer.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/LogsMetaRow.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/QueryRows.test.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/RichHistory/RichHistory.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/TraceView.tsx:5381": [ |
|
|
|
@ -3461,34 +3295,12 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "4"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "5"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/ScrollManager.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/TracePageHeader/SpanGraph/Scrubber.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "2"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/TracePageHeader/SpanGraph/render-into-canvas.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/TraceTimelineViewer/ListView/index.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/TraceTimelineViewer/SpanBar.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/TraceTimelineViewer/utils.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/common/BreakableText.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/constants/index.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/explore/TraceView/components/demo/trace-generators.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
@ -4028,11 +3840,6 @@ exports[`better eslint`] = { |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "10"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "11"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/runtime/init.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"] |
|
|
|
|
], |
|
|
|
|
"public/app/features/sandbox/TestStuffPage.tsx:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"] |
|
|
|
|
], |
|
|
|
@ -5396,12 +5203,6 @@ exports[`better eslint`] = { |
|
|
|
|
"public/app/plugins/datasource/loki/getDerivedFields.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|
"public/app/plugins/datasource/loki/querySplitting.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "0"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "1"], |
|
|
|
|
[0, 0, 0, "Do not use any type assertions.", "2"], |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "3"] |
|
|
|
|
], |
|
|
|
|
"public/app/plugins/datasource/loki/querybuilder/binaryScalarOperations.ts:5381": [ |
|
|
|
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"] |
|
|
|
|
], |
|
|
|
|