create-vue
Version:
🛠️ The recommended way to start a Vite-powered Vue project
17 lines (16 loc) • 358 B
JavaScript
export default function getData({ oldData }) {
return {
...oldData,
configs: [
...oldData.configs,
{
importer: "import pluginPlaywright from 'eslint-plugin-playwright'",
content: `
{
...pluginPlaywright.configs['flat/recommended'],
files: ['e2e/**/*.{test,spec}.{js,ts,jsx,tsx}'],
},`,
},
],
}
}