mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-23 15:49:08 -06:00
fix(e2e-nightwatch): fix eslint config generation (#5148)
Commit 1b64ff8464 introduced a nested if in `_eslintrc.js` with the same condition than the wrapping one. This changes the condition to check for TypeScript instead.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<%_ if (hasESLint) { _%>
|
||||
module.exports = {
|
||||
rules: {
|
||||
<%_ if (hasESLint) { _%>
|
||||
<%_ if (hasTS) { _%>
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
<%_ } _%>
|
||||
'no-unused-expressions': 'off'
|
||||
|
||||
Reference in New Issue
Block a user