Skip to content

Commit

Permalink
fix(e2e-nightwatch): fix eslint config generation (vuejs#5148)
Browse files Browse the repository at this point in the history
Commit 1b64ff8 introduced a nested if in `_eslintrc.js` with the same condition than the wrapping one. This changes the condition to check for TypeScript instead.
  • Loading branch information
cexbrayat authored and mactanxin committed Feb 11, 2020
1 parent ccf1aa5 commit 5bb927c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,7 +1,7 @@
<%_ if (hasESLint) { _%>
module.exports = {
rules: {
<%_ if (hasESLint) { _%>
<%_ if (hasTS) { _%>
'@typescript-eslint/no-var-requires': 'off',
<%_ } _%>
'no-unused-expressions': 'off'
Expand Down

0 comments on commit 5bb927c

Please sign in to comment.