Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
inkfarer committed Nov 22, 2023
1 parent 9936dec commit 332783c
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
"eol-last": 2,
"quote-props": [2, "as-needed", {"numbers": true}],
"vue/html-indent": ["error", 4],
"vue/singleline-html-element-content-newline": "off"
"vue/singleline-html-element-content-newline": "off",
"vue/multi-word-component-names": "off"
},
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/components/Badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed } from 'vue';
import { getContrastingTextColor } from '@iplsplatoon/vue-components';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/components/FittedContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed, onMounted, onUnmounted, PropType, ref } from 'vue';
export default defineComponent({
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/components/ImageLoader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed, PropType, ref, watch } from 'vue';
import { loadAndCheckIfImageExists } from '../helpers/imageHelper';
import OpacitySwapTransition from './OpacitySwapTransition.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/components/OpacitySwapTransition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import gsap from 'gsap';
export default defineComponent({
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/gameplay/Gameplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import Scoreboard from './components/Scoreboard.vue';
import Casters from './components/Casters.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/gameplay/components/Casters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import FittedContent from '../../../components/FittedContent.vue';
import Badge from '../../../components/Badge.vue';
import { ref } from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/gameplay/components/Scoreboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/intermission/Intermission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import IntermissionMain from './components/IntermissionMain.vue';
import IntermissionNextUp from './components/IntermissionNextUp.vue';
import { computed } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import FittedContent from '../../../components/FittedContent.vue';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faMusic } from '@fortawesome/free-solid-svg-icons/faMusic';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/lowerThird/LowerThird.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { useSlides } from '../../helpers/useSlides';
import { DASHBOARD_BUNDLE_NAME } from '../../../shared/constants';
import { computed } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<script lang="ts">
import { library } from '@fortawesome/fontawesome-svg-core';
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import { computed } from 'vue';
import { getSongNameAsString } from '../../../helpers/musicHelper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed } from 'vue';
import OpacitySwapTransition from '../../../components/OpacitySwapTransition.vue';
import FittedContent from '../../../components/FittedContent.vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import FittedContent from '../../../components/FittedContent.vue';
import { computed } from 'vue';
import { addDots } from '../../../../shared/helpers/stringHelper';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/rosterDisplay/RosterDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import TeamRoster from './components/TeamRoster.vue';
import gsap from 'gsap';
import { bindEntranceToTimeline } from '../../helpers/obsSourceHelper';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/rosterDisplay/components/TeamRoster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed, PropType } from 'vue';
import FittedContent from '../../../components/FittedContent.vue';
import { useActiveRoundStore } from '../../../../shared/store/activeRoundStore';
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/pages/stageDisplay/StageDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</template>

<script lang="ts">
import { defineComponent } from '@vue/runtime-core';
import { defineComponent } from 'vue';
import { computed, onMounted } from 'vue';
import OpacitySwapTransition from '../../components/OpacitySwapTransition.vue';
import gsap from 'gsap';
Expand Down

0 comments on commit 332783c

Please sign in to comment.