Fix: Add fix for babel-eslist

This commit is contained in:
Nelson Chan 2021-07-29 19:33:45 +08:00
parent b91e9ddb7a
commit 1006b37a67

View File

@ -17,7 +17,14 @@ module.exports = {
// override/add rules settings here, such as: // override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error' // 'vue/no-unused-vars': 'error'
"no-unused-vars": "warn", "no-unused-vars": "warn",
indent: ["error", 4], indent: [
"error",
4,
{
ignoredNodes: ["TemplateLiteral"],
SwitchCase: 1,
},
],
quotes: ["warn", "double"], quotes: ["warn", "double"],
//semi: ['off', 'never'], //semi: ['off', 'never'],
"vue/html-indent": ["warn", 4], // default: 2 "vue/html-indent": ["warn", 4], // default: 2