Skip to content

Commit a6f7653

Browse files
authored
Merge pull request #4552 from traPtitech/dependabot/npm_and_yarn/eslint-plugin-vue-10.1.0
build(deps-dev): bump eslint-plugin-vue from 9.32.0 to 10.1.0
2 parents 47a9d1a + e26f57a commit a6f7653

File tree

68 files changed

+189
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+189
-182
lines changed

eslint.config.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import js from '@eslint/js'
66
import { FlatCompat } from '@eslint/eslintrc'
77
import stylisticTs from '@stylistic/eslint-plugin-ts'
88
import cypress from 'eslint-plugin-cypress'
9+
import vueLint from 'eslint-plugin-vue'
10+
import prettier from 'eslint-config-prettier'
911

1012
const __filename = fileURLToPath(import.meta.url)
1113
const __dirname = path.dirname(__filename)
@@ -22,10 +24,10 @@ export default [
2224
...compat.extends(
2325
'eslint:recommended',
2426
'./eslint-vue-ts-recommended.cjs',
25-
'plugin:@typescript-eslint/recommended',
26-
'plugin:vue/vue3-recommended',
27-
'prettier'
27+
'plugin:@typescript-eslint/recommended'
2828
),
29+
...vueLint.configs['flat/recommended'],
30+
prettier,
2931
{
3032
plugins: {
3133
'unused-imports': unusedImports,
@@ -104,7 +106,6 @@ export default [
104106
}
105107
],
106108

107-
'vue/v-on-function-call': 'error',
108109
'vue/no-template-target-blank': 'error',
109110
'vue/prefer-true-attribute-shorthand': 'error',
110111
'@typescript-eslint/no-non-null-assertion': 'warn',
@@ -127,6 +128,12 @@ export default [
127128
'@typescript-eslint/no-var-requires': 'off'
128129
}
129130
},
131+
{
132+
files: ['**/public/**/*.js', '**/build/**/*.js'],
133+
rules: {
134+
'no-undef': 'off'
135+
}
136+
},
130137
{
131138
plugins: { cypress },
132139
files: ['**/tests/e2e/**/*.{js,cjs,jsx,ts,tsx}'],

package-lock.json

Lines changed: 21 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"eslint-config-prettier": "^10.1.3",
8787
"eslint-plugin-cypress": "^5.0.1",
8888
"eslint-plugin-unused-imports": "^4.1.4",
89-
"eslint-plugin-vue": "^9.32.0",
89+
"eslint-plugin-vue": "^10.2.0",
9090
"fonteditor-core": "^2.4.1",
9191
"jsdom": "^26.1.0",
9292
"patch-package": "^8.0.0",

src/components/Authenticate/AuthenticateModal.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<template>
2-
<div :class="$style.container"><slot></slot></div>
2+
<div :class="$style.container">
3+
<slot />
4+
</div>
35
</template>
46

57
<style lang="scss" module>

src/components/Authenticate/AuthenticateSeparator.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
22
<div :class="$style.container">
3-
<span :class="$style.hr"></span>
3+
<span :class="$style.hr" />
44
<span v-if="label !== ''" :class="$style.label">
55
{{ label }}
66
</span>
7-
<span :class="$style.hr"></span>
7+
<span :class="$style.hr" />
88
</div>
99
</template>
1010

src/components/Authenticate/ConsentForm/ClientDescription.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<div :class="$style.container">
3-
<div :class="$style.name">{{ client.name }}</div>
3+
<div :class="$style.name">
4+
{{ client.name }}
5+
</div>
46
<div :class="$style.desc">
57
<div :class="$style.descTitle">開発者</div>
68
<div :class="$style.descContent">

src/components/Authenticate/LoginFormSaved.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<template>
22
<div :class="$style.user">
33
<img :src="saved.iconURL ?? undefined" :class="$style.userIcon" />
4-
<p :class="$style.name">{{ saved.id }}</p>
4+
<p :class="$style.name">
5+
{{ saved.id }}
6+
</p>
57
</div>
68
<div :class="$style.buttons">
79
<authenticate-button

src/components/GroupManager/GroupListGroupView.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<div :class="$style.container">
3-
<div :class="$style.name">{{ group.name }}</div>
3+
<div :class="$style.name">
4+
{{ group.name }}
5+
</div>
46
<div :class="$style.adminList">
57
<a-icon name="crown" mdi />
68
<user-icon-ellipsis-list

src/components/GroupManager/GroupMemberList.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
@edit="onEdit(member.id)"
2525
@delete="onDelete(member.id)"
2626
>
27-
<div :class="$style.role">{{ member.role }}</div>
27+
<div :class="$style.role">
28+
{{ member.role }}
29+
</div>
2830
</group-user>
2931
</div>
3032
</div>

src/components/GroupManager/GroupUser.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<div v-if="user" :class="$style.container">
33
<user-icon :class="$style.userIcon" :user-id="id" prevent-modal />
44
<div :class="$style.content">
5-
<div :class="$style.displayName">{{ user.displayName }}</div>
5+
<div :class="$style.displayName">
6+
{{ user.displayName }}
7+
</div>
68
<slot />
79
</div>
810
<div :class="$style.controls">

0 commit comments

Comments
 (0)