mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Temp remove betterer json from precommit (#83113)
This commit is contained in:
@@ -1558,12 +1558,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/core/time_series2.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
@@ -1784,12 +1778,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/features/alerting/unified/AlertsFolderView.tsx": [
|
||||||
{
|
{
|
||||||
"message": "Styles should be written using objects.",
|
"message": "Styles should be written using objects.",
|
||||||
@@ -2924,12 +2912,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx": [
|
||||||
{
|
{
|
||||||
"message": "Use data-testid for E2E selectors instead of aria-label",
|
"message": "Use data-testid for E2E selectors instead of aria-label",
|
||||||
@@ -2948,12 +2930,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/features/dashboard-scene/scene/PanelMenuBehavior.tsx": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
@@ -2964,18 +2940,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/features/dashboard-scene/serialization/transformSaveModelToScene.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
@@ -3049,7 +3013,7 @@
|
|||||||
"/public/app/features/dashboard/components/DashExportModal/DashboardExporter.test.ts": [
|
"/public/app/features/dashboard/components/DashExportModal/DashboardExporter.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 21
|
"count": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/dashboard/components/DashExportModal/DashboardExporter.ts": [
|
"/public/app/features/dashboard/components/DashExportModal/DashboardExporter.ts": [
|
||||||
@@ -3435,7 +3399,7 @@
|
|||||||
"/public/app/features/dashboard/state/DashboardMigrator.test.ts": [
|
"/public/app/features/dashboard/state/DashboardMigrator.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 19
|
"count": 12
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/dashboard/state/DashboardMigrator.ts": [
|
"/public/app/features/dashboard/state/DashboardMigrator.ts": [
|
||||||
@@ -3451,7 +3415,7 @@
|
|||||||
"/public/app/features/dashboard/state/DashboardModel.repeat.test.ts": [
|
"/public/app/features/dashboard/state/DashboardModel.repeat.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 7
|
"count": 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/dashboard/state/DashboardModel.test.ts": [
|
"/public/app/features/dashboard/state/DashboardModel.test.ts": [
|
||||||
@@ -3501,7 +3465,7 @@
|
|||||||
"/public/app/features/dashboard/state/initDashboard.test.ts": [
|
"/public/app/features/dashboard/state/initDashboard.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 2
|
"count": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/dashboard/utils/getPanelMenu.test.ts": [
|
"/public/app/features/dashboard/utils/getPanelMenu.test.ts": [
|
||||||
@@ -4637,7 +4601,7 @@
|
|||||||
"/public/app/features/plugins/tests/datasource_srv.test.ts": [
|
"/public/app/features/plugins/tests/datasource_srv.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 4
|
"count": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/plugins/utils.ts": [
|
"/public/app/features/plugins/utils.ts": [
|
||||||
@@ -4737,7 +4701,7 @@
|
|||||||
"/public/app/features/query/state/updateQueries.test.ts": [
|
"/public/app/features/query/state/updateQueries.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 12
|
"count": 11
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/search/page/components/ActionRow.tsx": [
|
"/public/app/features/search/page/components/ActionRow.tsx": [
|
||||||
@@ -5097,7 +5061,7 @@
|
|||||||
"/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.test.ts": [
|
"/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 2
|
"count": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.ts": [
|
"/public/app/features/transformers/prepareTimeSeries/prepareTimeSeries.ts": [
|
||||||
@@ -5260,12 +5224,6 @@
|
|||||||
"count": 1
|
"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": [
|
"/public/app/features/variables/query/QueryVariableEditor.tsx": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
@@ -5303,7 +5261,7 @@
|
|||||||
"/public/app/features/variables/query/queryRunners.test.ts": [
|
"/public/app/features/variables/query/queryRunners.test.ts": [
|
||||||
{
|
{
|
||||||
"message": "Unexpected any. Specify a different type.",
|
"message": "Unexpected any. Specify a different type.",
|
||||||
"count": 7
|
"count": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"/public/app/features/variables/query/queryRunners.ts": [
|
"/public/app/features/variables/query/queryRunners.ts": [
|
||||||
@@ -7098,46 +7056,6 @@
|
|||||||
"count": 2
|
"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": [
|
"/public/app/plugins/panel/table/TablePanel.tsx": [
|
||||||
{
|
{
|
||||||
"message": "Styles should be written using objects.",
|
"message": "Styles should be written using objects.",
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ pre-commit:
|
|||||||
glob: '*.{ts,tsx}'
|
glob: '*.{ts,tsx}'
|
||||||
run: |
|
run: |
|
||||||
yarn betterer precommit {staged_files}
|
yarn betterer precommit {staged_files}
|
||||||
yarn betterer:json
|
|
||||||
stage_fixed: true
|
stage_fixed: true
|
||||||
|
|
||||||
frontend-lint:
|
frontend-lint:
|
||||||
|
|||||||
Reference in New Issue
Block a user