Skip to content

Commit a1cfb69

Browse files
authored
Merge pull request #163 from BaptWaels/remove-storybook-warnings
Remove Storybook warnings
2 parents 01e6017 + 037f2a0 commit a1cfb69

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

.storybook/config.js

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
import { configure } from '@storybook/react';
2-
import { setOptions } from '@storybook/addon-options';
1+
import { configure } from "@storybook/react";
2+
import { setOptions } from "@storybook/addon-options";
33
import "./app.scss";
44

5-
6-
const req = require.context('../stories', true, /\.stories\.js$/);
5+
const req = require.context("../stories", true, /\.stories\.js$/);
76

87
setOptions({
9-
name: 'React Multi Select',
10-
url: 'https://github.com/kenshoo/react-multi-select',
11-
goFullScreen: false,
12-
showLeftPanel: true,
13-
showDownPanel: true,
14-
showSearchBox: false,
15-
downPanelInRight: false,
16-
sortStoriesByKind: false,
8+
name: "React Multi Select",
9+
url: "https://github.com/kenshoo/react-multi-select",
10+
goFullScreen: false,
11+
showStoriesPanel: true,
12+
showAddonPanel: true,
13+
showSearchBox: false,
14+
addonPanelInRight: false,
15+
sortStoriesByKind: false
1716
});
1817

1918
function loadStories() {
20-
req.keys().forEach(req)
19+
req.keys().forEach(req);
2120
}
2221

2322
configure(loadStories, module);

0 commit comments

Comments
 (0)