Skip to content

Commit b0af564

Browse files
committed
feat(repo): move to antfu eslint config ; fix all errors ; cleanup
1 parent d0cd904 commit b0af564

Some content is hidden

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

60 files changed

+336
-1304
lines changed

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "\U0001F41E Bug report"
1+
name: 🐞 Bug report
22
description: Report an issue with @vueuse/motion
3-
labels: ['pending triage']
3+
labels: [pending triage]
44
body:
55
- type: textarea
66
id: bug-env

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929

3030
- [ ] I have linked an issue or discussion.
3131
- [ ] I have added tests (if possible).
32-
- [ ] I have updated the documentation accordingly.
32+
- [ ] I have updated the documentation accordingly.

.github/reproduire/needs-reproduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ You might also find these other articles interesting and/or helpful:
2424
- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
2525
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/minimal-reproducible-example)
2626

27-
</details>
27+
</details>

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
node-version: ${{ matrix.node }}
3636
registry-url: https://registry.npmjs.org/
37-
cache: "pnpm"
37+
cache: pnpm
3838

3939
- name: Install dependencies
4040
run: pnpm install

.github/workflows/reproduire-close.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
1515
with:
1616
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
17-
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale.
18-
only-labels: 'needs reproduction' # Only process these issues
17+
stale-issue-label: needs reproduction # Label that flags an issue as stale.
18+
only-labels: needs reproduction # Only process these issues
1919
days-before-issue-close: 7
2020
ignore-updates: true
2121
remove-stale-when-updated: false
2222
close-issue-message: This issue was closed because it was open for 7 days without a reproduction.
2323
close-issue-label: closed by bot
24-
operations-per-run: 300 #default 30
24+
operations-per-run: 300 # default 30

.github/workflows/reproduire.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1414
- uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp
1515
with:
16-
label: needs reproduction
16+
label: needs reproduction

.github/workflows/targets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
node-version: ${{ matrix.node }}
3636
registry-url: https://registry.npmjs.org/
37-
cache: "pnpm"
37+
cache: pnpm
3838

3939
- name: Install dependencies
4040
run: pnpm install

docs/components/content/Hero.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ useMotion(sources, {
8282
</div>
8383

8484
<div ref="sources" class="action alt">
85-
<NuxtLink to="https://github.com/vueuse/motion">Source</NuxtLink>
85+
<NuxtLink to="https://github.com/vueuse/motion">
86+
Source
87+
</NuxtLink>
8688
</div>
8789
</div>
8890
</header>

0 commit comments

Comments
 (0)