Skip to content

Commit

Permalink
🔧 (eslint) update eslint config (w/ comments)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed May 12, 2021
1 parent 227305b commit 2fba70b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ module.exports = {
'space-before-function-paren': [0],
'arrow-parens': [0],
curly: [0],
'keyword-spacing': [0]
'keyword-spacing': [0],
// TODO: Remove all configs below
//
// This is done in order to avoid src/admin/app
// Errors on multiple roots, as this is a Vue 3 project
// And Vue 3 allows multiple roots.
//
// Note:
// If you still have the error displayed, it means Vetur is trying
// To lint your file with Vue 2 configuration, to avoid that
// Add:
// 'vetur.validation.template': false,
// 'vetur.validation.script': false,
// 'vetur.validation.style': false,
// To your `settings.json`, from VSCode.
//
'vue/no-multiple-template-root': 0
}
}

0 comments on commit 2fba70b

Please sign in to comment.