Skip to content

Commit c4e4a52

Browse files
committed
Fix lint.
1 parent b0baf00 commit c4e4a52

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module.exports = {
2121
"rules": {
2222
"indent": [
2323
"warn",
24-
"tab"
24+
"tab",
25+
{ SwitchCase: 1 }
2526
],
2627
"quotes": [
2728
"warn",

src/formGenerator.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ div.vue-form-generator(v-if='schema != null')
211211
}
212212
213213
switch (relevantType) {
214-
case "button":
215-
case "submit":
216-
case "reset":
217-
return false;
218-
default:
219-
return true;
214+
case "button":
215+
case "submit":
216+
case "reset":
217+
return false;
218+
default:
219+
return true;
220220
}
221221
},
222222

0 commit comments

Comments
 (0)