Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV-10470] vue3-compatible version #37

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
13 changes: 2 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
env: {
node: true
},
extends: ['eslint:recommended', 'plugin:vue/recommended', '@vue/prettier'],
extends: ['eslint:recommended', 'plugin:vue/recommended', 'plugin:prettier-vue/recommended'],

rules: {
'no-prototype-builtins': 0,
Expand All @@ -17,14 +17,5 @@ module.exports = {
sourceType: 'module'
},

globals: {},

overrides: [
{
files: '**/*.test.[jt]s',
env: {
jest: true
}
}
]
globals: {}
};
18 changes: 16 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
module.exports = {
stories: ['../src/**/*.stories.js']
/** @type { import('@storybook/vue3-webpack5').StorybookConfig } */
const config = {
stories: ['../src/**/*.stories.js'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions'
],
framework: {
name: '@storybook/vue3-webpack5',
options: {}
},
docs: {
autodocs: 'tag'
}
};
export default config;
14 changes: 14 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type { import('@storybook/vue3').Preview } */
const preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/
}
}
}
};

export default preview;
43 changes: 0 additions & 43 deletions babel.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions jest.config.js

This file was deleted.

Loading