Skip to content

Commit 4635597

Browse files
feat: test ci linter
1 parent a4e6daa commit 4635597

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
- name: Check formatting
1818
run: npx prettier --check .
1919

20+
- name: Check linting
21+
working-directory: ./client
22+
run: npx eslint .
23+
2024
- uses: actions/setup-node@v4
2125
with:
2226
node-version: 18
@@ -26,10 +30,6 @@ jobs:
2630
# - run: npm ci
2731
- run: npm install --no-package-lock
2832

29-
- name: Check linting
30-
working-directory: ./client
31-
run: npm run lint
32-
3333
- name: Run client tests
3434
working-directory: ./client
3535
run: npm test

client/src/components/SamplingRequest.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { PendingRequest } from "./SamplingTab";
99
import DynamicJsonForm from "./DynamicJsonForm";
1010
import { useToast } from "@/hooks/use-toast";
11-
import { JsonSchemaType, JsonValue } from "@/utils/jsonUtils";
11+
import { JsonValue } from "@/utils/jsonUtils";
1212

1313
export type SamplingRequestProps = {
1414
request: PendingRequest;
@@ -40,7 +40,7 @@ const SamplingRequest = ({
4040
)?.type;
4141

4242
const schema = useMemo(() => {
43-
const s: JsonSchemaType = {
43+
const s: any = {
4444
type: "object",
4545
description: "Message result",
4646
properties: {

0 commit comments

Comments
 (0)