Skip to content

Commit

Permalink
chore: enable vue/dot-notation
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Aug 8, 2024
1 parent d472699 commit ebf2804
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ const vueCustomRules = {
},
],
"vue/custom-event-name-casing": ["error", "camelCase"],
"vue/dot-notation": "warn",
"vue/eqeqeq": ["error", "smart"],
"vue/html-self-closing": [
"error",
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/EquipList/equip-conponents/Equip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const locale = getLanguage();
<div
class="modtype"
:style="{
background: colorMap[e.color as string] ?? colorMap['grey'],
background: colorMap[e.color as string] ?? colorMap.grey,
}"
>
<div class="flex-none">
Expand Down Expand Up @@ -223,7 +223,7 @@ const locale = getLanguage();
<span class="font=bold">
<span class="mdi mdi-asterisk"></span>
&nbsp;
<span v-html="e[`talent${2}`]"></span>
<span v-html="e.talent2"></span>
</span>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions src/widgets/EquipList/equip-conponents/SubContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ const locale = getLanguage();
<SubAvatar
v-for="(char, ind) in chars"
:key="ind"
:show="
char.equips.some((e) => !!e['name'] && showEquips.includes(e['name']))
"
:show="char.equips.some((e) => !!e.name && showEquips.includes(e.name))"
:char="char"
/>
</div>
Expand Down

0 comments on commit ebf2804

Please sign in to comment.