Skip to content

Commit

Permalink
Configure storybook and eslint plugin for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
zourdyzou committed Jul 20, 2022
1 parent 4778389 commit 5d816e9
Show file tree
Hide file tree
Showing 8 changed files with 351 additions and 128 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
scripts
scripts
.storybook
22 changes: 15 additions & 7 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
framework: "@storybook/react",
core: {
builder: "@storybook/builder-webpack5",
},
};
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.tsx"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-scss"
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export const parameters = {
date: /Date$/,
},
},
};
}
Loading

0 comments on commit 5d816e9

Please sign in to comment.