Skip to content

Update ESLint configuration and refactoring #382

Update ESLint configuration and refactoring

Update ESLint configuration and refactoring #382

Triggered via pull request January 31, 2024 19:02
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: src/components/DatasetEditor/DatasetEditor.test.tsx#L167
Unexpected empty arrow function
build: src/components/DatasetEditor/DatasetEditor.test.tsx#L204
Unexpected empty arrow function
build: src/components/EChartsEditor/EChartsEditor.tsx#L25
Variable name `EChartsEditor` must match one of the following formats: strictCamelCase, StrictPascalCase
build: src/components/EChartsPanel/EChartsPanel.test.tsx#L185
Variable name `themeConfigJSON` must match one of the following formats: strictCamelCase, StrictPascalCase
build: src/components/EChartsPanel/EChartsPanel.test.tsx#L198
Variable name `invalidThemeConfigJSON` must match one of the following formats: strictCamelCase, StrictPascalCase
build: src/components/EChartsPanel/EChartsPanel.test.tsx#L208
Variable name `invalidThemeConfigJSON` must match one of the following formats: strictCamelCase, StrictPascalCase
build: src/components/EChartsPanel/EChartsPanel.tsx#L30
Variable name `EChartsPanel` must match one of the following formats: strictCamelCase, StrictPascalCase
build: src/components/EChartsPanel/EChartsPanel.tsx#L127
Unexpected empty arrow function
build: src/components/SeriesEditor/SeriesEditor.test.tsx#L238
Unexpected empty arrow function
build: src/components/SeriesEditor/SeriesEditor.test.tsx#L294
Unexpected empty arrow function
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/__mocks__/@grafana/ui.tsx#L10
Unexpected any. Specify a different type
build: src/__mocks__/@grafana/ui.tsx#L13
Unexpected any. Specify a different type
build: src/__mocks__/@grafana/ui.tsx#L15
Unexpected any. Specify a different type
build: src/__mocks__/@grafana/ui.tsx#L32
Unexpected any. Specify a different type
build: src/components/EChartsPanel/EChartsPanel.tsx#L59
Unexpected any. Specify a different type
build: src/components/EChartsPanel/EChartsPanel.tsx#L95
Unexpected any. Specify a different type
build: src/components/EChartsPanel/EChartsPanel.tsx#L291
Unexpected any. Specify a different type
build: src/components/SeriesEditor/SeriesEditor.tsx#L115
Unexpected any. Specify a different type
build: src/maps.ts#L25
Unexpected any. Specify a different type
build: src/maps.ts#L40
Unexpected any. Specify a different type