Skip to content

Commit

Permalink
Merge pull request #401
Browse files Browse the repository at this point in the history
* feat(lint): forbid empty component blocks
  • Loading branch information
Thomasan1999 authored Sep 14, 2024
1 parent 2ca4923 commit 5fe1c6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default tsEslint.config(
}
],
'@typescript-eslint/no-unused-vars': ['error'],
'vue/block-order': ['error', { order: ['script', 'template', 'style'] }]
'vue/block-order': ['error', { order: ['script', 'template', 'style'] }],
'vue/no-empty-component-block': 'error'
}
},
{
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/ExternalLink.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<script lang="ts" setup></script>

<template>
<a
class="external-link"
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/main/CloseIcon.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<script lang="ts" setup></script>

<template>
<svg
class="close-icon"
Expand Down

0 comments on commit 5fe1c6c

Please sign in to comment.