Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCa96 committed Sep 24, 2024
1 parent 9dc9ac2 commit f360c27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion code/addons/docs/docs/props-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Storybook Docs automatically generates props tables for components in supported

## Usage

For framework-specific setup instructions, see the framework's README: [React](../react/README.md), [Vue3 ](../vue3/README.md), [Angular](../angular/README.md), [Web Components](../web-components/README.md), [Ember](../ember/README.md).
For framework-specific setup instructions, see the framework's README: [React](../react/README.md), [Vue3](../vue3/README.md), [Angular](../angular/README.md), [Web Components](../web-components/README.md), [Ember](../ember/README.md).

### DocsPage

Expand Down
10 changes: 4 additions & 6 deletions code/renderers/vue3/src/docs/sourceDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export type SourceCodeGeneratorContext = {
};

/**
* Used to get the tracking data from the proxy.
* A symbol is unique, so when using it as a key it can't be accidentally accessed.
* Used to get the tracking data from the proxy. A symbol is unique, so when using it as a key it
* can't be accidentally accessed.
*/
const TRACKING_SYMBOL = Symbol('DEEP_ACCESS_SYMBOL');

Expand All @@ -40,9 +40,7 @@ type TrackingProxy = {
const isProxy = (obj: unknown): obj is TrackingProxy =>
!!(obj && typeof obj === 'object' && TRACKING_SYMBOL in obj);

/**
* Decorator to generate Vue source code for stories.
*/
/** Decorator to generate Vue source code for stories. */
export const sourceDecorator: Decorator = (storyFn, ctx) => {
const story = storyFn();

Expand Down Expand Up @@ -490,7 +488,7 @@ const generateSlotChildrenSourceCode = (
ownKeys: () => {
return [`v-bind`];
},
/** called when destructured */
/** Called when destructured */
getOwnPropertyDescriptor: () => ({
configurable: true,
enumerable: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { Meta, StoryObj } from '@storybook/vue3';

import Component from './template-slots/component.vue';
import { h } from 'vue';

import Component from './template-slots/component.vue';

const meta = {
component: Component,
tags: ['autodocs'],
Expand Down

0 comments on commit f360c27

Please sign in to comment.