Fix web code linting to be portable across environments

This commit is contained in:
Keavon Chambers
2021-04-14 11:44:09 -07:00
parent fcc4c1874b
commit c94c2b3373
23 changed files with 361 additions and 189 deletions

View File

@@ -42,8 +42,7 @@
import { defineComponent } from "vue";
export default defineComponent({
components: {
},
components: {},
props: {
horizontal: { type: Boolean, default: false },
},

View File

@@ -78,7 +78,6 @@
}
}
}
}
</style>
@@ -86,9 +85,7 @@
import { defineComponent } from "vue";
export default defineComponent({
components: {
},
props: {
},
components: {},
props: {},
});
</script>

View File

@@ -44,8 +44,7 @@
import { defineComponent } from "vue";
export default defineComponent({
components: {
},
components: {},
props: {
initialIndex: { type: Number, required: true },
setIndex: { type: Function, required: false },
@@ -66,7 +65,9 @@ export default defineComponent({
});
},
watch: {
activeIndex() { this.updateActiveIconButton(); },
activeIndex() {
this.updateActiveIconButton();
},
},
methods: {
// This method may be called by the user of this component by setting a `ref="radioPicker"` attribute and calling `(this.$refs.viewModePicker as typeof RadioPicker).setActive(...)`