Skip to content

Commit

Permalink
fix: eslint, chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Aug 20, 2024
1 parent c53e02d commit e2c2702
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ module.exports = {
'plugin:storybook/recommended'
],
rules: {
'vue/block-order': [
'error',
{
order: ['script', 'template', 'style']
}
],
'vue/component-name-in-template-casing': [
'error',
'PascalCase',
Expand All @@ -24,9 +30,10 @@ module.exports = {
{
html: {
void: 'always'
}
}
}
]
],
'vue/multi-word-component-names': 'warn'
},
parserOptions: {
ecmaVersion: 'latest'
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/welcome/ui/MarketingCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const currentHeight = computed(() => {
:class="[$style.card, $style.flexGrowCard]"
:style="{
backgroundColor: getCurrentColor(cards[4].id),
maxWidth: currentWidth(cards[4].width),
maxWidth: currentWidth(cards[4].width)
}"
>
<h3 class="heading-3">{{ cards[4].title }}</h3>
Expand Down

0 comments on commit e2c2702

Please sign in to comment.