diff --git a/.gitea/workflows/frontend-ci.yml b/.gitea/workflows/frontend-ci.yml index 6d47662..852ffae 100644 --- a/.gitea/workflows/frontend-ci.yml +++ b/.gitea/workflows/frontend-ci.yml @@ -31,9 +31,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22.x' - cache: pnpm - cache-dependency-path: frontend/pnpm-lock.yaml + node-version: '24.x' - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/frontend/eslint.config.ts b/frontend/eslint.config.ts index 4b4d3f3..b6deff1 100644 --- a/frontend/eslint.config.ts +++ b/frontend/eslint.config.ts @@ -5,6 +5,8 @@ import pluginOxlint from 'eslint-plugin-oxlint' import skipFormatting from 'eslint-config-prettier/flat' import vueScopedCss from 'eslint-plugin-vue-scoped-css' +type VueTsConfig = Parameters[number] + // To allow more languages other than `ts` in `.vue` files, uncomment the following lines: // import { configureVueProject } from '@vue/eslint-config-typescript' // configureVueProject({ scriptLangs: ['ts', 'tsx'] }) @@ -20,7 +22,7 @@ export default defineConfigWithVueTs( ...pluginVue.configs['flat/essential'], vueTsConfigs.recommended, - ...vueScopedCss.configs.recommended, + ...(vueScopedCss.configs.recommended as VueTsConfig[]), ...pluginOxlint.buildFromOxlintConfigFile('.oxlintrc.json'), diff --git a/frontend/src/components/ui/DataTable.vue b/frontend/src/components/ui/DataTable.vue index a241d63..0bb1a2a 100644 --- a/frontend/src/components/ui/DataTable.vue +++ b/frontend/src/components/ui/DataTable.vue @@ -1,8 +1,17 @@