Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
hansi90 committed Oct 12, 2017
1 parent b0baf00 commit c4e4a52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = {
"rules": {
"indent": [
"warn",
"tab"
"tab",
{ SwitchCase: 1 }
],
"quotes": [
"warn",
Expand Down
12 changes: 6 additions & 6 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
Expand Down

0 comments on commit c4e4a52

Please sign in to comment.