Skip to content

Commit c937917

Browse files
committed
dependency-upgrades
1 parent d247ec7 commit c937917

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+103009
-82282
lines changed

.babelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"presets": ["es2015", "stage-0"],
3-
"plugins": ["transform-object-rest-spread"]
2+
"presets": ["@babel/preset-env"]
43
}

.eslintrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
module.exports = {
2-
extends: 'airbnb-base',
2+
extends: ["eslint-config-prettier", "plugin:storybook/recommended"],
33
env: {
44
browser: true,
55
},
6+
rules: {
7+
allowAfterThis: true,
8+
},
69
};

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore artifacts:
2+
lib
3+
docs
4+
dist

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.storybook/additional.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

.storybook/config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

.storybook/main.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
3+
addons: [
4+
"@storybook/addon-links",
5+
"@storybook/addon-essentials",
6+
{
7+
name: "@storybook/addon-postcss",
8+
options: {
9+
postcssLoaderOptions: {
10+
implementation: require("postcss"),
11+
},
12+
},
13+
},
14+
],
15+
framework: "@storybook/web-components",
16+
core: {
17+
builder: "@storybook/builder-webpack5",
18+
},
19+
};

.storybook/preview-header.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

.storybook/preview.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export const parameters = {
2+
actions: { argTypesRegex: "^on[A-Z].*" },
3+
controls: {
4+
matchers: {
5+
color: /(background|color)$/i,
6+
date: /Date$/,
7+
},
8+
},
9+
};

.storybook/webpack.config.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)