diff --git a/packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js b/packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js index 5dbbfae554..4f7e990821 100644 --- a/packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js +++ b/packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js @@ -1,7 +1,7 @@ <%_ if (hasESLint) { _%> module.exports = { rules: { - <%_ if (hasESLint) { _%> + <%_ if (hasTS) { _%> '@typescript-eslint/no-var-requires': 'off', <%_ } _%> 'no-unused-expressions': 'off'