diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml
new file mode 100644
index 000000000..2af569d84
--- /dev/null
+++ b/.github/workflows/autofix.yml
@@ -0,0 +1,30 @@
+name: autofix.ci
+
+on:
+ pull_request:
+ branches:
+ - main
+ paths-ignore:
+ - 'docs/**'
+ - 'scripts/**'
+
+permissions:
+ contents: read
+
+jobs:
+ autofix:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: lts/*
+ cache: pnpm
+
+ - run: pnpm install --frozen-lockfile
+ - run: pnpm run lint --write
+
+ - uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
+ with:
+ commit-message: 'style: fix code style'
diff --git a/e2e/fixtures/filenames/routes/users.vue b/e2e/fixtures/filenames/routes/users.vue
index 5fa2aa7c3..f3ec8e933 100644
--- a/e2e/fixtures/filenames/routes/users.vue
+++ b/e2e/fixtures/filenames/routes/users.vue
@@ -1,4 +1,3 @@
-
+
users
diff --git a/package.json b/package.json
index 740b58439..42620fc92 100644
--- a/package.json
+++ b/package.json
@@ -144,7 +144,7 @@
"dev": "pnpm run test --ui",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
- "lint": "prettier -c '{src,examples,playground}/**/*.{ts,vue}'",
+ "lint": "prettier -c '{src,test,e2e,examples,playground}/**/*.{ts,vue}'",
"play": "npm -C playground run dev",
"play:build": "npm -C playground run build",
"release": "node scripts/release.mjs",