diff --git a/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc b/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc deleted file mode 100644 index 6670c5aa4..000000000 --- a/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc +++ /dev/null @@ -1,14 +0,0 @@ -<%_ if (hasESLint) { _%> -{ - "plugins": [ - "cypress" - ], - "env": { - "mocha": true, - "cypress/globals": true - }, - "rules": { - "strict": "off" - } -} -<%_ } _%> diff --git a/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc.js b/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc.js new file mode 100644 index 000000000..199a727f2 --- /dev/null +++ b/packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/_eslintrc.js @@ -0,0 +1,14 @@ +<%_ if (hasESLint) { _%> +module.exports = { + plugins: [ + 'cypress' + ], + env: { + mocha: true, + 'cypress/globals': true + }, + rules: { + strict: 'off' + } +} +<%_ } _%>