Skip to content

Commit

Permalink
FIX linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Nov 26, 2020
1 parent d08227c commit bc55874
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/react/src/client/preview/types.ts
@@ -1,5 +1,6 @@
import { ReactElement } from 'react';

// eslint-disable-next-line import/no-extraneous-dependencies
export { RenderContext } from '@storybook/client-api';
export { StoryContext } from '@storybook/addons';

Expand Down
1 change: 1 addition & 0 deletions examples/angular-cli/.storybook/preview.ts
Expand Up @@ -3,6 +3,7 @@ import { setCompodocJson } from '@storybook/addon-docs/angular';
import addCssWarning from '../src/cssWarning';

// @ts-ignore
// eslint-disable-next-line import/no-unresolved, import/extensions
import docJson from '../documentation.json';
// remove ButtonComponent to test #12009
const filtered = !docJson?.components
Expand Down
1 change: 1 addition & 0 deletions lib/components/src/blocks/Story.tsx
@@ -1,5 +1,6 @@
import React, { createElement, ElementType, FunctionComponent, Fragment } from 'react';

// eslint-disable-next-line import/no-extraneous-dependencies
import { Parameters } from '@storybook/api';

import { IFrame } from './IFrame';
Expand Down
4 changes: 3 additions & 1 deletion scripts/run-registry.ts
Expand Up @@ -31,7 +31,9 @@ const startVerdaccio = (port: number) => {
new Promise((resolve) => {
const cache = path.join(__dirname, '..', '.verdaccio-cache');
const config = {
...yaml.safeLoad(fs.readFileSync(path.join(__dirname, 'verdaccio.yaml'), 'utf8')),
...(yaml.safeLoad(
fs.readFileSync(path.join(__dirname, 'verdaccio.yaml'), 'utf8')
) as Record<string, any>),
self_path: cache,
};

Expand Down

0 comments on commit bc55874

Please sign in to comment.