Skip to content

Commit ca88def

Browse files
committed
chore: update lint-staged config
1 parent cb4ba1b commit ca88def

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

.config/lint-staged.mjs

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
export default {
2-
'*.{js,mjs,ts}': ['pnpm run lint:lint-staged', 'pnpm run format:lint-staged'],
3-
'*.{css,json,md,yaml,yml}': ['pnpm run format:lint-staged'],
2+
'*.{js,mjs,ts,vue}': [
3+
'pnpm run lint:lint-staged',
4+
'pnpm run format:lint-staged',
5+
],
6+
'*.{css,html,json,md,yaml,yml}': ['pnpm run format:lint-staged'],
47
}

docs/.vitepress/components/AuthorProfile.vue

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
<script setup lang="ts">
22
import { VPTeamMembers } from 'vitepress/theme'
33
4-
const props = withDefaults(defineProps<{
5-
locale?: 'en' | 'ja'
6-
}>(), {
7-
locale: 'en'
8-
})
4+
const props = withDefaults(
5+
defineProps<{
6+
locale?: 'en' | 'ja'
7+
}>(),
8+
{
9+
locale: 'en',
10+
},
11+
)
912
1013
const author = {
1114
avatar: 'https://avatars.githubusercontent.com/u/16436160',
1215
name: 'Nozomu Ikuta',
13-
desc: props.locale === 'en'
14-
? 'Member of UnJS / Vue.js JP Core Staff / Vite Contributor'
15-
: 'UnJSメンバー/ Vue.js JP コアスタッフ / Vite コントリビューター',
16+
desc:
17+
props.locale === 'en'
18+
? 'Member of UnJS / Vue.js JP Core Staff / Vite Contributor'
19+
: 'UnJSメンバー/ Vue.js JP コアスタッフ / Vite コントリビューター',
1620
sponsor: 'https://github.com/sponsors/NozomuIkuta',
17-
actionText: props.locale === 'en'
18-
? 'Sponsor'
19-
: 'スポンサー',
21+
actionText: props.locale === 'en' ? 'Sponsor' : 'スポンサー',
2022
links: [
2123
{ icon: 'github', link: 'https://github.com/NozomuIkuta' },
22-
{ icon: 'twitter', link: 'https://twitter.com/NozomuIkuta' }
24+
{ icon: 'twitter', link: 'https://twitter.com/NozomuIkuta' },
2325
],
2426
}
2527
</script>

playground/index.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Playground</title>
7-
</head>
8-
<body>
9-
<h1>Hello, chibivite!</h1>
10-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Playground</title>
7+
</head>
8+
<body>
9+
<h1>Hello, chibivite!</h1>
10+
</body>
1111
</html>

0 commit comments

Comments
 (0)