create-vue
Version:
🛠️ The recommended way to start a Vite-powered Vue project
20 lines (19 loc) • 406 B
JavaScript
export default function getData({ oldData }) {
return {
...oldData,
configs: [
...oldData.configs,
{
importer: `import pluginCypress from 'eslint-plugin-cypress'`,
content: `
{
...pluginCypress.configs.recommended,
files: [
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
'cypress/support/**/*.{js,ts,jsx,tsx}',
],
},`,
},
],
}
}