diff --git a/.betterer.results.json b/.betterer.results.json index abeb9276cfb..599a975db18 100644 --- a/.betterer.results.json +++ b/.betterer.results.json @@ -1558,12 +1558,6 @@ "count": 1 } ], - "/public/app/core/specs/time_series.test.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], "/public/app/core/time_series2.ts": [ { "message": "Unexpected any. Specify a different type.", @@ -1784,12 +1778,6 @@ "count": 1 } ], - "/public/app/features/alerting/unified/AlertsFolderView.test.tsx": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], "/public/app/features/alerting/unified/AlertsFolderView.tsx": [ { "message": "Styles should be written using objects.", @@ -2924,12 +2912,6 @@ "count": 1 } ], - "/public/app/features/dashboard-scene/panel-edit/VizPanelManager.test.tsx": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], "/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx": [ { "message": "Use data-testid for E2E selectors instead of aria-label", @@ -2948,12 +2930,6 @@ "count": 1 } ], - "/public/app/features/dashboard-scene/scene/DashboardScene.test.tsx": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], "/public/app/features/dashboard-scene/scene/PanelMenuBehavior.tsx": [ { "message": "Unexpected any. Specify a different type.", @@ -2964,18 +2940,6 @@ "count": 1 } ], - "/public/app/features/dashboard-scene/scene/setDashboardPanelContext.test.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], - "/public/app/features/dashboard-scene/serialization/angularMigration.test.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 2 - } - ], "/public/app/features/dashboard-scene/serialization/transformSaveModelToScene.test.ts": [ { "message": "Unexpected any. Specify a different type.", @@ -3049,7 +3013,7 @@ "/public/app/features/dashboard/components/DashExportModal/DashboardExporter.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 21 + "count": 6 } ], "/public/app/features/dashboard/components/DashExportModal/DashboardExporter.ts": [ @@ -3435,7 +3399,7 @@ "/public/app/features/dashboard/state/DashboardMigrator.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 19 + "count": 12 } ], "/public/app/features/dashboard/state/DashboardMigrator.ts": [ @@ -3451,7 +3415,7 @@ "/public/app/features/dashboard/state/DashboardModel.repeat.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 7 + "count": 4 } ], "/public/app/features/dashboard/state/DashboardModel.test.ts": [ @@ -3501,7 +3465,7 @@ "/public/app/features/dashboard/state/initDashboard.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 2 + "count": 1 } ], "/public/app/features/dashboard/utils/getPanelMenu.test.ts": [ @@ -4637,7 +4601,7 @@ "/public/app/features/plugins/tests/datasource_srv.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 4 + "count": 3 } ], "/public/app/features/plugins/utils.ts": [ @@ -4737,7 +4701,7 @@ "/public/app/features/query/state/updateQueries.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 12 + "count": 11 } ], "/public/app/features/search/page/components/ActionRow.tsx": [ @@ -5097,7 +5061,7 @@ "/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 2 + "count": 1 } ], "/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.ts": [ @@ -5260,12 +5224,6 @@ "count": 1 } ], - "/public/app/features/variables/query/QueryVariableEditor.test.tsx": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 1 - } - ], "/public/app/features/variables/query/QueryVariableEditor.tsx": [ { "message": "Unexpected any. Specify a different type.", @@ -5303,7 +5261,7 @@ "/public/app/features/variables/query/queryRunners.test.ts": [ { "message": "Unexpected any. Specify a different type.", - "count": 7 + "count": 1 } ], "/public/app/features/variables/query/queryRunners.ts": [ @@ -7098,46 +7056,6 @@ "count": 2 } ], - "/public/app/plugins/panel/table-old/column_options.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 22 - } - ], - "/public/app/plugins/panel/table-old/editor.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 9 - } - ], - "/public/app/plugins/panel/table-old/module.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 12 - } - ], - "/public/app/plugins/panel/table-old/renderer.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 12 - }, - { - "message": "Do not use any type assertions.", - "count": 1 - } - ], - "/public/app/plugins/panel/table-old/transformers.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 9 - } - ], - "/public/app/plugins/panel/table-old/types.ts": [ - { - "message": "Unexpected any. Specify a different type.", - "count": 13 - } - ], "/public/app/plugins/panel/table/TablePanel.tsx": [ { "message": "Styles should be written using objects.", diff --git a/lefthook.yml b/lefthook.yml index e12cf2c7b86..9c3bed5f538 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -14,7 +14,6 @@ pre-commit: glob: '*.{ts,tsx}' run: | yarn betterer precommit {staged_files} - yarn betterer:json stage_fixed: true frontend-lint: