From 10d70c2170ce3082df3d86044fc8b7eb0f356aad Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 6 Apr 2023 17:11:53 +0200 Subject: [PATCH] Fix some linting issues --- client/cypress/fixtures/example.json | 4 ++-- client/cypress/support/commands.ts | 2 +- client/cypress/support/component-index.html | 9 +++++---- client/src/components/ui/ItRadioGroup.stories.ts | 6 ++++-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/client/cypress/fixtures/example.json b/client/cypress/fixtures/example.json index 02e42543..1b1f1b2a 100644 --- a/client/cypress/fixtures/example.json +++ b/client/cypress/fixtures/example.json @@ -1,5 +1,5 @@ { - "name": "Using fixtures to represent data", + "body": "Fixtures are a great way to mock data for responses to routes", "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" + "name": "Using fixtures to represent data" } diff --git a/client/cypress/support/commands.ts b/client/cypress/support/commands.ts index 698b01a4..95857aea 100644 --- a/client/cypress/support/commands.ts +++ b/client/cypress/support/commands.ts @@ -34,4 +34,4 @@ // visit(originalFn: CommandOriginalFn, url: string, options: Partial): Chainable // } // } -// } \ No newline at end of file +// } diff --git a/client/cypress/support/component-index.html b/client/cypress/support/component-index.html index ac6e79fd..67996c3d 100644 --- a/client/cypress/support/component-index.html +++ b/client/cypress/support/component-index.html @@ -1,12 +1,13 @@ - - - + + + Components App +
- \ No newline at end of file + diff --git a/client/src/components/ui/ItRadioGroup.stories.ts b/client/src/components/ui/ItRadioGroup.stories.ts index d9b71701..fa0e8e57 100644 --- a/client/src/components/ui/ItRadioGroup.stories.ts +++ b/client/src/components/ui/ItRadioGroup.stories.ts @@ -1,6 +1,6 @@ +import type { RadioItem } from "@/pages/learningPath/learningContentPage/feedback/feedback.types"; import type { Meta, StoryObj } from "@storybook/vue3"; import ItRadioGroup from "./ItRadioGroup.vue"; -import type { RadioItem } from "@/pages/learningPath/learningContentPage/feedback/feedback.types"; const meta: Meta = { title: "VBV/RadioGroup", @@ -28,6 +28,8 @@ export const RadioGroup: Story = { modelValue: modelValue, items: items, label: "Radiogroup", - "onUpdate:modelValue": (newValue) => { modelValue = newValue } + "onUpdate:modelValue": (newValue) => { + modelValue = newValue; + }, }, };