diff --git a/.eslintrc.js b/.eslintrc.js index 49da56a2..df57cea6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,7 +21,8 @@ module.exports = { "rules": { "indent": [ "warn", - "tab" + "tab", + { SwitchCase: 1 } ], "quotes": [ "warn", diff --git a/src/formGenerator.vue b/src/formGenerator.vue index 47ae7b0b..c6894b1d 100644 --- a/src/formGenerator.vue +++ b/src/formGenerator.vue @@ -211,12 +211,12 @@ div.vue-form-generator(v-if='schema != null') } switch (relevantType) { - case "button": - case "submit": - case "reset": - return false; - default: - return true; + case "button": + case "submit": + case "reset": + return false; + default: + return true; } },