style: lint

This commit is contained in:
Neko Ayaka
2026-01-04 01:47:22 +08:00
parent 52d42ce349
commit ddb13ccbd4
3 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -50,12 +50,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Install SwiftLint - name: Install SwiftLint
uses: ./.github/actions/setup-swiftlint uses: ./.github/actions/setup-swiftlint
with: with:
version: '0.58.2' version: '0.58.2'
- name: Run SwiftLint - name: Run SwiftLint
run: swiftlint run: swiftlint
``` ```
+1 -1
View File
@@ -1,6 +1,6 @@
<script setup lang="ts"> <script setup lang="ts">
import { useData } from 'vitepress' import { useData } from 'vitepress'
import { computed, onMounted, onUnmounted, ref, watch, nextTick } from 'vue' import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
const props = withDefaults(defineProps<{ const props = withDefaults(defineProps<{
src?: string src?: string
+17 -17
View File
@@ -1,3 +1,7 @@
catalogMode: prefer
shellEmulator: true
packages: packages:
- packages/** - packages/**
- plugins/** - plugins/**
@@ -7,6 +11,19 @@ packages:
- apps/** - apps/**
- '!**/dist/**' - '!**/dist/**'
overrides:
array-flatten: npm:@nolyfill/array-flatten@^1.0.44
axios: npm:feaxios@^0.0.23
is-core-module: npm:@nolyfill/is-core-module@^1.0.39
isarray: npm:@nolyfill/isarray@^1.0.44
safe-buffer: npm:@nolyfill/safe-buffer@^1.0.44
safer-buffer: npm:@nolyfill/safer-buffer@^1.0.44
side-channel: npm:@nolyfill/side-channel@^1.0.44
string.prototype.matchall: npm:@nolyfill/string.prototype.matchall@^1.0.44
patchedDependencies:
srvx@0.9.8: patches/srvx@0.9.8.patch
catalog: catalog:
'@capacitor/cli': ^8.0.0 '@capacitor/cli': ^8.0.0
'@capacitor/core': ^8.0.0 '@capacitor/core': ^8.0.0
@@ -46,8 +63,6 @@ catalog:
xsschema: ^0.4.0-beta.12 xsschema: ^0.4.0-beta.12
zod: ^4.2.1 zod: ^4.2.1
catalogMode: prefer
catalogs: catalogs:
rolldown-vite: rolldown-vite:
vite: npm:rolldown-vite@^7.3.0 vite: npm:rolldown-vite@^7.3.0
@@ -78,18 +93,3 @@ onlyBuiltDependencies:
- spawn-sync - spawn-sync
- utf-8-validate - utf-8-validate
- vue-demi - vue-demi
overrides:
array-flatten: npm:@nolyfill/array-flatten@^1.0.44
axios: npm:feaxios@^0.0.23
is-core-module: npm:@nolyfill/is-core-module@^1.0.39
isarray: npm:@nolyfill/isarray@^1.0.44
safe-buffer: npm:@nolyfill/safe-buffer@^1.0.44
safer-buffer: npm:@nolyfill/safer-buffer@^1.0.44
side-channel: npm:@nolyfill/side-channel@^1.0.44
string.prototype.matchall: npm:@nolyfill/string.prototype.matchall@^1.0.44
patchedDependencies:
srvx@0.9.8: patches/srvx@0.9.8.patch
shellEmulator: true